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 of incoming traffic is directed to the new version for an evaluation period of 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.)
- Configure the deployment policy of the Elastic Beanstalk environment to Traffic Splitting, setting the traffic split percentage to and the evaluation time to minutes.Answer
- 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
- CSet the deployment policy to Rolling with Additional Batch and configure a custom Amazon Route 53 Weighted Record set to shift of DNS traffic to the new instances.
- DConfigure an In-place deployment with a Rolling policy and set the batch size to to perform the canary test.
- EAdd 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
Key Concept
AWS Elastic Beanstalk Traffic Splitting Deployment Policy and its dependency on Enhanced Health Reporting for automated rollbacks.