Difference between revisions of "Amazon ECS capacity providers"
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Amazon ECS capacity providers are used to manage the infrastructure the tasks in your clusters use. | ||
* https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html | * https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html | ||
− | == | + | == Limitations == |
− | + | * Amazon allows to create a maximum of 10 [[capacity providers]] per [[cluster]], and cannot be increased.<ref>https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html</ref> If you try to create a new capacity provider and have exceed the limit you will get the following error: <code>the maximum number of [[capacity providers]] per [[cluster]] has been exceeded</code> | |
− | + | * When you specify a [[capacity provider strategy]], the number of capacity providers that can be specified is limited to 6 | |
− | |||
− | |||
− | |||
− | + | == Capacity provider commands == | |
+ | * <code>[[aws ecs create-capacity-provider]]</code> | ||
+ | * <code>[[aws ecs delete-capacity-provider]]</code> | ||
+ | * <code>[[aws ecs describe-capacity-providers]]</code> | ||
+ | * <code>[[aws ecs put-cluster-capacity-providers]]</code> | ||
+ | * <code>[[aws ecs update-capacity-provider]]</code> | ||
− | + | == Related commands == | |
+ | * <code>[[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'</code> | ||
+ | * <code>[[aws ecs create-service]] --cluster <cluster name> --service-name <your service name> --capacity-provider-strategy CapacityProvider=<provide name></code> | ||
== Role == | == Role == | ||
− | * <code>AWSEC2CapacityReservationFleetRolePolicy</code> | + | * <code>[[AWSEC2CapacityReservationFleetRolePolicy]]</code> |
== Related == | == Related == | ||
Line 19: | Line 24: | ||
* [[Auto Scaling group capacity providers]] and [[Fargate capacity providers]] | * [[Auto Scaling group capacity providers]] and [[Fargate capacity providers]] | ||
* <code>[[--capacity-provider-strategy]]</code> | * <code>[[--capacity-provider-strategy]]</code> | ||
− | * | + | * [[AWS ECS Cluster Auto Scaling (CAS)]] |
== New == | == New == |
Latest revision as of 14:29, 6 October 2022
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: