A developer is configuring a blue/green deployment for a microservice hosted on Amazon Elastic Container Service (Amazon ECS) using AWS CodeDeploy. The deployment must meet the following operational requirements:
* Traffic must be shifted in two increments: of traffic must be routed to the new task set immediately, followed by the remaining after a -minute evaluation period.
* The original task set must remain active for exactly hour ( minutes) after traffic is fully routed to the new task set to allow for manual rollback if issues arise, after which the original task set should be automatically terminated.
Which two configurations will satisfy these requirements? (Select TWO.)
- Configure the deployment settings in the deployment group to use the Canary10Percent15Minutes deployment configuration.Cevap
- Configure the deployment group's blue/green deployment settings to wait 60 minutes before terminating the original task set.Cevap
- CConfigure the deployment settings in the deployment group to use the Linear10Percent15Minutes deployment configuration.
- DConfigure the deployment settings in the deployment group to use the Canary10Percent5Minutes deployment configuration.
- EAdd an ApplicationStop lifecycle hook in the AppSpec file with a script that pauses execution for 3600 seconds.
Cevap
Configure the deployment settings in the deployment group to use the Canary10Percent15Minutes deployment configuration, and configure the deployment group's blue/green deployment settings to wait 60 minutes before terminating the original task set.
To shift of traffic immediately and the remaining after a -minute evaluation period, the Canary10Percent15Minutes configuration is required. To retain the original task set for hour after traffic shifting completes, the developer must specify a termination wait time of minutes in the deployment group settings.
Adım Adım Çözüm
Anahtar Kavram
AWS CodeDeploy deployment configurations and task set lifecycle management for ECS blue/green deployments.