Back to AWS
AWSNetworking
Application Load Balancer
Application Load Balancer routes HTTP and HTTPS traffic to backend targets such as EC2, ECS tasks, and Lambda functions.
What it does
Layer 7 load balancer for HTTP and HTTPS traffic.
When to use
Use ALB when you need host-based routing, path-based routing, or managed HTTP load balancing.
Key Concepts
ALB works at Layer 7 for HTTP and HTTPS.
Target groups define where requests are sent.
Rules support host- and path-based routing.
ALB is commonly used with ECS and EC2 web services.
Common Use Cases
Routing traffic to web applications.
Balancing traffic across containers or instances.
Exposing multiple services behind one entry point.
Interview Questions
What is an ALB?
What is a target group?
When would you use ALB instead of NLB?