Elastic Beanstalk Flashcards
What is Elastic Beanstalk used for?
Deploy code, infrastructure automated build
If you want to deploy code to all instances at once what deployment policy should you use?
All at once
If you want to deploy code to one batche of instances then move on to the next batch, what deployment policy should you use?
Rolling
What is the purpose of rolling with additional batch policy?
Updates the batch but also launches new instances
What is the “Immutable” deployment policy?
Deploys into a new ASG then switches traffic to these instances
What is “Blue/Green” deployment?
Deploy to a staging area then switch the URL
What is a downside to “All at once” deployment?
All instances are down at the same time
What benefit is there to “All at once” deployment?
Fastest deployment type
What is a downside to “Rolling” deployment?
Mixed versions of code
If batches are two big in “Rolling” deployment can it cause performance issues?
Yes
What benefit is there to with “Rolling with batch” deployment?
You always maintain capacity
What is a downside to “Rolling with batch” deployment?
Mixed versions of code
What benefits are there to “Immutable” deployment?
Zero downtime, quick rollback
What downsides are there to “Immutable” deployment?
Higher costs, longest deployment
What benefits are there to “blue/green” deployment?
Zero downtime, quick rollback