Posted On: Nov 27, 2020
Amazon Elastic Container Service (Amazon ECS) capacity providers now support update functionality. You can update the parameters of a capacity provider using either the AWS Management Console or the new UpdateCapacityProvider API.
Capacity providers help you manage compute capacity for containers by allowing the application to define its requirements for how it uses the capacity. With capacity providers, you can define flexible rules for how containerized workloads run on different types of compute capacity, and manage the scaling of the capacity. Capacity providers improve the availability, scalability, and cost of running tasks and services on Amazon ECS.
Capacity providers work with both Amazon Elastic Compute Cloud (Amazon EC2) and AWS Fargate. With Amazon EC2, you can create a capacity provider associated with an EC2 Auto Scaling group (ASG). The capacity provider can be used to manage scaling of the ASG through ECS cluster auto scaling, so that the capacity necessary to run your task is requested even if it is not yet available. When running tasks and services, you can split them across multiple capacity providers. This enables new capabilities such as running a service in a predefined split percentage across Fargate and Fargate Spot, or allowing a service to run an equal number of tasks in multiple availability zones without requiring the service to rebalance.
This new functionality is available in all regions where ECS is available. To learn more, visit our documentation and API reference.