Amazon DOP-C02 Exam - Topic 8 Question 33 Discussion
A DevOps engineer is setting up an Amazon Elastic Container Service (Amazon ECS) blue/green deployment for an application by using AWS CodeDeploy and AWS CloudFormation. During the deployment window, the application must be highly available and CodeDeploy must shift 10% of traffic to a new version of the application every minute until all traffic is shifted.Which configuration should the DevOps engineer add in the CloudFormation template to meet these requirements?
B) Add the AWS::CodeDeployBlueGreen transform and the AWS::CodeDeploy::BlueGreen hook parameter with the CodeDeployDefault.ECSLinear10PercentEvery1 Minutes deployment configuration.
A) Add an AppSpec file with the CodeDeployDefault.ECSLineaMOPercentEverylMinutes deployment configuration.
C) Add an AppSpec file with the ECSCanary10Percent5Minutes deployment configuration.
D) Add the AWS::CodeDeployBlueGroen transform and the AWS::CodeDeploy::BlueGreen hook parameter with the ECSCanary10Percent5Minutes deployment configuration.
Step 1: Using AWS CloudFormation with ECS Blue/Green Deployments
The requirement is to implement an ECS blue/green deployment where traffic is shifted gradually. AWS CodeDeploy supports such blue/green deployments with predefined configurations, like ECSLinear10PercentEvery1Minute, which shifts 10% of traffic every minute.
Action: Use the AWS::CodeDeployBlueGreen transform and the appropriate hooks in the CloudFormation template. The ECSLinear10PercentEvery1Minute deployment configuration meets the requirement of shifting 10% of traffic every minute.
Why: The transform and hook parameters in CloudFormation are essential for configuring the blue/green deployment with the desired traffic-shifting behavior.
Honey
6 months agoShannan
6 months agoBarrett
7 months agoVelda
7 months agoHelene
7 months agoAleisha
7 months agoRene
7 months agoMarylou
8 months agoTammara
8 months agoFrankie
8 months agoLindy
8 months agoArminda
8 months agoGeraldine
8 months agoNorah
8 months agoGlenn
8 months agoSalena
2 years agoBarney
2 years agoLauran
2 years agoWillard
2 years agoRolf
2 years agoDorothy
2 years agoVashti
2 years agoTerrilyn
2 years agoWinfred
2 years agoMan
2 years agoGregoria
2 years agoShawnda
2 years agoMargart
2 years agoLatanya
2 years agoChandra
2 years agoWillodean
2 years agoBuck
2 years agoLisbeth
2 years agoFrancine
2 years agoPansy
2 years ago