Difference between revisions of "Aws ecs create-cluster"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/create-cluster.html
 
  [[aws ecs]] create-service \
 
  [[aws ecs]] create-service \
 
     --cluster MyCluster \
 
     --cluster MyCluster \

Revision as of 12:40, 14 July 2022

aws ecs create-service \
   --cluster MyCluster \
   --service-name MyService \
   --task-definition sample-fargate:1 \
   --desired-count 2 \
   --launch-type FARGATE \
   --platform-version LATEST \
   --network-configuration "awsvpcConfiguration={subnets=[subnet-12344321],securityGroups=[sg-12344321],assignPublicIp=ENABLED}" \
   --tags key=key1,value=value1 key=key2,value=value2 key=key3,value=value3

Related

See also

Advertising: