Working with the Application Load Balancer

Lab Steps

Logging in to the Amazon Web Services Console
Create an Application Load Balancer
Create Target Groups
Associate Target Groups to Auto Scaling Groups
Add Routes to the Application Load Balancer
Monitoring the Application Load Balancer
Validate AWS Lab

Ready for the real environment experience?

Max Duration1h 10m


Application Load Balancers support content-based routing, and supports applications that run in containers. They support a pair of industry-standard protocols (WebSocket and HTTP/2), and also provide additional visibility into the health of the target instances and containers. Websites and mobile apps, running in containers or on EC2 instances, will benefit from the use of Application Load Balancers.

Lab Objectives

By the end of this Lab, you should be able to:

  • Create Target Groups
  • Create an Application Load Balancer
  • Associate Auto Scaling groups with Target Groups
  • Register instances on Target Groups
  • Configure listeners and rules

Lab Prerequisites

This is an intermediate level Lab. In order to follow the next steps, you should be able to:

  • Describe and launch EC2 instances
  • Describe, create, and configure Security Groups
  • Describe and launch Classic Load Balancers
  • Describe and launch an Auto Scaling group
  • Basic Understanding of the CloudWatch service

 If you don't have this knowledge, please refer to these Labs first:


June 12th, 2019 - Updated listener routing rules instructions to match the latest Console experience

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the Author


Eric Magalhães has a strong background as a Systems Engineer for both Windows and Linux systems and, currently, work as a DevOps Consultant for Embratel. Lazy by nature, he is passionate about automation and anything that can make his job painless, thus his interest in topics like coding, configuration management, containers, CI/CD and cloud computing went from a hobby to an obsession. Currently, he holds multiple AWS certifications and, as a DevOps Consultant, helps clients to understand and implement the DevOps culture in their environments, besides that, he play a key role in the company developing pieces of automation using tools such as Ansible, Chef, Packer, Jenkins and Docker.