Difference between revisions of "Aws ecs create-cluster"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
  [[aws ecs]] create-service \
 
  [[aws ecs]] create-service \
 
     --cluster MyCluster \
 
     --cluster MyCluster \
     --service-name MyService \
+
     [[--service-name]] MyService \
 
     [[--task-definition]] sample-fargate:1 \
 
     [[--task-definition]] sample-fargate:1 \
 
     [[--desired-count]] 2 \
 
     [[--desired-count]] 2 \
Line 12: Line 12:
  
 
== Related ==
 
== Related ==
* <code>[[AWS::ECS]]</code>: <code>[[AWS::ECS::Cluster]]</code>
+
* <code>[[AWS::ECS]]</code>: <code>[[AWS::ECS::Cluster]], [[AWS::ECS::TaskDefinition]]</code>
 
* [[Fargate]]
 
* [[Fargate]]
* <code>[[aws_ecs_cluster]]</code>
+
* Terraform resource: <code>[[aws_ecs_cluster]]</code>
 
* <code>[[aws ecs register-task-definition]]</code>
 
* <code>[[aws ecs register-task-definition]]</code>
 +
* <code>[[--configuration]] [[executeCommandConfiguration]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 10:02, 29 March 2023

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[edit]

See also[edit]

Advertising: