Hands-On CloudFormation for Deploy Scalability

Lab Steps

Logging in to the Amazon Web Services Console
Planning Your CloudFormation VPC
Authoring Networking Resource Automation In CloudFormation
Authoring Compute & Database Resource Automation
Authoring Access Resource Automation
Finishing The Stack
Finally! Test The CloudFormation Stack!

The hands-on lab is part of these learning paths

DevOps Engineer – Professional Certification Preparation for AWS
course-steps 35 certification 5 lab-steps 18 quiz-steps 2 description 3
Solutions Architect – Professional Certification Preparation for AWS
course-steps 48 certification 6 lab-steps 19 quiz-steps 4 description 2
SysOps Administrator – Associate Certification Preparation for AWS
course-steps 34 certification 5 lab-steps 30 quiz-steps 4 description 5
AWS Cloud Management Tools
course-steps 5 certification 1 lab-steps 5 quiz-steps 2
more_horiz See 1 more

Ready for the real environment experience?

Time Limit2h
star star star star star-half


While many companies practice code deployment automation for business logic and applications, far fewer practice full-stack deployment automation whether they are running on AWS, another cloud provider, or other infrastructure. Most businesses recognize that the automation of code deployment offers major operational benefits and time savings. This Lab provides a complete walkthrough for the design and development of full-stack deployment automation on AWS, using AWS CloudFormation.

Some of the key benefits of learning stack deployment automation are:

  • Ensure true parity between Development, Test, Staging, and Production systems
  • Recoverability during disasters with rapid re-deployment 
  • Ease of multi-region deployment consistency
  • Enable full-cloud integration testing

During this Lab, you will learn how to take business requirements for a cloud system on AWS, design a stack for the requirements, and implement total automation for deployment of the stack by authoring a complete AWS CloudFormation Template for a stack including:

  • A VPC with private and public subnets
  • A NAT instance for access to the internet from a private subnet
  • Route tables and Network ACLs for the VPC
  • An Elastic Load Balancer (ELB) and Auto Scaling Group of EC2 Instances running code
  • Code deployment automation
  • Security Groups for the EC2 Instances and ELB
  • DynamoDB Table to persist data, and IAM Roles to allow EC2 Instance access


Do you have questions about this Lab? Contact our cloud experts by sending an email to support@cloudacademy.com.


May 29th, 2020 - Fixed an issue related to npm and dependencies

December 2nd, 2019 - Add availability zone constraint to avoid deploying in us-west-2d which fails because of an unsupported instance type is that zone

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

September 18th, 2018 - Fixed an issue related to node's package manager (npm) failing to install some dependencies and causing the load balancer's URL to not display the app.

About the Author


Nothing gets me more excited than the AWS Cloud platform! Teaching cloud skills has become a passion of mine. I have been a software and AWS cloud consultant for several years. I hold all 5 possible AWS Certifications: Developer Associate, SysOps Administrator Associate, Solutions Architect Associate, Solutions Architect Professional, and DevOps Engineer Professional. I live in Austin, Texas, USA, and work as development lead at my consulting firm, Tuple Labs.