An organization hosts a production application on AWS Elastic Beanstalk. During updates, the application must maintain full capacity to handle consistent user traffic. Additionally, if the new application version fails health checks, the update must automatically roll back immediately with minimal impact on the production environment. Which two Elastic Beanstalk deployment policies should a SysOps Administrator configure to meet these requirements? (Select TWO.)
- ImmutableAnswer
- BAll at once
- Traffic SplittingAnswer
- DRolling
- ERolling with additional batch
Answer
The correct options are Immutable and Traffic Splitting.
The correct strategies are Immutable and Traffic Splitting. Immutable deployments launch a secondary Auto Scaling group with the new version, ensuring that the original instances remain untouched and active at 100% capacity. If the deployment fails health checks, Elastic Beanstalk automatically deletes the temporary Auto Scaling group, rolling back immediately. Traffic Splitting deployments also spin up a complete set of new instances and route a portion of traffic to them. If health checks fail during the evaluation period, traffic is shifted back to the original instances, and the new instances are terminated.
Step-by-Step Solution
Key Concept
AWS Elastic Beanstalk deployment policies and their capacity vs. rollback trade-offs.