A SysOps Administrator is designing a deployment pipeline for a production application running on Amazon EC2 instances managed by an Auto Scaling group behind an Application Load Balancer (ALB). The deployment strategy must satisfy the following constraints:
- Deploy the new version with zero downtime.
- Route exactly of live user traffic to the new version for a 10-minute validation period.
- Automatically route the remaining of traffic after the validation period if no CloudWatch alarms are active.
- Support instantaneous rollback to the original version during the validation period.
The administrator discovers that the current AWS CodeDeploy blue/green configuration cannot perform fractional traffic routing for the EC2 Auto Scaling group.
Which strategy should the administrator implement to meet all requirements?
- Deploy the application using AWS Elastic Beanstalk and configure a traffic splitting deployment policy with a traffic split and a 10-minute evaluation period.Answer
- BModify the CodeDeploy deployment group configuration to use the CodeDeployDefault.LambdaCanary10Percent10Minutes deployment configuration.
- CUpdate the AWS CloudFormation template for the Auto Scaling group to use an AutoScalingRollingUpdate policy with a MinSuccessfulInstancesPercent set to .
- DUse an AWS Systems Manager Automation document to perform an in-place deployment to of the instances first, then deploy to the remaining instances after 10 minutes.