Configure a CloudFormation Template

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, you will be provided with a CloudFormation template that requires a few configuration changes to various resources within the existing CloudFormation stack to include EC2 instances, security groups, and IAM instance profiles.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Modify the Provided CloudFormation Template

A CloudFormation stack has already been created in our account but requires additional changes to adhere to policy.

Please perform the following updates on the existing stack:

  • Change the configured EC2 instance to a t3.nano instance type.
  • Modify the EC2 instance to use the new LabRole.
  • Add a rule to the instance security group to permit incoming HTTP traffic from all sources.
Deploy the CloudFormation Template

Successfully deploy the CloudFormation template after making all changes. Verify the stack shows a status of UPDATE_COMPLETE.

After the stack has finished creating, configure the stack for accidental deletion protection.

Verify That Stack Resources Reflect the Updated Configuration

Navigate to your CloudFormation stack and verify that the instance type, security group, and role association have been modified. After ensuring the stack has completed the update process and termination protection is enabled, perform grading.

Additional Resources

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?