Modify the configuration or billing method of a pay-as-you-go CLB instance.
-
As of 00:00:00 on December 1, 2024 (UTC+8), subscription CLB instances can no longer be purchased, and pay-as-you-go instances can no longer be converted to subscription. End of Sale for Subscription Classic Load Balancer (CLB) Instances.
-
As of 00:00:00 on January 1, 2026 (UTC+8), pay-by-specification CLB instances can no longer be created, and pay-by-usage instances can no longer be switched to pay-by-specification. End of Sale for Pay-by-Specification Classic Load Balancer (CLB) Instances.
Pay-as-you-go billing methods
The pay-as-you-go model includes two instance billing methods: pay-by-usage and pay-by-specification. The following table shows their relationship.
|
Instance billing method |
Instance type |
Public network billing method |
|
pay-by-usage |
public network |
pay-by-data-transfer |
|
private network |
Not applicable |
|
|
pay-by-specification (discontinued) |
public network |
pay-by-data-transfer |
|
pay-by-bandwidth |
||
|
private network |
Not applicable |
Switch from pay-by-specification to pay-by-usage
Switching from pay-by-specification to pay-by-usage does not interrupt services.
Rules
-
Pay-by-usage instances require no specification. A single instance supports up to 1,000,000 concurrent connections, 100,000 CPS, 50,000 QPS, and 5 Gbps bandwidth.
Note-
Switching from pay-by-specification to pay-by-usage may degrade performance for Super I or higher specifications. Proceed with caution.
-
By default, CLB specifications above Super I are unavailable. For Layer 4 workloads requiring more concurrent connections, use NLB. For Layer 7 workloads requiring higher QPS, use ALB.
-
-
Billing data in the Billing Management console may take one to two hours to update.
Effective time
The change takes effect immediately if the public network billing method stays the same. If you also change the public network billing method (for example, from pay-by-bandwidth to pay-by-data-transfer), all changes take effect at 00:00:00 the next day. You can cancel pending changes before they take effect. Cancel a pending configuration change.
|
Instance type |
Before change |
After change |
Effective time |
||
|
public network |
pay-by-specification |
pay-by-bandwidth |
pay-by-usage |
pay-by-data-transfer |
Takes effect at 00:00:00 the next day |
|
pay-by-specification |
pay-by-data-transfer |
pay-by-usage |
pay-by-data-transfer |
Effective immediately |
|
|
private network |
pay-by-specification |
Not applicable |
pay-by-usage |
Not applicable |
Effective immediately |
Billing impact
After switching to pay-by-usage, you no longer specify an instance specification. LCU fees are charged based on actual usage, as described in Pay-as-you-go.
Scenarios
Suitable for periodic or highly fluctuating traffic.
Procedure
-
Log on to the CLB console.
-
Select the region where the instance is deployed.
-
On the Instances page, find the instance you want to manage and choose
> Modify Configuration in the Actions column. -
On the Upgrade/Downgrade page, set Instance Billing Method to Pay-by-usage.
-
Read and select the terms of service, click Create Now, and then complete the payment.
You can view the new billing method of the instance on the Instance Details tab.
Scale a pay-by-specification instance
|
Item |
Description |
|
Modification rules |
You can modify the specification, public network billing method, and bandwidth of a pay-by-specification instance. |
|
Effective time |
Changes take effect immediately if the public network billing method stays the same. If you also change the billing method (for example, from pay-by-bandwidth to pay-by-data-transfer), all changes take effect at 00:00:00 the next day. You can cancel pending changes before they take effect. Cancel a pending configuration change. Note
If you change both the specification and the public network billing method, all changes take effect at 00:00:00 the next day. |
|
Billing impact |
After modification, billing follows the new settings, as described in Pay-as-you-go. |
|
Scenarios |
Scale the instance when the current specification, bandwidth, or billing method no longer meets your needs. |
-
Log on to the CLB console.
-
Select the region where the instance is deployed.
-
On the Instances page, find the instance you want to manage and choose
> Modify Configuration in the Actions column. -
On the Upgrade/Downgrade page, configure the following parameters.
Parameter
Description
Instance Billing Method
Valid values: Pay-by-specification and Pay-by-usage.
To scale a pay-by-specification instance, select Pay-by-specification.
Instance Specification
Select an instance specification.
Each specification provides different performance metrics, as described in Instance types.
Instance Type
Displays the current instance type. This value cannot be changed.
Public Network Billing Method
Select a billing method for the public network connection.
-
Pay-by-data-transfer: Charges based on data transfer.
-
Pay-by-bandwidth: Charges based on a fixed bandwidth.
NoteFor private network instances, only pay-by-data-transfer is displayed. No data transfer fees apply.
Bandwidth
Select a bandwidth value.
Available only when Public Network Billing Method is set to Pay-by-bandwidth.
Listener settings
Set a peak bandwidth for each listener. The value must be a positive integer, and the total bandwidth of all listeners cannot exceed the instance bandwidth.
Available only when Public Network Billing Method is set to Pay-by-bandwidth.
-
-
Read and select the terms of service, click Create Now, and then complete the payment.
You can view the updated instance specification, public network billing method, or bandwidth on the Instance Details tab.
Cancel a pending configuration change
-
Log on to the CLB console.
-
Select the region where the instance is deployed.
-
On the Instances page, find the instance that you want to manage, and hover the pointer over Pending Configuration in the Status column.
-
Click Cancel Configuration Update, and in the Cancel Configuration Update dialog box, click OK.
FAQ
Switching from performance-shared to performance-guaranteed instances
-
CLB instances are either performance-guaranteed or performance-shared. Performance-shared instances can no longer be created.
-
Switching from performance-shared to performance-guaranteed is irreversible.
-
This switch does not affect services or change the instance IP address. Perform the switch during off-peak hours, or use DNS to balance load across instances beforehand.
Related documents
Guides:
API reference:
-
ModifyLoadBalancerInstanceChargeType: Changes the billing method for a pay-as-you-go CLB instance.
-
ModifyLoadBalancerInstanceSpec: Modifies the instance specification for a CLB instance.