Question

Difficulty: MediumDeployment Strategies and Execution

A company runs a high-traffic web application on AWS Elastic Beanstalk. The application's performance is critical, and a SysOps administrator needs to deploy a major software update. The administrator wants to use a canary-style deployment where 10%10\% of incoming traffic is directed to the new version for an evaluation period of 1010 minutes. If any error metrics spike, the deployment must immediately roll back with zero downtime for existing users.

Which two actions should the SysOps administrator take to configure this deployment? (Select TWO.)

  1. Configure the deployment policy of the Elastic Beanstalk environment to Traffic Splitting, setting the traffic split percentage to 10%10\% and the evaluation time to 1010 minutes.Answer
  2. Ensure that Enhanced Health Reporting is enabled for the Elastic Beanstalk environment to evaluate the health of the new version and trigger an automatic rollback.Answer
  3. C
    Set the deployment policy to Rolling with Additional Batch and configure a custom Amazon Route 53 Weighted Record set to shift 10%10\% of DNS traffic to the new instances.
  4. D
    Configure an In-place deployment with a Rolling policy and set the batch size to 10%10\% to perform the canary test.
  5. E
    Add the iam:PassRole permission to the Elastic Beanstalk service role targeting the EC2 instances to allow the deployment process to execute the rollback.

Answer

To configure this deployment, the SysOps administrator should configure the Elastic Beanstalk deployment policy to Traffic Splitting, specifying a split percentage of 10% and an evaluation time of 10 minutes, and ensure that Enhanced Health Reporting is enabled for the environment to evaluate health and trigger rollbacks.
The correct options correctly identify that Elastic Beanstalk's Traffic Splitting deployment policy enables a temporary canary environment to receive a configured percentage of traffic for a set evaluation window. Furthermore, they identify that Enhanced Health Reporting must be enabled for Elastic Beanstalk to monitor the environment's health metrics and automate rollbacks if necessary.

Step-by-Step Solution

1
Identify the appropriate Elastic Beanstalk deployment policy for canary testing.
Traffic Splitting is selected as it is specifically designed to route a percentage of traffic to a new version for a specified evaluation period before completing the rollout.
Using Traffic Splitting ensures that client traffic is split natively without manual Route 53 DNS record manipulation.
2
Identify the health monitoring requirement for Traffic Splitting.
Enhanced Health Reporting must be enabled on the Elastic Beanstalk environment.
Traffic Splitting relies on Elastic Beanstalk's Enhanced Health Reporting to monitor the health of the new instances during the evaluation period and to trigger automatic rollbacks if any issues are detected.

Key Concept

AWS Elastic Beanstalk Traffic Splitting Deployment Policy and its dependency on Enhanced Health Reporting for automated rollbacks.
Rate this question