DOP-C02 · Question #469
A SaaS company uses ECS (Fargate) behind an ALB and CodePipeline + CodeDeploy for blue/green deployments. They need automatic, incremental traffic shifting over time with no downtime. Which solution…
The correct answer is A. Use TimeBasedLinear in appspec.yaml with defined percentage and interval. CodeDeploy supports TimeBasedLinear traffic shifting for ECS blue/green deployments. Traffic increments by linearPercentage every linearInterval until 100%. This provides zero-downtime gradual rollout -- as per CodeDeploy ECS Blue/Green Traffic Shifting documentation.
Question
A SaaS company uses ECS (Fargate) behind an ALB and CodePipeline + CodeDeploy for blue/green deployments. They need automatic, incremental traffic shifting over time with no downtime. Which solution will meet these requirements?
Options
- AUse TimeBasedLinear in appspec.yaml with defined percentage and interval.
- BUse AllAtOnce deployment configuration.
- CUse TimeBasedCanary.
- DConfigure weighted routing on ALB manually.
How the community answered
(52 responses)- A85% (44)
- B2% (1)
- C4% (2)
- D10% (5)
Explanation
CodeDeploy supports TimeBasedLinear traffic shifting for ECS blue/green deployments. Traffic increments by linearPercentage every linearInterval until 100%. This provides zero-downtime gradual rollout -- as per CodeDeploy ECS Blue/Green Traffic Shifting documentation.
Topics
Community Discussion
No community discussion yet for this question.