hands-on lab

Working with Amazon EC2 Auto Scaling Groups and Application Load Balancer

Difficulty: Beginner
Duration: Up to 1 hour and 15 minutes
Students: 959
Rating: 4.5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Auto Scaling in Amazon Web Services (AWS) automatically adds or removes compute resources running your application in the cloud depending upon on conditions you configure. For applications configured to run on cloud infrastructure, scaling is an important part of cost control and resource management.

In this hands-on lab, you will learn how to create and configure all the resources that are needed to automatically scale an application in response to load.

Learning Objectives

Upon completion of this Lab you will be able to:

  • Create and configure an Application Load Balancer
  • Create and configure Auto Scaling groups and launch templates
  • Utilize Auto Scaling to ensure application availability

Prerequisites

You should be familiar with:

  • EC2 Basics including launching instances and connecting to them using SSH
  • Working with the AWS Console
  • Conceptual understanding of CloudWatch, and EC2 Security Groups (firewall rules)

Updates

May 8th, 2024 - Updated the instructions and screenshots to reflect the lastest UI

October 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI

February 24th, 2022 - Updated some screenshots to reflect the latest UI changes

October 12th, 2021 - Changed lab to use an Application Load Balancer instead of a Classic Load Balancer

August 16th, 2021 - Update security group creation instructions to match the latest user interface changes

June 28th, 2021 - Updated screenshots to reflect the latest user interface changes and improved some instructions

August 18th, 2020 - Updated all instructions and screenshots

March 11th, 2020 - Updated the validation checks inserting them in the correct lab steps instead of the last one

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Auto Scaling Overview
Creating a Load Balancer using Elastic Load Balancing
Creating a Launch Template
Creating an Auto Scaling Group
Testing the Auto Scaling Group