Compare ALB, NLB, GWLB and Classic Load Balancer in AWS.
IntermediateConceptLoad Balancers, Proxies & CDNs
Answer
ALB: HTTP/HTTPS/gRPC, content routing, Lambda targets. NLB: TCP/UDP/TLS, ultra-low latency, static or Elastic IPs, PrivateLink support. GWLB: transparent L3 gateway to insert third-party firewalls and inspection appliances using GENEVE. CLB: legacy, avoid for new work.
Common pattern: CloudFront to ALB for web apps, NLB for database proxies, TCP services and PrivateLink endpoints.
More on Load Balancers, Proxies & CDNs
What is a load balancer and why do we use one?BeginnerWhat is the difference between L4 and L7 load balancing?IntermediateWhat load-balancing algorithms are common?BeginnerWhat are health checks and how should they be designed?AdvancedWhat is connection draining (deregistration delay)?IntermediateWhat are sticky sessions and what are the drawbacks?Intermediate