All Products
Search
Document Center

Server Load Balancer:FAQ about CLB instances

Last Updated:Jan 26, 2024

This topic provides answers to some frequently asked questions (FAQ) about Classic Load Balancer (CLB).

What is a high-performance CLB instance?

High-performance CLB instances provide reliable performance. Shared-resource CLB instances share resources with each other and their performance is not guaranteed.

Before Alibaba Cloud released high-performance CLB instances, all CLB instances were shared-resource CLB instances. You can view the instance type in the CLB console.

Important

Shared-resource instances are no longer available for purchase.

The following section describes the metrics of high-performance CLB instances:

  • Maximum number of connections

    The maximum number of concurrent connections that a CLB instance supports. If 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 can be established per second. If CPS 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. If QPS reaches the upper limit, new connection requests are dropped.

The following table describes the specifications of high-performance CLB instances provided by Alibaba Cloud. The available specifications vary based on regions. You can go to the buy page of CLB instances to view the available specifications in each region.

Table 1. Specifications of high-performance CLB instances
SpecificationMaximum number of connectionsCPSQPS
Small I (slb.s1.small)5,0003,0001,000
Medium I (slb.s2.small)50,0005,0005,000
Medium II (slb.s2.medium)100,00010,00010,000
Large I (slb.s3.small)200,00020,00020,000
Large II (slb.s3.medium)500,00050,00030,000
Super Large I (slb.s3.large)1,000,000100,00050,000
Note
  • The maximum capacity of a pay-by-LCU CLB instance is the same as a Super Large I (slb.s3.large) CLB instance.

  • If you require a larger number of connections at Layer 4, use Network Load Balancer (NLB). If you require more queries per second at Layer 7, use Application Load Balancer (ALB).

What are the billing rules of high-performance CLB instances?

For more information about billing of pay-as-you-go CLB instances, see Pay-as-you-go.

Pay-by-specification

Total fees for an Internet-facing high-performance CLB instance = Instance fee + Data transfer fee or bandwidth fee + Specification fee

You are charged a specification fee on an hourly basis based on the specification that you select. For example, if you select the Super Large I (slb.s3.large) specification for a CLB instance, but the performance metrics of an hour are the same as the performance metrics of a Large I (slb.s3.small) CLB instance, you are still charged a specification fee based on the Super Large I (slb.s3.large) specification for the hour.

Pay-by-LCU

Total fees for an Internet-facing high-performance CLB instance = Instance fee + Data transfer fee + Loadbalancer Capacity Unit (LCU) fee

If you use the pay-by-LCU metering method, you do not need to specify a specification for a CLB instance. The CLB instance automatically adds or releases resources on demand. You are charged an LCU fee based on the actual resources that are consumed per hour.

Am I charged a specification fee for an internal-facing CLB instance?

You are not charged a specification fee for a shared-resource internal-facing CLB instance. You are charged a specification fee for a high-performance internal-facing CLB instance.

You are charged specification fees for internal-facing CLB instances in the same way you are charged for Internet-facing CLB instances. You are not charged instance fees or data transfer fees for internal-facing CLB instances.

How do I choose among the specifications for high-performance CLB instances?

  • If your workloads expect only minor fluctuations, we recommend that you select pay-by-specification. You are charged a specification fee on an hourly basis based on the specification that you select.

  • If your workloads expect periodic or large fluctuations, we recommend that you select pay-by-LCU. Pay-by-LCU CLB instances can automatically scale resources on demand. In addition, you do not need to specify a specification. You are charged for consumed LCUs on an hourly basis.

按规格付费与CLCU付费对比

Why is a high-performance CLB instance unable to reach the performance limit defined in the specification?

This issue can be explained by the cask theory.

High-performance CLB instances do not guarantee that the three metrics can reach the upper limits of a specification at the same time. If one of the metrics reaches the upper limit, the instance performance is limited.

For example, you purchase a high-performance CLB instance of the slb.s3.small specification. When QPS reaches 20,000, new connection requests are dropped by the CLB instance even if the number of concurrent connections has not reached 200,000.

Can I change the specification of a high-performance CLB instance?

Yes, you can upgrade a shared-resource CLB instance to a high-performance CLB instance.

you can change the specification of a high-performance CLB instance in the CLB console. For more information, see Modify the configurations of pay-as-you-go CLB instances.

Note
  • You can change only shared-resource CLB instances to high-performance CLB instances. You cannot change high-performance CLB instances to shared-resource CLB instances.
  • When you upgrade a shared-resource CLB instance to a high-performance CLB instance, your services are not affected and the IP address of the CLB instance remains unchanged.

    We recommend that you upgrade a shared-resource CLB instance to a high-performance CLB instance during off-peak hours. You can also configure DNS resolution to replace your current load balancing service before you upgrade the CLB instance.

  • The IP addresses of CLB instances remain unchanged when you change instance specifications.

Why does the instance specification remain unchanged after I change the specification of a high-performance CLB instance?

If you change the metering method (pay-by-bandwidth or pay-by-data-transfer) when you change the specification of a high-performance CLB instance, the new instance specification and the new metering method take effect at 00:00:00 the next day.

What are the features of shared-resource CLB instances?

Question

Answer

Can I purchase shared-resource CLB instances?

No, shared-resource CLB instances are no longer available for purchase.

Do shared-resource CLB instances provide different specifications?

The performance of shared-resource CLB instances is not guaranteed. Therefore, you cannot specify the specification of a shared-resource CLB instance.

Am I charged specification fees for existing shared-resource CLB instances?

No, you are not charged specification fees for existing shared-resource CLB instances.

You are charged specification fees only if you upgrade the shared-resource CLB instances to high-performance CLB instances. After the free trial for high-performance CLB instances ends, you are charged specification fees if you use high-performance CLB instances.

Can I upgrade a shared-resource CLB instance to a high-performance CLB instance?

Yes, you can upgrade a shared-resource CLB instance to a high-performance CLB instance.

  • After you change a shared-resource CLB instance to a high-performance CLB instance, you are charged a specification fee.

  • You can change only shared-resource CLB instances to high-performance CLB instances. You cannot change high-performance CLB instances to shared-resource CLB instances.

The following table describes the differences between shared-resource CLB instances and high-performance CLB instances.

Item

Shared-resource CLB instance

High-performance CLB instance

Resource allocation

Shared resources

Exclusive resources

Service uptime guaranteed by terms of service level agreement (SLA)

Not supported

99.95%

IPv6

×

Server Name Indication (SNI)

×

Blacklists and whitelists

×

Association with elastic network interfaces (ENIs)

×

Add secondary IP addresses of ENIs that are associated with Elastic Compute Service (ECS) instances

×

HTTP-to-HTTPS redirection

×

Consistent hashing

×

TLS security policies

×

HTTP2

×

Websocket(S)

×

Can I associate an EIP with the static public IP address of an Internet-facing CLB instance?

No, you cannot directly associate an EIP with the static public IP address of an Internet-facing CLB instance.

However, you can associate an EIP with a CLB instance using one of the following methods: