A company's production application runs on Amazon EC2 instances managed by an Auto Scaling group behind an Application Load Balancer (ALB). A solutions architect is designing a deployment pipeline using AWS CodeDeploy to update the application with zero downtime.
The deployment strategy must meet the following requirements:
1. The new version must be deployed to a completely separate set of EC2 instances for validation.
2. Production traffic must not be routed to the new instances until the development team manually verifies the deployment.
3. Once verified, production traffic must be switched to the new instances.
4. The original EC2 instances must be kept running for 2 hours after traffic is redirected to allow for a quick manual rollback if issues arise, after which they must be terminated.
Which TWO configurations should the solutions architect specify in the AWS CodeDeploy deployment group to meet these requirements? (Select two.)
- Set the deployment type to Blue/Green, and configure the environment settings to copy the existing Auto Scaling group to provision the replacement instances.Answer
- Configure the traffic rerouting setting to manually reroute traffic, and set the original revision termination wait time to 2 hours.Answer
- CSet the deployment type to In-Place with the CodeDeployDefault.OneAtATime configuration, and configure an ALB test listener to route validation traffic to the updated instances.
- DSet the deployment type to Blue/Green, and select an AWS-managed canary deployment configuration to automatically shift traffic from the original instances to the new instances over 120 minutes.
- ESet the deployment type to Blue/Green, and configure the deployment group to use the AWS::CodeDeploy::BlueGreen CloudFormation transform to manage the Auto Scaling group lifecycle.