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 the CloudFormation Console, Configure the InstanceType Default Parameter to ‘t3.micro’
  1. Navigate to the CloudFormation console, select your **cfst-1818-* stack and update it using the Edit template in designer and View in Designer** options.
  2. Edit your template, modifying the Default: t3.small parameter under InstanceType to Default: t3.micro.
Launch the Updated Stack and Verify the New EC2 Resource Is Reachable
  1. After making the necessary changes in your CloudFormation template, validate it and create a new stack using t3.micro as your default InstanceType parameter.
  2. Update the stack and make sure that you’re able to reach the newly allocated t3.micro instance using its Public IPV4 DNS or address.
  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?