Deploying a Basic Infrastructure Using CloudFormation Templates

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Your development team has been using this template for the intern-testing program. After performing an analysis, your team has determined that the `t3.small` instance was more compute power than they needed. Update the template so that the default instance defined in the stack is a `t3.micro`.

In this hands-on lab, we’re going to jump into an environment that already has a CloudFormation stack deployed. We’ll review the contents of the CloudFormation template, and then we’ll perform direct updates to the stack itself.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Using CloudFormation Designer, Configure the InstanceType Stack Parameter to T3.Micro
  1. Navigate to the CloudFormation dashboard and select Designer from the left navigational pane.
  2. In CloudFormation Designer, modify the InstanceType Parameter defined at the top of the template. Change the T3.Small default size to T3.Micro.
Launch the Updated Stack and Verify the New EC2 Resource Is Reachable
  1. After making the necessary changes in CloudFormation Designer, launch the stack with a default InstanceType Parameter of T3.Micro.
  2. Verify the stack updates successfully and that you’re able to reach the newly allocated T3.Micro instance by navigating to the IPv4 Public DNS.
  3. After verifying the resource is responsive, you have successfully modified the template in this lab.

Additional Resources

Log in to the live AWS environment using the credentials provided. Make sure you are in the us-east-1 (N. Virginia) Region throughout the lab.

AWS CloudFormation templates

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?