Working with CloudFormation Nested Stacks

45 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will create a nested stack from the templates provided. We will use the two templates to create a nested stack that will implement a child template, which will then create an S3 bucket with a policy of no retain. This child template can be reused repeatedly whenever an S3 bucket of this type is needed.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an S3 Bucket and Upload a CloudFormation Template to It
  1. In the S3 console, click Create bucket.
  2. Give the bucket a unique name, and accept the defaults to create the bucket.
  3. Upload the provided s3static.json and noretain.json CloudFormation templates to the bucket using the Upload button.
Create a Nested Stack from the CloudFormation Root Template

In CloudFormation, run stack creation with the CloudFormation root template.

Additional Resources

Please log in with the credentials provided, and make sure you are in the us-east-1 (N. Virginia) region.

Download the necessary files from the lab's 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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?