Automation Flashcards
What is CloudFormation? What Section is required?
Way to define your infrastructure as code, and AWS will create the resources based on what is defined
Resource Section is required
What are CFT Mappings? Common scenarios?
Let you define a variable and map it to a value you define in the CFT. Common scenario is that your CFT works in one region but not another
What are CFT Mappings? Common scenarios?
Let you define a variable and map it to a value you define in the CFT (optionally based on some conditional). Common scenario is that your CFT works in one region but not another
What happens when a CFT fails?
Rolls back to last good state
What can cause a CFT to fail cross region?
- Hard coded values
2. Resource Ids
Why use CFT? 3 things.
Provides a way to run it anywhere, audit what is deployed and immutable architecture to create/destroy consistently
What is Elastic Beanstalk?
AWS PaaS which manages everything for you, all you have to do is provide the application, ONE STOP SOLUTION (speed, easy to use, little work)
What does Elastic Beanstalk build out?
Automates autoscaling, keeping your application healthy, load balancing, deployment, cloudwatch monitoring
What are 3 types of platforms Elastic Beanstalk supports?
Windows, Linux and containerized applications
What is underlying Elastic Beanstalk?
EC2 underlies it - not serverless
What is System Manager?
Collection of tools to automate managing AWS architecture (e.g. EC2) or On-Prem resources
What are System Manager Automation Documents?
Lets you control inside OS of EC2 or AWS environment or On-Prem resources (e.g. fix S3 permissions)
What does System Manager need to be installed for OS modifications or EC2?
Needs an agent installed on EC2 or on-prem resource
What are 4 features of System Manager?
- Parameter Store
- Session Manager
- Automation Documents
- Patch Manager
What is System Manager used for on EC2 usually?
Used to configure, patch, update EC2 instances or run the same command on all instances