Question

Difficulty: EasyDeployment Strategies and Execution

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?

  1. ImmutableAnswer
  2. Rolling with additional batchAnswer
  3. C
    All at once
  4. D
    Rolling
  5. E
    Linear

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

1
Analyze the capacity and downtime constraints.
The deployment must have zero downtime and maintain 100% instance capacity.
To ensure no service degradation during the update.
2
Evaluate the deployment policies of AWS Elastic Beanstalk.
The Immutable policy creates a new Auto Scaling group to maintain full capacity, while the Rolling with additional batch policy launches new instances first before updating existing ones.
To identify which policies satisfy both constraints.

Key Concept

AWS Elastic Beanstalk deployment policies and their impact on environment capacity and application availability.
Rate this question