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

Introduction

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.

CLB monitors the health of backend servers and does not distribute network traffic to unhealthy backend servers. This eliminates single points of failure (SPOFs) and improves the availability of applications. CLB also protects your applications against DDoS attacks.

CLB components

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

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 servers Backend servers receive requests forwarded by CLB. You can specify Elastic Compute Service (ECS) instances, elastic container instances, and elastic network interfaces (ENIs) as backend servers. 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.

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 backend servers to improve the availability of applications. You can also remove backend servers anytime.

  • 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 protect 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.