Difference between revisions of "Amazon ECS capacity providers"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Commands ==
 
== Commands ==
[[aws ecs create-capacity-provider]]
+
* <code>[[aws ecs create-capacity-provider]]</code>
[[aws ecs delete-capacity-provider]]
+
* <code>[[aws ecs delete-capacity-provider]]</code>
[[aws ecs describe-capacity-providers]]
+
* <code>[[aws ecs describe-capacity-providers]]</code>
[[aws ecs put-cluster-capacity-providers]]
+
* <code>[[aws ecs put-cluster-capacity-providers]]</code>
[[aws ecs update-capacity-provider]]
+
* <code>[[aws ecs update-capacity-provider]]</code>
  
 
  [[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'
 
  [[aws ecs describe-clusters]] --cluster mycluster | jq '.clusters[].defaultCapacityProviderStrategy'

Revision as of 14:05, 6 October 2022

Commands

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

  • AWSEC2CapacityReservationFleetRolePolicy

Related

New

See also

Advertising: