Rapid Docker on AWS

Video Course

1.7 Demo application

Launching the demo

Warning: Costs arise when you launch the demo infrastructure and application. You can expect costs of around $4.50 per day. You will learn to delete all AWS resources at the end of a section or chapter.

cfn-modules project

cd /src/demo-app/aws/
npm i

aws cloudformation package --template-file template.yml \
--s3-bucket docker-on-aws-$NICKNAME \
--output-template-file .template.yml

aws cloudformation deploy --template-file .template.yml \
--stack-name demo-app --capabilities CAPABILITY_IAM

Using the demo

aws cloudformation describe-stacks --stack-name demo-app \
--query 'Stacks[0].Outputs[?OutputKey==`Url`].OutputValue' \
--output text

Terminating the demo

cd /src/demo-app/aws/
bash cleanup.sh