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.
Set Up the 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.
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.
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.
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.
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.
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.
- Knowledge of using the AWS CLI