Overview
An Application Load Balancer (ALB) operates at the seventh layer of the Open Systems Interconnection (OSI) model. After the load balancer receives a request, it evaluates the listener rules in priority order to determine which rule to apply, and then selects a target from the target group for the rule action.
Key Features
- Path-based Routing: Route traffic based on the URL path (e.g.,
/apivs/images). - Host-based Routing: Route traffic based on the host header (e.g.,
app.example.comvsapi.example.com). - Support for Containers: Ideal for microservices and container-based applications (e.g., Amazon ECS).
- WebSockets Support: Allows for long-lived TCP connections.
Use Cases
- Microservices architectures.
- Modern web applications requiring granular traffic control.
- Applications using HTTP/2 or gRPC.