QuestionQ32

VerifiedDeployment

A developer is creating AWS CloudFormation templates to manage an application's deployment in Amazon Elastic Container Service (Amazon ECS) through AWS CodeDeploy. The developer wants to automatically deploy new versions of the application to a percentage of users before the new version becomes available for all users.

How should the developer manage the deployment of the new version?

Explanation

Gradual (canary or linear) deployments require the AWS::CodeDeploy::BlueGreen transform and hook in CloudFormation templates. This instructs CodeDeploy to manage the rollout strategy, shifting traffic incrementally to the new version while monitoring health. New stacks (B) require manual DNS updates; standard stack updates (C) replace all at once; nested stacks (D) don't inherently support gradual deployment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!