Section 8: AWS Elastic Beanstalk Flashcards
What does AWS Elastic Beanstalk allow you to do?
Deploy application in AWS safely, predictably, without having to worry about managing infrastructures directly.
What does AWS EB uses under the hood?
CloudFormation
What components does AWS EB leverages?
EC2, ASG, ELB, EBS, RDS, etc.
How can you customize your infrastructure when using AWS EB?
By modifying the configuration in the beautiful dashboard the service provides.
What is the pricing of AWS EB?
Itโs free, you only pay for the underlying resources.
What is the responsibility of the developer when using AWS EB?
Providing the application code
Who manages deployments when using AWS EB?
The developer is responsible for choosing his preferred deployment strategy and provide his code. The deployment itself is handled by AWS EB.
What type of web architecture does AWS EB facilites the management of?
The typical 3-tier web app architecture
What are the three architecture models when deploying an app to EB?
Single instance (good for dev) LB + ASG (good for prod web apps) ASG only (good for workers)
What are the three important concepts to understand in apps managed by AWS EB? (Think about the GUI of the EB console)
Application itself
Application version
Environment name
What is the naming convention for EB environment name?
Free naming
Where do you deploy application versions to in EB?
To environments (E.g. You deploy to dev)
Where can you promote application versions to in EB?
To environments (E.g. You promote from dev to prod)
Can you rollback to previous application versions in EB?
Yes
What platforms does EB support?
Go Java SE Java with Tomcat .NET (Windows Server with IIS) Node.JS PHP Python Ruby Packer Build Single Container Docker Multicontainer Docker Preconfigured Docker
What should you do if EB does not support your platform?
You create a custom one
What are the available deployment methods in EB?
All at once Rolling Rolling with additional batches Immutable Blue/Green
What is the fastest deployment method in EB?
All at once
What are the longest deployment method in EB?
Immutable and Blue/Green
Which deployment methods incur additional charges in EB?
Rolling with batches
Immutable
Blue/Green
How does the Immutable deployment method works in EB?
New instances are spin up in a new temporary ASG
The new version of the app is deployed to these new instances
When everything is healthy, new instances are transferred to the main ASG
Old instances are shutdown as well as the temporary ASG
How does the Blue/Green deployment works in EB?
Similar to Immutable, but rather than having a new ASG, you get a completely new โstageโ environment, and the DNS (Route 53) is responsible for sending a fraction of the traffic to the new environment. When the new environment is good to go and approved, the DNS start sending all of the traffic to the new stage which can be renamed to โprodโ for convenience if desired.
What is the rollback process of the โAll at onceโ deployment method?
Manual Redeploy
What is the rollback process of the โRollingโ deployment method?
Manual Redeploy