Automate Docker container deployments to AWS ECS using CloudFormation

Learn how to automate deployment of your Docker containers to AWS Elastic Container Service (ECS) using CloudFormation. We'll run through an overview of how ECS works, as well as a real-life scenario of deploying an NGINX Docker container to it and then accessing it over the internet. GITHUB GIST CloudFormation template https://gist.github.com/tkgregory/414... AWS CLI COMMANDS Create stack: aws cloudformation create-stack --stack-name example-deployment --template-body file://./ecs.yml --capabilities CAPABILITY_NAMED_IAM --parameters 'ParameterKey=SubnetID,ParameterValue=subnet-1881f750' Update stack: same as above but using 'update-stack' instead of 'create-stack' Delete stack: aws cloudformation delete-stack --stack-name example-deployment