CLOUD LABS
AWS CloudFormation: Working with Nested Stacks and Signal Script
Learn to use nested stacks to simplify provisioning complex infrastructures, along with cfn-signal helper script for better configuring the provisioned resources.
intermediate
Certificate of Completion
Learning Objectives
The Amazon CloudFormation service allows users to manage their infrastructure as a group. You can define AWS resources using an infrastructure as code formatted template and don't have to individually create each resource. Similarly, you can make changes in multiple resources by simply changing the template, and also delete the created infrastructure together.
In this CloudLab, you'll start by learning about what CloudFormation templates and stacks are. You'll then use them to provision infrastructure using CloudFormation. The provisioned infrastructure will include an EC2 instance. Once you've set up that infrastructure, you'll integrate the cfn-signal
helper script in the CloudFormation template to ensure that the provisioned EC2 instance is fully configured before the stack creation is marked as complete. You'll then learn how to handle complex infrastructures using nested stacks. Moreover, you'll add another EC2 instance in your infrastructure and use nested stacks instead of a simple stack to do so. Finally, you’ll clean up all resources.
By the time you finish this Cloud Lab, you’ll be able to create and maintain infrastructures using CloudFormation templates. You’ll also be able to use cfn-signal
helper script to ensure that your EC2 instances are fully configured before the associated stack is marked as completed. You'll also be able to use nested stacks to simplify complex infrastructure by dividing them into multiple stacks.
The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:
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
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.
I highly recommend Educative. The courses are well organized and easy to understand.
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.
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.
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.
I highly recommend Educative. The courses are well organized and easy to understand.
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.
Get access to Educative Cloud Labs