SHARE
TWEET

Untitled

a guest Jun 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. aws ecs register-task-definition --profile YOUR_PROFILE \
  2.                                  --region YOUR_REGION \
  3.                                  --cli-input-json file://taskDefinition.json
  4. aws ecs create-service --profile YOUR_PROFILE \
  5.                        --region YOUR_REGION \
  6.                        --cluster mycluster \
  7.                        --launch-type FARGATE \
  8.                        --task-definition YOUR_TASK_DEF \
  9.                        --desired-count 1 \
  10.                        --platform-version LATEST \
  11.                        --network-configuration "awsvpcConfiguration={subnets=[YOUR_SUBNETID1, YOUR_SUBNETID2],securityGroups=[YOUR_SG],assignPublicIp=ENABLED}" \
  12.                        --service-name app
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top