Aws ecs create-cluster

From wikieduonline
Revision as of 10:40, 26 November 2021 by Welcome (talk | contribs) (Created page with " aws ecs create-service \ --cluster MyCluster \ --service-name MyService \ --task-definition sample-fargate:1 \ --desired-count 2 \ --launch-type FARGATE \...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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

Advertising: