CLOUD LABS
Mastering AWS CloudFormation Helper Scripts
In this Cloud Lab, you’ll learn to deploy a sample to-do list application on EC2 instances using AWS CloudFormation while leveraging all the CloudFormation helper scripts. This sample to-do list is built as a React application with a Node.js server as the backend.
intermediate
Certificate of Completion
Learning Objectives
AWS CloudFormation allows users to create and manage a collection of related AWS resources called a stack. It obeys the laws of dealing with infrastructure as code and helps maintain a highly secure, manageable, and scalable infrastructure. CloudFormation helper scripts are a set of tools AWS provides to facilitate the deployment and configuration of resources provisioned using AWS CloudFormation templates. These helper scripts enable users to automate the initialization and setup of Amazon EC2 instances within a CloudFormation stack.
You’ll start this Cloud Lab by first exploring the use case for a to-do list React application and its Node.js backend server and how you can execute the AWS::CloudFormation::Init
metadata with the cfn-init
helper script. You’ll learn to signal CloudFormation that the cfn-init
helper script has been executed using the cfn-signal
helper script. You’ll also learn to use the cfn-hup
helper script as a daemon to re-execute the cfn-init
helper script if a CloudFormation resource’s metadata is changed. Finally, you’ll learn to fetch a CloudFormation resource’s metadata using the cfn-get-metadata
helper script.
Learning the skill set associated with AWS CloudFormation helper scripts will equip you with the ability to efficiently manage and automate infrastructure on AWS. With this skill set, you’ll be able to design, deploy, and update AWS resources in a scalable and repeatable manner.
Here’s 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.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
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.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
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.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
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.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
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.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Get access to Educative Cloud Labs