A developer is setting up a blue/green deployment for a containerized application running on Amazon ECS using AWS CodeDeploy. The deployment must route of the production traffic to the new version of the application immediately. The remaining of the traffic must be routed to the new version only after a -minute validation period, during which the application's health is monitored. If any errors occur during this period, CodeDeploy must automatically roll back the deployment.
Which pre-defined CodeDeploy deployment configuration should the developer use to meet these requirements?
- CodeDeployDefault.ECSCanary10Percent15MinutesCevap
- BCodeDeployDefault.ECSCanary10Percent5Minutes
- CCodeDeployDefault.ECSLinear10PercentEvery15Minutes
- DCodeDeployDefault.LambdaCanary10Percent15Minutes
Cevap
CodeDeployDefault.ECSCanary10Percent15Minutes
The configuration CodeDeployDefault.ECSCanary10Percent15Minutes is correct because it is a pre-defined CodeDeploy deployment configuration designed for Amazon ECS. It shifts of traffic to the replacement task set immediately, waits for minutes for validation and monitoring, and then routes the remaining of traffic to the new version.
Adım Adım Çözüm
Anahtar Kavram
AWS CodeDeploy deployment configurations for ECS Blue/Green deployments control how traffic is shifted from the old task set to the new task set, allowing canary testing with built-in validation periods.