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
Watch video Automate Docker container deployments to AWS ECS using CloudFormation online without registration, duration hours minute second in high quality. This video was added by user Tom Gregory Tech 20 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,419 once and liked it 292 people.