A company runs a high-traffic web application on AWS Elastic Beanstalk in a load-balanced environment. The development team needs to deploy updates with minimal risk. The deployment strategy must meet the following requirements:
- A small portion of actual production traffic () must be routed to the new version initially.
- The new version must be evaluated using this traffic for minutes.
- If the new version exhibits issues or fails health checks during the evaluation period, the traffic must be immediately redirected back to the old version without any downtime.
- If no issues are detected, the deployment must automatically complete by routing of traffic to the new version.
Which deployment policy should the solutions architect configure in Elastic Beanstalk to satisfy these requirements?
- Configure the Elastic Beanstalk deployment policy to Traffic Splitting. Set the split percentage to and the evaluation time to minutes.Cevap
- BConfigure the Elastic Beanstalk deployment policy to Immutable. Configure a Route 53 weighted routing policy to split traffic between the old and new environments, and manually revert the weights if errors occur.
- CConfigure the Elastic Beanstalk deployment policy to Rolling with additional batch. Set the batch size to , set the evaluation time to minutes, and configure CloudWatch alarms to trigger a rollback.
- DConfigure the Elastic Beanstalk deployment policy to Rolling. Set the batch size to and use an AWS Lambda function to monitor application log errors and trigger a rollback via the Elastic Beanstalk API.