- Lab
- A Cloud Guru
Working with CloudFormation Nested Stacks
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.
Path Info
Table of Contents
-
Challenge
Create an S3 Bucket and Upload CloudFormation Templates
Create an S3 bucket in the AWS Console and upload the
s3static.json
andnoretain.json
files from the GitHub repo to the newly created bucket. -
Challenge
Create a Nested Stack with a Single Child Stack
Create a CloudFormation stack with the
root.json
template from the GitHub repo and modify the template to reference thenoretain.json
file that is located in your S3 bucket. -
Challenge
Create a Nested Stack with a Multiple Child Stacks
Create a CloudFormation stack with the
multinest.json
template from the GitHub repo and modify the template to reference thenoretain.json
ands3static.json
files that are located in your S3 bucket. -
Challenge
Upload the index.html file and verify the page loads
After your multinest stack has been deployed, locate an S3 bucket that was created in the stack and upload the
index.html
file from the GitHub repo to the bucket. Navigate to the URL of your S3 bucket and observe that the page loads.
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.