Overview
A load balancer distributes incoming traffic across multiple backend servers. After a load balancer is created, you must add at least one listener to and associate one backend server with it before you use it to balance the application load.

Network Type
According to the network type, load balancers can be classified into public network load balancers and private network load balancers.
- Each public network load balancer has an EIP bound to route requests from clients over the Internet. They use TCP, UDP, HTTP, or HTTPS to receive and route requests. In addition, they support features such as sticky session, health check, and access control.
You can add more than one listener to a load balancer to process different types of requests.
Application scenario
- When a group of servers provide services over the Internet, a public network load balancer can be used as a single point of contact for clients if users on the Internet access these servers.
- The servers should be fault tolerant
Pricing
Public network load balancers are free. However, you will be billed for the EIP bound to each public load balancer based on standard pricing, along with the purchased bandwidth. For details, see Billing.
- Private network load balancers do not have public domain names or EIPs and can route requests only within VPCs.
They use private IP addresses to distribute requests across backend servers that are in the same VPC. Assume that you have two servers, a web server and a database server. The web server can be accessed by users in the public network, whereas the database server can be accessed only in the private network. In this case, you can create two load balancers, a public network load balancer for the web server, and a private network load balancer for the database server. The public network load balancer receives requests over the Internet and routes the requests to the web server. Then, the private network load balancer forwards the requests to the database server.
Figure 1 Load balancing in both public and private networks
Application scenario
Both clients and backend servers are in the same VPC as the private network load balancer, and can be accessed in this VPC.
- There are multiple backend servers, and requests need to be evenly distributed across these servers.
- The servers should be fault tolerant.
- You hope to shield IP addresses of your physical devices and provide transparent services for clients.
Pricing
Private network load balancers are free. Same to public network load balancers, you can add more than one listener to a private network load balancer to process different types of requests.
ELB can establish up to 100 million concurrent connections and a minimum of 1 million new connections and handle at least 1 million requests per second. (You can submit a service ticket if you require ELB to support more concurrent connections.)
Last Article: Load Balancer
Next Article: Public or Private Network Load Balancing
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.