An administrator is configuring a rolling update deployment for an Amazon Elastic Container Service (Amazon ECS) service that has a desired task count of . The deployment must guarantee that the service capacity does not drop below healthy tasks at any time, but it can scale up to tasks during the update process. Which deployment configuration parameters should the administrator specify to meet these requirements?
- AMinimum healthy percent: , Maximum percent:
- BMinimum healthy percent: , Maximum percent:
- Minimum healthy percent: , Maximum percent: Answer
- DMinimum healthy percent: , Maximum percent:
Answer
Minimum healthy percent: , Maximum percent:
Specifying a minimum healthy percent of ensures that the service maintains all tasks ( of the desired count) at all times. Setting the maximum percent to permits the deployment to provision up to tasks ( of the desired count) temporarily. This allows the new task definitions to run alongside the old ones and pass health checks before the old tasks are drained and terminated.
Step-by-Step Solution
Key Concept
Amazon ECS rolling update deployment configuration utilizing minimum healthy percent and maximum percent parameters.