All Products
Search
Document Center

Server Load Balancer:Modify the configurations of a pay-as-you-go CLB instance

Last Updated:Sep 13, 2024

You can modify the configurations of pay-as-you-go Classic Load Balancer (CLB) instances to meet your business requirements.

Overview of the pay-as-you-go billing method

Pay-as-you-go CLB instances support the pay-by-LCU and pay-by-specification metering methods. The following table describes the metering methods for each type of CLB instance and the metering methods for Internet data transfer.

Metering method

Instance type

Metering method of Internet data transfer

Pay-by-LCU

Internet-facing

Pay-by-data-transfer

Internal-facing

N/A

Pay-by-specification

Internet-facing

Pay-by-data-transfer

Pay-by-bandwidth

Internal-facing

N/A

Switch from pay-by-specification to pay-by-LCU

You can change the metering method of your CLB instance based on your business requirements. Changes of metering methods do not interrupt your services.

Rules for changing metering methods

  • Alibaba Cloud provides the same specification for all pay-by-LCU CLB instances. Each pay-by-LCU CLB instance supports up to 1,000,000 concurrent connections, 100,000 new connections, 50,000 queries per second (QPS), and 5 Gbit/s of bandwidth.

    Note
    • If the specification of your current CLB instance is Super Large I or higher, and you change the metering method from pay-by-specification to pay-by-LCU, the performance of your instance may be degraded.

    • By default, Alibaba Cloud no longer offers CLB instances of Super Large I or higher. If you require Layer 4 load balancing that supports more concurrent connections, use Network Load Balancer (NLB). If you require Layer 7 load balancing that provides higher QPS, use Application Load Balancer (ALB).

  • After you change the metering method, the bill is updated after 1 to 2 hours.

Effective time

If you change a pay-by-specification CLB instance to a pay-by-LCU CLB instance without changing the metering method for Internet data transfer, the change immediately takes effect. If you also change the metering method for Internet data transfer (from pay-by-bandwidth to pay-by-data-transfer), the changes take effect at 00:00:00 the next day. You cannot modify the configuration of the CLB instance before the changes take effect.

Instance type

Before the change

After the change

Effective time

Internet-facing

Pay-by-specification

Pay-by-bandwidth

Pay-by-LCU

Pay-by-data-transfer

At 00:00:00 the next day

Pay-by-specification

Pay-by-data-transfer

Pay-by-LCU

Pay-by-data-transfer

Immediately

Internal-facing

Pay-by-specification

Pay-by-data-transfer

Pay-by-LCU

Pay-by-data-transfer

Immediately

Impacts on billing

After you change the metering method of a CLB instance from pay-by-specification to pay-by-LCU CLB, you do not need to select a specification for the CLB instance. You are charged a Load Balancer Capacity Unit (LCU) fee based on the actual usage. For more information about LCUs and their prices, see Pay-as-you-go.

Scenarios

The pay-by-LCU metering method is ideal for scenarios in which workloads expect periodic or large fluctuations.

Procedure

  1. Log on to the CLB console.

  2. Select the region where the CLB instance is deployed.

  3. On the Instances page, find the instance that you want to manage and choose 更多 > Change Specification > Change Specifications in the Actions column.

  4. On the Upgrade/Downgrade page, set Instance Billing Method to Pay-by-CLCU.

  5. Select the Terms of Service, click Buy Now, and then complete the payment.

    You can view the new metering method of the instance on the Instance Details page.

Change the metering method of a CLB instance from pay-by-LCU to pay-by-specification

Parameter

Description

Rules for changing metering methods

You can change the metering method of a CLB instance from pay-by-LCU to pay-by-specification based on business requirements.

Effective time

If you change a pay-by-LCU CLB instance to a pay-by-specification CLB instance without changing the metering method for Internet data transfer, the change immediately takes effect. If you also change the metering method for Internet data transfer (such as from pay-by-data-transfer to pay-by-bandwidth), the changes take effect at 00:00:00 the next day.

Note

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

Impacts on billing

When you change a pay-by-LCU CLB instance to a pay-by-specification CLB instance, you must specify a specification. You are charged based on the specification instead of LCUs. For more information about specification fees and LCU fees, see Specification fees and LCU fees.

Scenarios

The pay-by-specification metering method is ideal for scenarios in which workloads are stable.

  1. Log on to the CLB console.

  2. In the top navigation bar, select the region where the CLB instance is deployed.

  3. On the Instances page, find the CLB instance that you want to manage and choose 更多 > Change Specification > Change Specifications in the Actions column.

  4. On the Upgrade/Downgrade page, configure the following parameters.

    Parameter

    Description

    Instance Billing Method

    Select an instance metering method. Valid values: Pay-By-CLCU and Pay-By-Specification.

    In this example, Pay-By-Specification is selected.

    Specification

    Select a specification.

    The performance metrics of a CLB instance varies based on the instance specification. For more information, see Instance types.

    SLB instance

    The instance type is displayed. You cannot change the instance type.

    Internet Data Transfer Fee

    Select a metering method for Internet data transfer. This method is used to calculate the resource usage over the Internet.

    • By traffic: If you use an Internet-facing CLB instance, you are charged based on the data transfer.

    • By bandwidth: If you use an Internet-facing CLB instance, you are charged based on the maximum bandwidth.

    Note

    For an internal-facing CLB instance, only By traffic is displayed. However, you are not charged for Internet data transfer.

    SLB bandwidth max

    Specify a maximum bandwidth value for the CLB instance.

    This parameter is displayed only if you set Internet Billing Method to By bandwidth.

    Configure Listener

    The information about listener configurations is displayed. You must specify a maximum bandwidth value for each listener. The maximum bandwidth value that you specify for each listener must be an integer greater than 0. In addition, the sum of the maximum bandwidth of all listeners added to the CLB instance cannot exceed the maximum bandwidth of the CLB instance.

    This parameter is displayed only if you set Internet Billing Method to By bandwidth.

  5. Select the Terms of Service, click Buy Now, and then complete the payment.

Upgrade or downgrade a pay-by-specification CLB instance

Item

Description

Rules for changing specifications

You can change the specification, metering method for Internet data transfer, and bandwidth value of a pay-by-specification instance.

Effective time

If you upgrade or downgrade a pay-by-specification CLB instance without changing the metering method for Internet data transfer, the change immediately takes effect. If you change the metering method for Internet data transfer (such as from pay-by-bandwidth to pay-by-data-transfer) when you upgrade or downgrade a pay-by-specification CLB instance, the changes take effect at 00:00:00 the next day.

Note

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

Impacts on billing

After you change the specification, metering method for Internet data transfer, or bandwidth value of a pay-by-specification instance, you are charged based on the new configuration. For more information, see Pay-as-you-go.

Scenarios

If the specification, metering method for Internet data transfer, or bandwidth value of your CLB instance does not meet your business requirements, you can upgrade or downgrade the CLB instance.

  1. Log on to the CLB console.

  2. In the top navigation bar, select the region where the CLB instance is deployed.

  3. On the Instances page, find the CLB instance that you want to manage and choose 更多 > Change Specification > Change Specifications in the Actions column.

  4. On the Upgrade/Downgrade page, configure the following parameters.

    Parameter

    Description

    Instance Billing Method

    Select an instance metering method. Valid values: Pay-By-CLCU and Pay-By-Specification.

    Set the parameter to Pay-By-Specification.

    Specification

    Select a specification. You can upgrade or downgrade the specification.

    The performance of a CLB instance varies based on the specification. For more information, see CLB instance overview.

    SLB instance

    The instance type is displayed. You cannot change the instance type.

    Internet Data Transfer Fee

    Select a metering method for Internet data transfer. This method is used to calculate the resource usage over the Internet.

    • By traffic: If you use an Internet-facing CLB instance, you are charged based on the data transfer.

    • By bandwidth: If you use an Internet-facing CLB instance, you are charged based on the maximum bandwidth.

    Note

    For an internal-facing CLB instance, only By traffic is displayed. However, you are not charged for Internet data transfer.

    SLB bandwidth max

    Specify a maximum bandwidth value for the CLB instance.

    This parameter is displayed only if you set Internet Billing Method to By bandwidth.

    Configure Listener

    The information about listener configurations is displayed. You must specify a maximum bandwidth value for each listener. The maximum bandwidth value that you specify for each listener must be an integer greater than 0. In addition, the sum of the maximum bandwidth of all listeners added to the CLB instance cannot exceed the maximum bandwidth of the CLB instance.

    This parameter is displayed only if you set Internet Billing Method to By bandwidth.

  5. Select the Terms of Service, click Buy Now, and then complete the payment.

    You can view the new specification, metering method for Internet data transfer, or maximum bandwidth of the CLB instance on the Instance Details tab.

FAQ

What are the items that I must take note of if I want to change a shared-resource CLB instance to a high-performance CLB instance?

  • CLB provides high-performance instances and shared-resource instances. Shared-resource instances are no longer available for purchase.

  • 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 change a shared-resource CLB instance to a high-performance CLB instance, your workloads are not affected and the IP address of the CLB instance remains unchanged. We recommend that you change a shared-resource CLB instance to a high-performance CLB instance during off-peak hours or use Alibaba Cloud DNS (DNS) to switch the user traffic to another CLB instance first.

References

API references: