Automation Flashcards
Automation Exam Tips
- Lazy is good. Favor solutions that automate the entire solution, not just part of it
- On the exam, automation is better than manual
Cloud Formation
- immutable
- consistent
- disposable
Cloud Formation rollback
Cloud Formation can rol back to the last known good state and will delete everything it created
Steps for Cloud Formation
1) write code (json or yaml)
2) deploy template
Cloud Formation stack
what Cloud Formation creates from your template
Cloud Formation parameters
variables that the person who write the template gets to ask for when Cloud Formation initializes the stack.
Cloud Formation template - mappings
allow you to specify for values required for spinning up services
- can put logic in them to be region specific
Cloud Formation templates - resources
- hard-coded resource IDs will cause the template to fail if you try to deploy cross-region (especially hard-coded AMIs)
- to solve: put region-specifc AMIs in the mapping section
Elastic Beanstalk
- not heavily featured on exam
- Platform as a System -> single stop application deployment model
- provisions, deploys and manages all of the architecture
- builds out your EC2
Systems Manager
a suite of tools designed to let you view, control, automate your AWS architecture
Systems Manager - automation documents
- allow you to control your EC2 instances or AWS resources (aka run books)
- usable by AWS config
Systems Manager - Run Command
uses the system manager agent on your EC2 instance to run scripts and calls inside your operating system
Systems Manager - Patch Manager
schedule a time and which patch you want to install
Systems Manager - Parameter store
securely store your secret values
Systems Manager Hybrid Applications
control your on-prem architecture using systems manager - you have to install the agent on your own hardware