Application Load Balancer (ALB)
Routes HTTP and HTTPS requests at OSI layer 7 using listener rules on path, host, headers, and query strings.
Official AWS Reference https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html ↗// DECISION LOGIC MATRIX
When to Choose
You run web apps or microservices needing content-based routing to EC2, containers, IP targets, or Lambda functions.
When to Avoid
You need static IPs, non-HTTP TCP or UDP protocols, or transparent appliance insertion.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"An Application Load Balancer functions at the application layer, the seventh layer of the Open Systems Interconnection (OSI) model, evaluating listener rules in priority order to select a target."
- ALB supports path conditions, host conditions, HTTP header, method, query string, and source IP conditions.
- ALB can register Lambda functions as targets and IP targets outside the load balancer's VPC.
- The default target group routing algorithm is round robin; least outstanding requests is also available.
// APPLICATION LOAD BALANCER (ALB) TAKEAWAYS
Role: Routes HTTP and HTTPS requests at OSI layer 7 using listener rules on path, host, headers, and query strings.
Choose: You run web apps or microservices needing content-based routing to EC2, containers, IP targets, or Lambda functions.
Avoid: You need static IPs, non-HTTP TCP or UDP protocols, or transparent appliance insertion.
Trap: Watch for exam signals like static IP, TCP, UDP, GENEVE.
Fact: ALB supports path conditions, host conditions, HTTP header, method, query string, and source IP conditions.
Fact: ALB can register Lambda functions as targets and IP targets outside the load balancer's VPC.
Fact: The default target group routing algorithm is round robin; least outstanding requests is also available.
// PRACTICE QUESTIONS
Ready to test your Application Load Balancer (ALB) knowledge?
4 practice questions cover Application Load Balancer (ALB).