Difference between revisions of "Amazon ECS capacity providers"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users 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
  
== Commands ==
+
== Limitations ==
[[aws ecs create-capacity-provider]]
+
* 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>
[[aws ecs delete-capacity-provider]]
+
* When you specify a [[capacity provider strategy]], the number of capacity providers that can be specified is limited to 6
[[aws ecs describe-capacity-providers]]
+
 
[[aws ecs put-cluster-capacity-providers]]
+
== Capacity provider commands ==
[[aws ecs update-capacity-provider]]
+
* <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 15: 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>
* When you specify a capacity provider strategy, the number of capacity providers that can be specified is limited to 6.
+
* [[AWS ECS Cluster Auto Scaling (CAS)]]
  
 
== New ==
 
== New ==
* [[May 2022]] https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-ecs-capacity-provider-integration-auto-scaling-groups/
+
* [[AWS timeline|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/
+
* [[AWS timeline|Nov 2021]] https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-ecs-improved-capacity-providers-cluster-auto-scaling/
  
 
== See also ==
 
== See also ==

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.

Limitations[edit]

Capacity provider commands[edit]

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]

New[edit]

See also[edit]

  • https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
  • Advertising: