Difference between revisions of "Amazon ECS capacity providers"

From wikieduonline
Jump to navigation Jump to search
 
(8 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
  
== 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]]
 
[[aws ecs update-capacity-provider]]
 
  
[[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'
+
== 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 17: 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 ==

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: