AWSLoad Balancing·15 min read
Load Balancer Explained: L4 vs L7 — What the Door-Person Actually Sees
A simple, ground-up guide: L4 forwards raw TCP/UDP by IP and port, L7 opens the HTTP request and routes by URL, host, headers or cookies. Clear when-to-use-what for both basic and advanced scenarios (NLB+ALB stack, PrivateLink, gRPC, service mesh) plus a full AWS map — ALB, NLB, GWLB, CloudFront, API Gateway, Route 53, Global Accelerator — with gotchas around sticky sessions, client IP preservation, and WebSockets.
Load BalancingAWSNLBALBRead →