What Is ELB?¶
Elastic Load Balancing (ELB) automatically distributes incoming traffic across multiple backend servers based on the listening rules you configure. ELB expands the service capabilities of your applications and improves their availability by eliminating single points of failure (SPOFs).
As shown in the example in the following figure, ELB distributes incoming traffic to three application servers, and each server processes one third of the requests. ELB also provides health checks, which can detect unhealthy servers. Traffic is distributed only to servers that are running normally, improving the availability of applications.
ELB Components¶
ELB consists of the following components:
Load balancer: distributes incoming traffic across backend servers in one or more availability zones (AZs).
Listener: uses the protocol and port you specify to check for requests from clients and route the requests to associated backend servers based on the listening rules and forwarding policies you configure. You can add one or more listeners to a load balancer.
Backend server group: contains one or more backend servers to receive requests routed by the listener. You need to add at least one backend server to a backend server group.
You can set a weight for each backend server based on their performance.
You can also configure health checks for a backend server group to check the health of each backend server. When a backend server is unhealthy, the load balancer stops routing new requests to this server.
Load Balancer Types¶
ELB provides shared load balancers and dedicated load balancers.
Dedicated load balancers have exclusive use of underlying resources, so that the performance of a dedicated load balancer is not affected by other load balancers. In addition, there are a wide range of specifications available for selection.
Note
In the eu-de region, you can create both dedicated and shared load balancers, and you can create either type of load balancers on the management console or by calling APIs.
In the eu-nl region, you can only create dedicated load balancers, either on the console or by calling APIs.
Shared load balancers are deployed in clusters and share underlying resources, so that the performance of a load balancer is affected by other load balancers. Shared load balancers were previously named enhanced load balancers.
For details about the differences between dedicated and shared load balancers, see Differences Between Dedicated and Shared Load Balancers.
Accessing ELB¶
You can use either of the following methods to access ELB:
Management console
Log in to the management console and choose Elastic Load Balance (ELB).
APIs
You can call APIs to access ELB. For details, see the Elastic Load Balancing API Reference.
Note
In the eu-de region, you can create both dedicated and shared load balancers, and you can create either type of load balancers on the management console or by calling APIs.
In the eu-nl region, you can only create dedicated load balancers, either on the console or by calling APIs.