- Lab
- A Cloud Guru
Configure a CloudFormation Template
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.
Path Info
Table of Contents
-
Challenge
Modify the Provided CloudFormation Template
A CloudFormation stack has already been created in your account but requires additional changes to adhere to policy.
Perform the following updates on the existing stack:
- Change the configured EC2 instance to a
t3.nano
instance type. - Modify your EC2 instance
IamInstanceProfile
to use theLabInstanceProfile
role. - Add a rule to the instance security group to permit incoming HTTP traffic from all sources.
- Change the configured EC2 instance to a
-
Challenge
Deploy the CloudFormation Template
- Validate and update your CloudFormation template after making all changes.
- Verify the stack shows a status of
UPDATE_COMPLETE
. - After the stack has finished creating, enable termination protection for your CloudFormation stack.
-
Challenge
Verify That Stack Resources Reflect the Updated Configuration
- Navigate to your EC2 dashboard, 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, click Complete Lab to submit your activity and receive your grade.
What's a lab?
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.
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.