Amazon ECS capacity providers
(Redirected from CapacityProviderStrategy)
Jump to navigation
Jump to search
Amazon ECS capacity providers are used to manage the infrastructure the tasks in your clusters use.
Contents
Limitations[edit]
- Amazon allows to create a maximum of 10 capacity providers per cluster, and cannot be increased.[1] If you try to create a new capacity provider and have exceed the limit you will get the following error:
the maximum number of capacity providers per cluster has been exceeded
- When you specify a capacity provider strategy, the number of capacity providers that can be specified is limited to 6
Capacity provider commands[edit]
aws ecs create-capacity-provider
aws ecs delete-capacity-provider
aws ecs describe-capacity-providers
aws ecs put-cluster-capacity-providers
aws ecs update-capacity-provider
Related commands[edit]
aws ecs describe-clusters --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'
aws ecs create-service --cluster <cluster name> --service-name <your service name> --capacity-provider-strategy CapacityProvider=<provide name>
Role[edit]
Related[edit]
The maximum number of capacity providers per cluster has been exceeded
- Auto Scaling group capacity providers and Fargate capacity providers
--capacity-provider-strategy
- AWS ECS Cluster Auto Scaling (CAS)
New[edit]
- May 2022 https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-ecs-capacity-provider-integration-auto-scaling-groups/
- Nov 2021 https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-ecs-improved-capacity-providers-cluster-auto-scaling/
See also[edit]
aws ecs [ create-capacity-provider | delete-capacity-provider | describe-capacity-providers | put-cluster-capacity-providers | update-capacity-provider ]
- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: