A developer needs to update a web application running on AWS Elastic Beanstalk. The deployment must meet the following constraints:
- The application must have zero downtime during the update.
- The deployment must maintain 100% of the active instance capacity at all times.
- The update must be performed within the existing Elastic Beanstalk environment.
Which of the following Elastic Beanstalk deployment policies satisfy these constraints? (Select TWO.)
- Rolling with additional batchAnswer
- ImmutableAnswer
- CRolling
- DAll-at-once
- EBlue/Green
Answer
The Rolling with additional batch and Immutable deployment policies meet all the constraints.
The Rolling with additional batch policy launches a new batch of instances first to maintain the original capacity before rolling out the update to existing instances. The Immutable policy launches a temporary Auto Scaling group to deploy the new version alongside the existing group. Both methods ensure 100% of active instance capacity is maintained, have zero downtime, and operate within the existing environment.
Step-by-Step Solution
Key Concept
AWS Elastic Beanstalk deployment policies and their impact on environment capacity, downtime, and cost.