Elastic Beanstalk (EB) Flashcards
Which kind of EB environment uses an ELB?
Web Environment
- Elastic Beanstalk environments:
- Web environment
- Load balanced Environment
- ELB → ASG → Instances
- Single instance Environment
- Public IP → ASG → Instace (1)
- Load balanced Environment
- Worker environment
- SQS → ASG → Instances
- Web environment
Which kind of EB environment uses an auto scaling group?
ASG
- All of them
- Both (Worker E. and Web E.)
The 2 kinds of Elastic Beanstalk environments
Web Environments & Worker Environments
Which EB web environment type requires a public IP address?
Single-Instance Environment
Which EB web environment type is best designed to easily scale?
Load Balanced Environment
The 2 types of EB Web environments
Single-Instance Environment & Load Balanced Environment
Which 2 deployment policies support a single instance environment?
Immutable (ɪmˈjutəbəl)
All at once
The 4 types of deployment policies available for Elastic Beanstalk
All at once, Rolling, Rolling with additional batch, Immutable
How would you recover from a failed, all at once, deployment? What do you have to do to rollback manually?
Re-deploy the old version again to all instances
This EB deployment policy takes all instances out of service while the deployment processes
All at once deployment
How would you handle a failed Rolling with additional batch deployment?
One answer
Perform an additional rolling update to roll back changes
This EB deployment policy creates then replaces your instances in small groups ensuring application capacity is never reduced
Rolling with additional batch
Which of the deployment methods have a manual roll back process?
1- All at once
2- Rolling with additional batch
3- Rolling
- If you want to roll back an Immutable deployment you need to terminate new instances
- If you want to roll back a Blue/Green deployment you need to swap URL
Which deployment method do perform a DNS change during deployment?
Blue/Green is when deployments swap environments and it ocurrs at the DNS level
By default what kind of updates does EB perform?
In-Place
Immutable Is consider an In-Place deployment because you have a route 53 and an environment and inside that environment you have an ELB and some instances, That means the deployment happens within your environment when you swap the traffic at the Load Balancer
With Blue / Green, There is a change at the DNS level (Route 53), in that moment you have two environments