Question

Difficulty: EasyDeployment Strategies and Execution

A SysOps Administrator is updating an application hosted on AWS Elastic Beanstalk. The application must maintain its full capacity to handle user traffic throughout the deployment process. Which of the following deployment strategies will meet this requirement? (Select TWO.)

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

Answer

The Immutable and Rolling with additional batch deployment strategies both maintain full application capacity during deployments. Immutable achieves this by launching a completely new Auto Scaling group of instances, while Rolling with additional batch launches an extra batch of instances before updating existing ones.
The Immutable strategy maintains capacity by deploying to a completely new Auto Scaling group, while the Rolling with additional batch strategy provisions a temporary batch of instances first to maintain 100% capacity during updates to the existing instances.

Step-by-Step Solution

1
Analyze the capacity requirement
The application must maintain 100% of its capacity to handle traffic at all times during the deployment.
This rules out any deployment strategies that take existing instances out of service without first provisioning new capacity.
2
Evaluate the Elastic Beanstalk deployment policies against the capacity requirement
Immutable and Rolling with additional batch both launch new instances to offset the capacity of instances undergoing updates. All at once takes all instances offline, and Rolling takes a batch of instances offline without provisioning temporary replacements.
Identifying which policies provision temporary instances first ensures the capacity requirement is satisfied.

Key Concept

AWS Elastic Beanstalk deployment strategies and their impact on application capacity and downtime.
Rate this question