A developer is configuring a rolling update deployment for an Amazon ECS service. The service has a desired task count of 12. To ensure high availability and prevent performance degradation under peak load, the service must maintain 100% of its desired capacity at all times during the deployment. Furthermore, due to CPU and memory constraints on the underlying container instances, the deployment can run at most 3 additional tasks concurrently. Which parameters for minimum healthy percent and maximum percent should the developer configure for the ECS service?
- Minimum healthy percent of 100% and maximum percent of 125%Cevap
- BMinimum healthy percent of 75% and maximum percent of 125%
- CMinimum healthy percent of 100% and maximum percent of 100%
- DMinimum healthy percent of 75% and maximum percent of 100%
Cevap
Minimum healthy percent of 100% and maximum percent of 125%
The correct configuration is to set the minimum healthy percent to 100% and the maximum percent to 125%. The minimum healthy percent of 100% ensures that the ECS service always has at least 12 healthy tasks running (100% of the desired count of 12). The maximum percent of 125% allows the service to temporarily scale up to 15 tasks (125% of 12) during the deployment, representing the 3 additional tasks permitted by the resource constraints.
Adım Adım Çözüm
Anahtar Kavram
Amazon ECS rolling update deployment configuration parameters (minimumHealthyPercent and maximumPercent)