Using CloudFormation Drift Detection

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

This lab instructs the student on CloudFormation drift detection. CloudFormation stack drift occurs when the resources in a stack have drifted from their original creation template. This can become a major problem — and drift detection can be used to identify it. After the problem is identified, the lab covers the stack update steps that can be taken to bring the CloudFormation stack back into synch with the original template.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create CloudFormation Stack
  1. Navigate to CloudFormation.
  2. Click Design Template.
  3. Paste the provided CloudFormation template into the code section, validate, and click the up arrow icon at the top of page to create the stack.
Terminate an EC2 Instance to Introduce Stack Drift
  1. Navigate to EC2.
  2. Go to Instances.
  3. Click Actions > Instance State > Terminate.
  4. Terminate the instance.

Additional Resources

Please log in to the AWS environment using the cloud_user credentials provided.

Once inside the AWS account, make sure you are in the us-east-1 (N. Virginia) region.

There are two CloudFormation templates for this lab:

  • ec24drift.json will be used to create the original stack
  • afterdriftupdate.json will be used to update the stack after drift detection

You can download these files at the GitHub repository.

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?