AWS Application Load Balancer (ALB) operates at the application layer, designed to intelligently distribute incoming HTTP and HTTPS traffic across multiple targets within one or more target groups. A load balancer determines how incoming requests are routed using listener rules.
In this Cloud Lab, you’ll learn how to use Application Load Balancer (ALB) listener rules to direct incoming traffic to multiple target groups, each representing a separate EC2 instance or application service. You’ll start by launching three target groups, each containing its own EC2 instance. Then you’ll create an Application Load Balancer and configure its rules to route traffic to different target groups based on the path and query parameters. Finally, you’ll configure an IP source address blocking rule and test it. By the end of this Cloud Lab, you’ll be able to configure listener rules to route traffic to multiple targets in Application Load Balancer.
The architecture diagram shows the provisioned infrastructure: