Skip to content

Instantly share code, notes, and snippets.

@isweluiz
Last active April 18, 2021 14:32
Show Gist options
  • Save isweluiz/72284ad0e98de97f2863c99e3633efca to your computer and use it in GitHub Desktop.
Save isweluiz/72284ad0e98de97f2863c99e3633efca to your computer and use it in GitHub Desktop.

AWS Application Load Balancer

Elastic Load Balancing automatically distributes your incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones. It monitors the health of its registered targets, and routes traffic only to the healthy targets. Elastic Load Balancing scales your load balancer as your incoming traffic changes over time. It can automatically scale to the vast majority of workloads.

Elastic Load Balancing supports the following load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers.

Application Load Balancer components

The following diagram illustrates the basic components. Notice that each listener contains a default rule, and one listener contains another rule that routes requests to a different target group. One target is registered with two target groups.

EC2

1

2

3

4

5

Monitoring Lb with CloudWatch

6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment