July 2017
Intermediate to advanced
402 pages
9h 38m
English
Thanks to the upfront work we did with our CloudFormation templates, adding a new environment will be trivial.
We will start by launching a production ECS cluster, as shown in the following code:
$ aws cloudformation create-stack \ --stack-name production-cluster \ --capabilities CAPABILITY_IAM \ --template-body file://ecs-cluster-cf.template \ --parameters \ ParameterKey=KeyPair,ParameterValue=EffectiveDevOpsAWS \ ParameterKey=VpcId,ParameterValue=vpc-f7dc4093 \ ParameterKey=PublicSubnet,ParameterValue=subnet-3e905948\\,subnet- 4decfe66\\,subnet-4f3bdb17\\,subnet-82ba3fbf{ "StackId": "arn:aws:cloudformation:us-east-1:511912822958:stack/production-cluster/53833670-e519-11e6-aa35-50fae984a035"}
We need to ...
Read now
Unlock full access