Load Balancer
What is Load Balancer?
Load Balancer: Distributes incoming HTTP requests across multiple backend instances. Also terminates TLS, routes by path, and checks instance health. (AWS: ALB (Application Load Balancer) / NLB; GCP: Cloud Load Balancing; Azure: Azure Load Balancer / Application Gateway) A cloud load balancer is a managed service that distributes HTTP traffic across your servers or containers. Examples are AWS Application Load Balancer, Google Cloud Load Balancing, Azure Application Gateway and the load balancers of DigitalOcean and Hetzner.
Frequently asked questions about Load Balancer
How is Load Balancer used in practice?
Besides spreading traffic, they handle TLS certificates, route requests by domain or path, and check which backends are healthy. Some include a web application firewall and protection against simple attacks.
What should you keep in mind with Load Balancer?
Because the provider runs it, you do not maintain the load balancer itself. You do pay for it, often a fixed monthly amount plus traffic, so check the price for small projects. In Kubernetes, one load balancer in front of an Ingress controller is usually cheaper than a separate load balancer for every service.
At a glance
| Category | Cloud services |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |