An operations team needs to update an application hosted on AWS Elastic Beanstalk. The update must be performed with zero downtime, and the application must maintain its full instance capacity throughout the deployment process. Which two Elastic Beanstalk deployment policies should be selected to meet these requirements?
- ImmutableAnswer
- Rolling with additional batchAnswer
- CAll at once
- DRolling
- ELinear
Answer
The correct options are Immutable and Rolling with additional batch.
To achieve zero downtime and maintain full instance capacity during an update in AWS Elastic Beanstalk, you must use policies that provision extra capacity before taking any running instances offline. The Immutable policy does this by launching a new temporary Auto Scaling group with the new version, while the Rolling with additional batch policy launches a new batch of instances first to offset the capacity loss before updating the existing instances.
Step-by-Step Solution
Key Concept
AWS Elastic Beanstalk deployment policies and their impact on environment capacity and application availability.