An operations team manages a containerized service on Amazon ECS with a desired task count of . Due to strict resource limits on the hosting infrastructure, the deployment of a new task definition version must not run more than tasks concurrently. The service must remain online and accept traffic throughout the deployment, even if at a temporarily reduced capacity.
Which two deployment parameters must a SysOps administrator configure in the ECS service definition to meet these requirements? (Choose two.)
- Set the `minimumHealthyPercent` parameter to Cevap
- Set the `maximumPercent` parameter to Cevap
- CSet the `minimumHealthyPercent` parameter to
- DSet the `maximumPercent` parameter to
- EConfigure the deployment controller type to use AWS CodeDeploy for a blue/green deployment
Cevap
The correct parameters to configure are setting the minimum healthy percent parameter to 50 and setting the maximum percent parameter to 100.
To satisfy the constraint of never exceeding concurrent tasks, the `maximumPercent` parameter must be set to . This prevents Amazon ECS from starting new tasks before stopping older versions. To ensure the service remains online during the rolling update, the `minimumHealthyPercent` must be set to a value less than , such as , which allows ECS to stop half of the tasks ( tasks) to make room for new tasks while the remaining tasks continue to serve traffic.
Adım Adım Çözüm
Anahtar Kavram
Amazon ECS rolling update deployment parameters