All Products
Search
Document Center

Server Load Balancer:What is CLB?

Last Updated:Jul 31, 2024

Classic Load Balancer (CLB) distributes inbound network traffic across multiple backend servers based on forwarding rules. You can use CLB to improve the responsiveness and availability of your applications.

Overview

CLB uses virtual IP addresses to provide load balancing services for the backend pool, which consists of servers deployed in the same region. Network traffic is distributed across multiple backend servers based on forwarding rules. This ensures the performance and availability of applications.

By default, CLB monitors the health of backend servers and automatically isolates unhealthy backend servers. This eliminates single points of failure (SPOFs) and improves the availability of applications. In addition, CLB supports DDoS mitigation, which enhances the security of applications.

CLB components

image
Note

The unhealthy backend servers are displayed in gray, as shown in the preceding figure. CLB does not forward network traffic to unhealthy servers.

The following table describes the CLB components.

Component

Description

Instance

A CLB instance is an entity that provides load balancing services by distributing network traffic across backend servers. To get started with CLB, you must create a CLB instance and add at least one listener and two backend servers to the CLB instance.

Listener

Listeners check for client requests and forward the requests to backend servers. Listeners also perform health checks on backend servers.

Backend server

Backend servers are used to receive frontend requests. You can specify Elastic Compute Service (ECS) instances, elastic container instances, and elastic network interfaces (ENIs) as the backend servers of CLB. You can add backend servers to the default server group of a CLB instance. You can also add backend servers to vServer groups or primary/secondary server groups to manage the servers in batches. For more information, see the following topics:

Benefits

  • High availability

    CLB is fully redundant with a built-in zone-disaster recovery mechanism to ensure zero SPOFs.

    CLB can automatically scale on demand to ensure business continuity.

  • Scalability

    You can add and remove backend servers based on business requirements to improve the availability of applications.

  • Cost-effectiveness

    Compared with hardware load balancers, CLB can save up to 60% of costs.

  • Security

    You can integrate CLB with Alibaba Cloud Security to defend your applications against DDoS attacks of up to 5 Gbit/s.

  • High concurrency

    A CLB cluster supports hundreds of millions of concurrent connections and a CLB instance supports up to one million concurrent connections.

Work with CLB

You can use your Alibaba Cloud account to manage CLB by using one of the following methods:

  • CLB console: a web interface that you can use to manage your CLB service. You can create, use, or release CLB instances in the console. For more information, see Create and manage a CLB instance.

  • Alibaba Cloud SDKs: SDKs for Java, Go, PHP, Python, and other programming languages.

  • OpenAPI Explorer: allows you to retrieve and call API operations and dynamically generate SDK sample code.

  • Terraform: uses configuration files to call computing resources of Alibaba Cloud and other platforms that support Terraform. Terraform is an open source tool that implements version control.