A company runs a containerized web application on Amazon ECS using the AWS Fargate launch type. The ECS service is configured with a desired count of tasks. Due to strict budget constraints, the developer cannot allocate any additional Fargate tasks or capacity during a deployment. However, the application must remain online, maintaining at least of its desired processing capacity throughout the update process.
Which two deployment configuration values should the developer specify in the ECS service definition to meet these requirements?
- `minimumHealthyPercent` set to Answer
- `maximumPercent` set to Answer
- C`maximumPercent` set to
- D`minimumHealthyPercent` set to
- E`minimumHealthyPercent` set to
Answer
Setting the minimum healthy percent to and the maximum percent to .
Specifying a `maximumPercent` of and a `minimumHealthyPercent` of satisfies all constraints. Setting `maximumPercent` to ensures that Amazon ECS does not provision any extra Fargate tasks beyond the desired count during the deployment, adhering to the strict budget limits. Setting `minimumHealthyPercent` to ensures that at least half of the tasks ( out of ) remain running and healthy during the update, maintaining the required processing capacity online.
Step-by-Step Solution
Key Concept
Amazon ECS Rolling Updates Configuration