All Products
Search
Document Center

Elastic Compute Service:Change the billing method for network usage

Last Updated:Mar 29, 2024

You can change the billing method for network usage of an Elastic Compute Service (ECS) instance that uses an auto-assigned public IP address. If the billing method for network usage of such an instance does not meet your business requirements, you can change the billing method from pay-by-bandwidth to pay-by-traffic or from pay-by-traffic to pay-by-bandwidth.

  • Pay-by-bandwidth: the billing method in which you are charged based on the bandwidth that you specify. The actual outbound bandwidth of the instance does not exceed the specified bandwidth. This billing method is suitable for scenarios that require stable bandwidth.

  • Pay-by-traffic: the pay-as-you-go billing method in which you are charged based on the actual traffic volume. If you use this billing method, the specified bandwidth is the maximum bandwidth for outbound traffic. The bandwidth limit prevents out-of-control fees caused by traffic bursts. This billing method is suitable for scenarios in which bandwidth requirements are highly variable.

    Important

    If the pay-by-traffic billing method is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidths instead of guaranteed performance specifications. In scenarios where demands outstrip resource supplies, the maximum bandwidth values may not be reached. If you want guaranteed bandwidths for your instances, use the pay-by-bandwidth billing method for network usage.

Change from pay-by-bandwidth to pay-by-traffic

The following section describes how to change the billing method for network usage from pay-by-bandwidth to pay-by-traffic for a subscription or pay-as-you-go instance.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > Instances.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Find the instances for which you want to change the billing method for network usage. Then, perform a suitable operation to go to the configuration page based on the billing method of the instances.

    Instance billing method

    Change the billing method for a single pay-as-you-go instance

    Change the billing method for multiple pay-as-you-go instances

    Subscription

    Find the instance for which you want to change the billing method for network usage and choose 更多 > Change Configurations > Bandwidth Configuration in the Actions column.

    Important

    If you have performed a temporary bandwidth upgrade on the instance, changing the billing method from pay-by-bandwidth to pay-by-traffic cancels all temporary bandwidth upgrade orders for the instance, including the orders that are in effect and are pending. You are refunded for the temporary bandwidth upgrade orders that are canceled.

    1. Select the instances for which you want to change the billing method for network usage. In the lower part of the page, choose More > Upgrade/Downgrade > Change Configurations.

    2. Confirm the selected instances and click Next.

    3. Click the Bandwidth Configuration tab.

    4. Select Change Subscription Instance Bandwidth in the Bandwith Configuration section.

    5. Click Continue.

    6. Select Downgrade Bandwidth.

    7. Click Continue.

    Pay-as-you-go

    1. Find the instance for which you want to change the billing method for network usage and choose 更多 > Upgrade/Downgrade > Change Configurations in the Actions column.

    2. Click the Bandwidth Configuration tab.

    3. Select Change Pay-as-you-go Instance Bandwidth.

    4. Click Continue.

    1. Select the instances for which you want to change the billing method for network usage. In the lower part of the page, choose More > Upgrade/Downgrade > Change Configurations.

    2. Confirm the selected instances and click Next.

    3. Click the Bandwidth Configuration tab.

    4. Select Change Pay-as-you-go Instance Bandwidth in the Bandwith Configuration section.

    5. Click Continue.

  5. Find the Bandwidth section, select Pay-By-Traffic, and then set a peak bandwidth value.

  6. Read the notes and terms of service. Select ECS Service Terms.

  7. Confirm the configuration costs, click Confirm in the lower part of the page, and then follow the on-screen instructions to perform the subsequent operations.

    The new configurations immediately take effect after you change the billing method for network usage.

Important

After you change the billing method for network usage of an instance that uses an auto-assigned public IP address from pay-by-bandwidth to pay-by-traffic, you are charged for the network usage of the instance based on the amount of traffic. If you convert the auto-assigned public IP address to an elastic IP address (EIP) by performing the operations described in Convert the public IP address of an ECS instance in a VPC to an EIP and then change the billing method of the EIP from pay-as-you-go to subscription by performing the operations described in Switch metering methods, a price difference may be present. Proceed with caution. For information about the price difference, see the "An instance has an auto-assigned public IP address that uses the pay-by-bandwidth metering method. After I change the metering method of the auto-assigned public IP address to pay-by-traffic, convert the auto-assigned public IP address into an EIP, and then change the billing method of the EIP to subscription, a price difference occurs. Why?" question in the Billing FAQ topic.

Change from pay-by-traffic to pay-by-bandwidth

The following section describes how to change the billing method for network usage from pay-by-traffic to pay-by-bandwidth for a subscription or pay-as-you-go instance.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > Instances.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Find the instances for which you want to change the billing method for network usage. Then, perform a suitable operation to go to the configuration page based on the billing method of the instances.

    Instance billing method

    Change the billing method for a single pay-as-you-go instance

    Change the billing method for multiple pay-as-you-go instances

    Subscription

    Find the instance for which you want to change the billing method for network usage and choose 更多 > Upgrade/Downgrade > Upgrade in the Actions column.

    1. Select the instances for which you want to change the billing method for network usage. In the lower part of the page, choose More > Upgrade/Downgrade > Change Configurations.

    2. Confirm the selected instances and click Next.

    3. Click the Bandwidth Configuration tab.

    4. Select Change Subscription Instance Bandwidth.

    5. Click Continue.

    6. Select Modify Maximum Bandwidth Value.

    7. Click Continue.

    Pay-as-you-go

    1. Find the instance for which you want to change the billing method for network usage and choose 更多 > Upgrade/Downgrade > Change Configurations in the Actions column.

    2. Click the Bandwidth Configuration tab.

    3. Select Change Pay-as-you-go Instance Bandwidth.

    4. Click Continue.

    1. Select the instances for which you want to change the billing method for network usage. In the lower part of the page, choose More > Upgrade/Downgrade > Change Configurations.

    2. Confirm the selected instances and click Next.

    3. Click the Bandwidth Configuration tab.

    4. Select Change Pay-as-you-go Instance Bandwidth.

    5. Click Continue.

  5. Find the Bandwidth section, select Pay-By-Bandwidth, and then set a bandwidth value.

  6. Read the notes and terms of service. Select ECS Service Terms.

  7. Confirm the configuration costs, click Confirm in the lower part of the page, and then follow the on-screen instructions to perform the subsequent operations.

    The new configurations immediately take effect after you change the billing method for network usage.

References