Create, Manage, and Delete a Stack with the CLI and AWS CloudFormation
In this lab, you’ll learn how to create, manage, and delete AWS resources using CloudFormation. When you’re finished with this lab, you’ll have an understanding of using CloudFormation via the AWS CLI.
Terms and conditions apply.
Lab info
Lab author
Challenge
Set Up Cloud9 to use the AWS CLI
Set up an IDE on Cloud9 to use with the AWS CLI.
Challenge
Create a New VPC Using a CloudFormation Template via AWS CLI
Create a new VPC according to your organization’s standards. This VPC will have Public and Private Subnets, with relevant CIDR blocks, in two Availability Zones to support High Availability.
Challenge
Launch an ALB in Public Subnets and EC2 Web Server Instances in Private Subnets via AWS CLI
Create a public-facing Application Load Balancer and private EC2 instances via CloudFormation commands. The EC2 instances will have an Apache web server installed as part of the code.
Challenge
Updating a CloudFormation Stack to Modify Resources via AWS CLI
You will now update your existing stack and create an additional resource to achieve the infrastructure changes as requested by your team.
Challenge
Delete the Resources Using CloudFormation Stacks via AWS CLI
Delete all the resources which you created via CloudFormation by deleting the Stacks via AWS CLI.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Knowledge of using the AWS CLI