Skip to content

Load Balancer

View as Markdown

A load balancer gives your users one address and spreads their traffic across a group of backend servers. It sends traffic only to the servers that pass their health checks, so one server going down leaves the others serving. You create and manage it in MyAccount, under Compute, on the Load Balancers page.

Each load balancer runs in one region, Delhi or Chennai, and you manage it entirely from MyAccount or the API.

E2E offers two types, and you choose one when you create the load balancer:

Type Works at Traffic Sends requests by Also offers
Application Load Balancer (ALB) Layer 7 HTTP and HTTPS The request itself: its path, host, query, method, or client IP An SSL certificate, ACL rules, HTTPS to your servers, and a scale group as a backend
Network Load Balancer (NLB) Layer 4 TCP The port the client connects to A backend group for each listening port

Choose an ALB for websites and HTTP APIs, especially when you want HTTPS on the load balancer or want to send different paths or domains to different servers. Choose an NLB for any other TCP service, such as a mail server or a message queue. An NLB passes encrypted traffic to your servers as it is, so the certificate stays on your servers.

  • An External load balancer gets a public IP when you create it. Point your domain at that IP with an A record.
  • An Internal load balancer has no public IP. It sits in at least one of your VPCs, and resources in that VPC reach it at its VPC address.

To put your first load balancer in front of a node, follow Get started with Load Balancer. For fixes, see Troubleshooting Load Balancer; for short answers, see Load Balancer FAQ, including what a load balancer costs.