AWS CloudFormation Updates: Change Sets and Stack Policies

AWS CloudFormation Updates: Change Sets and Stack Policies
AWS CloudFormation Updates: Change Sets and Stack Policies

CLOUD LABS

AWS CloudFormation Updates: Change Sets and Stack Policies

Learn to manage AWS infrastructure using CloudFormation change sets and implement a stack policy for secure updates.

10 Tasks

intermediate

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Solid understanding of CloudFormation changeset fundamentals
Hands-on experience utilizing change sets for stack modifications
Hands-on experience securing the stack resources from unintended updates using the stack policy

Technologies
AWS logoAWS
CloudFormation logoCloudFormation
VPC logoVPC
EC2 logoEC2
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

AWS CloudFormation, a service for provisioning and managing AWS resources through code, is pivotal in managing AWS infrastructure. You can use CloudFormation change sets to make changes and use stack policies to control who can update the stacks.

In this Cloud Lab, you’ll start by provisioning infrastructure using CloudFormation. The provisioned infrastructure will include an EC2 instance deployed as a web server. Next, you’ll create a change set for a modification that doesn’t affect the web server’s operation. Next, you’ll execute the change set to learn how they are applied to your AWS infrastructure. You’ll then create another change set, but this time, the change set will include modifications that can potentially disrupt your infrastructure. Next, you’ll implement a stack policy to secure your stack from such changes. You’ll then use another IAM user to see how that stack policy secures any unwanted modifications to your infrastructure.

By completing this Cloud Lab, you’ll gain valuable insights into utilizing AWS CloudFormation change sets and stack policies effectively. 

The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Provision Infrastructure Using CloudFormation
View the Stack Templates for Infrastructure
Deploy the Nested Stack
3.Manage Stack Updates Using Change Set
Create a Change Set
View and Execute the Change Set
Create a Change Set
4.Secure the Stack Using Stack Policy
Create a Stack Policy
Execute the Change Set
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image