Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Updating CloudFormation Stacks with Direct Updates and Change Sets

In this hands-on lab, we will walk through proper ways to update CloudFormation stacks. We will first update a stack with direct updates and then use change sets to update a stack. In the process, we will create multiple change sets and view the behavior of the stack when a change set is applied.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Aug 16, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Deploy a LAMP Stack Using an AWS CloudFormation Template

    • Navigate to the CloudFormation console to create the stack.
    • Upload the LAMP stack template provided with the lab and create the stack.
    • Change* InstanceType* to t3.micro.
    • Select your VPC and two subnets in the template.

      Note: You will need to create a key pair in the EC2 console before you can deploy the template.

    • Once it is deployed, check the CloudFormation outputs for the DNS name of the load balancer.
    • Copy the URL into a browser to verify the sample site has deployed correctly.
  2. Challenge

    Use an Update Stack to Scale Up

    • In the CloudFormation console, using the same template, update the stack and change the instance type from t3.micro to t3.medium on the Parameters page.
    • Using the load balancer URL, verify that our server comes up and the site becomes available once more.
  3. Challenge

    Use a Change Set to Scale Out

    • In the CloudFormation console, upload the changeset.yaml template to add a second server in another subnet and ensure that it is added to the load balancer.
    • View and then execute the change set.
    • Once it is finished, use the load balancer DNS name to confirm the site is up and running.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans