Product overview

Last Updated: Jul 10, 2017

What is Server Load Balancer?

Alibaba Cloud Server Load Balancer is a traffic distribution control service, which distributes the incoming application traffic among multiple ECS instances according to the scheduling algorithm and listening rules.

By setting a virtual IP address, the Server Load Balancer service virtualizes the ECS instances located in the same region into a high-performance, and highly available application service pool. The client requests are distributed to the cloud server pool according to the defined listening rules. This increases the fault tolerance of your applications.

Besides, the Server Load Balancer service checks the health status of the ECS instances in the cloud server pool and automatically isolates the ECS server of the abnormal state. This resolves the single point of failure (SPOF) problem and improves the overall service capability of the application.

In addition to the standard load balancing capabilities, the TCP and HTTP listening also can defend the DDoS attacks, which enhances the protection capability of the application servers.

Components of Server Load Balancer

The Server Load Balancer service consists of three parts: a Server Load Balancer instance, one or more listeners and multiple backend servers.

As shown in the following figure, after the Server Load Balancer instance receives a client request, the listener forwards the request to the corresponding backend ECS instances according to the configured listening rules.

1

  • Server Load balancer Instance: If you want to use the Server Load Balancer service, you must create a Server Load Balancer instance. You can add multiple listeners and backend servers to a Server Load Balancer instance.

  • Listener: Before using the Server Load Balancer service, you must add at least one listener to the Server Load Balancer instance, which defines how the client requests are forwarded to the backend servers.

  • Backend server: The ECS instances added to the Server Load Balancer instances, which are the backend servers used to process the distributed requests. You can add the ECS instances separately to the backend server pool, or add them in batch through a VServer group or master-slave server group.

    By default, the backend servers are maintained in the Server Load Balancer instance dimension. All listeners can only forward requests to the same ECS instances with the same backend port configured in the listeners. With the VServer group function, you are allowed to maintain the backend servers in the listener dimension. You can create different VServer groups for different listeners, that is, the listeners in a Server Load Balancer instance can forward requests to different backend servers with different ports.

    In addition, the Layer-7 load balancing service supports configuring domain name or URL forwarding rules. The listener can forward the requests from different domain names or URLs to different VServer groups.

Benefits

  • High availability

    • Designed to work in full-redundancy mode without single points of failure (SPOF). Server Load Balancer supports local and cross-region disaster tolerance when used together with DNS, delivering service availability of up to 99.95%.

    • Server Load Balancer can scale its service flexibly based on the application load without interrupting external services during traffic fluctuation.

  • Low cost

    Server Load Balancer is 60% more cost-efficient than traditional hardware load-balancing systems. By providing free access to private network instances without generating any O&M cost, the service completely removes the need to purchase expensive load-balancing equipment.

  • Security

    Combined with Alibaba Cloud Security, Server Load Balancer can defend against DDoS attacks, such as CC and SYN flood attacks.

Thank you! We've received your feedback.