Application Deployment Flashcards
What are the purpose of Cost Allocation reports?
They aggregate costs based on tags
What AWS Elastic Beanstalk deployment option allows you to deploy a new version of an application in batches of EC2 instances?
Rolling
What language is used to create recipes for AWS OpsWorks?
Ruby
What disaster recovery option has a one-to-one copy of infrastructure and active-active configuration?
The Multi-Site Solution Method is a practice of having a one-to-one active-active copy of infrastructure and configuration.
What component of the AWS OpsWorks anatomy represents a set of resources we want to manage as a group?
Stacks
Describe OpsWorks
A stack creation tool based on chef.
It uses recipes to create a resources such as Route53, Autoscaling EC2 instances with Apache and PHP
What is the hierachy in Elastic Beanstalk?
Application
Environment (Dev, Prod…)
Tier (Ec2, RDS e.g.) - Config - Config Template
Version (under which the application is deployed)
What is a rolling deployment with Elastic Beanstalk?
The instances are kept, but the code will be replaced
Systems Manager: What can be done with “Run Command”?
Run predefined or custom tasks like install an Application, install a Windows update or execute a shell script
Systems Manager: What can be done with “Automation”?
Automate AWS tasks like start and instance or create a database backup
Systems Manager: What can be done with “Maintenance Window”?
Schedule a repeating slot for repeating tasks
Which services do or don’t have a maintenance window?
Do: RDS Redshift DynamoDB DAX DocumentDB
Don’t:
EC2
Lambda
Are AMIs region bound?
Yes, if used in another region, it needs to be copied
Can you directly copy an AMI that has the billingProducts code attached?
no, you have to launch an EC2 instance with that AMI and then create another AMI from that instance.
You want to have multiple versions of your application running at the same time, with all versions launched via AWS Elastic Beanstalk. Is this possible?
Yes. AWS Elastic Beanstalk is designed to support a number of multiple running environments
Beanst.: What is the Application Version?
Reference to the location of the code
Beanst.: What is the Environment?
All the resources included to run the application
Beanst.: What is the Platform?
All infrastructure (OS, server type, language and Beanstalk components
Beanst.: What is the Application?
All that is present on the deployment:
On or more versions, the Environment etc.
Beanst: What are the two Environment Tiers?
Web-Server (for HTTP requests) Worker Environment (from SQS)
Beanst.: What are the deployment options?
All at once (-> Everyting is deployed at the same time)
Rolling (-> 25% of instancves e.g. at first)
Immunitable (-> New Resources are created)
Which section of a CloudFormation template will you use to define the Lambda version?
Transform
What is the pricing for CloudFormation, OpsWorks and ElasticBeanstalk?
You basiacally pay only for the created resources.
For instances on OpsWorks using Chef or Puppet there’s a charge for the main server and the nodes running
SM: What are the five actions that can be taken by the Systems Manager?
Automation: Run tasks (like backups) on a fleet of instances:
Run Command: run single actions, like a script or installing a software
Patch Manager: Appling OS patches
Maintenance Windows: Schedule recurring tasks
State Manager: Validates that a certain state of an instance is still set
What are the three parts of an AMI?
Template - which OS, Applications et. are used
Launch permissions - which accounts can use the instance
Block Device Mapping - specifies which EBS volumes to attach at launch
What is ElasticBeanstalk?
You upload the code and AWS handels the provisioning of the infrastructure, such as deployment of instances, auto scaling, OS and Language patching etc.
You still have full access to the resources
What is the AWS Service Catalog?
- Creates Products in Services for groups of people
- Restrict access to services in AWS
- Make creation of task (Create Bucket) easier for the users
What is “block device mapping”?
Define what volume(s) and what snapshots are used
What is bootstrapping?
Including instructions for deploying the application on the first boot