A Classic Load Balancer (CLB) instance receives requests from clients and distributes the requests to backend servers. To use CLB, you must create a CLB instance and add listeners and backend servers to the CLB instance.
Alibaba Cloud provides Internet-facing and internal-facing CLB instances.
Internet-facing CLB instances
When you create an Internet-facing CLB instance, it is assigned a public IP address. You can associate your domain name with the public IP address. Internet-facing CLB instances receive requests from clients over the Internet and forward requests to backend servers based on the forwarding rules that you configure for listeners.
Internet-facing CLB instances have the following features:
Each Internet-facing CLB instance is assigned a public IP address. You cannot disassociate the public IP address from the CLB instance.
Subscription CLB instances support only the pay-by-bandwidth metering method. Pay-as-you-go CLB instances support the pay-by-bandwidth and pay-by-data-transfer metering methods.
Internal-facing CLB instances
Internal-facing CLB instances provide external services by using private IP addresses. Requests from the internal network of Alibaba Cloud are distributed to backend servers based on the forwarding rules that you configure for listeners.
You can associate elastic IP addresses (EIPs) with internal-facing CLB instances to provide Internet-facing services. Internal-facing CLB instances provide the following capabilities to support Internet access:
You can associate EIPs with internal-facing CLB instances and disassociate EIPs from internal-facing CLB instances based on your business requirements.
You can add the EIPs to an Internet Shared Bandwidth instance. An EIP that is added to an Internet Shared Bandwidth instance supports the subscription, pay-as-you-go, and pay-by-95th-percentile-bandwidth billing methods.
The network types supported by an internal-facing CLB instance vary based on the billing method of the CLB instance.
Subscription internal-facing CLB instances support the following network types:
Virtual private cloud (VPC)
If the network type if an internal-facing CLB instance is VPC, the private IP address of the CLB instance is assigned from the CIDR block of a vSwitch in the VPC specified by you. The CLB instance is accessible only from Elastic Compute Service (ECS) instances in the VPC.
If the network type of an internal-facing CLB instance is classic network, the private IP address of the CLB instance is assigned and managed by Alibaba Cloud. The CLB instance is accessible only from ECS instances in the classic network.Important
Internal-facing CLB instances of the classic network type are no longer available for purchase.
Pay-as-you-go internal-facing CLB instances support only VPCs.
Internal-facing CLB instances support PrivateLink. PrivateLink can distribute requests from clients to backend servers across VPCs based on the forwarding rules configured for listeners. For more information, see What is PrivateLink?
Only the pay-by-specification metering method supports high-performance CLB instances and shared-resource CLB instances. For more information, see Billing overview.
High-performance CLB instances
The following section describes three key metrics of high-performance CLB instances:
Maximum number of connections
The maximum number of concurrent connections that a CLB instance supports. When the number of existing concurrent connections reaches the upper limit, new connection requests are dropped.
Connections per second (CPS)
The number of new connections that are established per second. When the CPS value reaches the upper limit, new connection requests are dropped.
Queries per second (QPS)
The number of HTTP or HTTPS queries (requests) that can be processed per second. This metric is specific to Layer 7 listeners. When the QPS value reaches the upper limit, new connection requests are dropped.
|Specification||Maximum number of connections||CPS||QPS|
|Small I (slb.s1.small)||5,000||3,000||1,000|
|Medium I (slb.s2.small)||50,000||5,000||5,000|
|Medium II (slb.s2.medium)||100,000||10,000||10,000|
|Large I (slb.s3.small)||200,000||20,000||20,000|
|Large II (slb.s3.medium)||500,000||50,000||30,000|
|Super Large I (slb.s3.large)||1,000,000||100,000||50,000|
The maximum capacity of a pay-as-you-go CLB instance is the same as the capacity of a Super Large I (slb.s3.large) CLB instance.
If you require more concurrent connections at Layer 4, use Network Load Balancer (NLB). If you require a higher queries per second (QPS) value at Layer 7, use Application Load Balancer (ALB).
For more information about how to select the specification of a high-performance CLB instance, see FAQ about CLB.
Shared-resource CLB instances
Resources are shared among all shared-resource CLB instances. Therefore, the performance of shared-resource CLB instances is not guaranteed.
Shared-resource CLB instances are no longer available for purchase.
Differences between shared-resource and high-performance CLB instances
High-performance CLB instance
Shared-resource CLB instance
Service uptime guaranteed by the service-level agreement (SLA)
Server Name Indication (SNI) for multiple certificates
Blacklists and whitelists
Association with elastic network interfaces (ENIs)
Adding backend servers by specifying the secondary IP addresses of ENIs that are attached to Elastic Compute Service (ECS) instances
TLS security policies
WebSocket or WebSocket Secure
In the preceding table, a check mark (√) indicates that the feature is supported, and a hyphen (-) indicates that the feature is not supported.