Skip to content

Latest commit

 

History

History

fargate

Docker plus ECS on AWS Fargate

Creating NETWORK stack

aws cloudformation create-stack --stack-name DockerECSonFargateNetwork --template-body file://network.yml  --parameters file://network-parameters.json 

Creating ROLE(s) stack

aws cloudformation create-stack --stack-name DockerECSonFargateRoles --template-body file://roles.yml --parameters file://roles-parameters.json  --capabilities CAPABILITY_IAM

Creating CLUSTER stack

aws cloudformation create-stack --stack-name DockerECSonFargateCluster --template-body file://cluster.yml --parameters file://cluster-parameters.json

Creating CONTAINER stack

aws cloudformation create-stack --stack-name DockerECSonFargateContainer --template-body file://container.yml --parameters file://container-parameters.json

Deleting stacks

Example:

aws cloudformation delete-stack --stack-name DockerECSonFargateContainer