All Products
Search
Document Center

Elastic Compute Service:Change the billing method for network usage

Last Updated:May 23, 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 from pay-by-bandwidth to pay-by-traffic, or the other way around.

Note

For information about how to change the billing method for an ECS instance that uses an elastic IP address (EIP), see Switch metering methods.

  • Pay-by-bandwidth: charges fees based on the bandwidth that you specified. The actual outbound bandwidth of the instance does not exceed the specified bandwidth. This billing method is suitable for scenarios where bandwidth usage is fairly predictable.

  • Pay-by-traffic: charges fees 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 usage may dramatically fluctuate.

    Important

    If the pay-by-traffic billing method is used, the ECS instance has the maximum inbound and outbound bandwidths. However, the bandwidths are not guaranteed. The bandwidths may be limited when resource demands outstrip supplies. 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. Navigate to the configuration page based on your requirements.

    • Configure only a single ECS instance: Find the target instance and click 更多 in the Actions column. In the dialog box that appears, click Change Subscription/Pay-as-you-go Instance Bandwidth in the Upgrade/Downgrade section.

      Important

      For a subscription ECS instance, changing the billing method to pay-by-traffic cancels and refunds all temporary bandwidth upgrade orders that have or have not taken effect.

    • Configure multiple ECS instances at once: Select the target instances and click More in the lower part of the page. In the dialog box that appears, click Change Subscription/Pay-as-you-go Instance Bandwidth in the Upgrade/Downgrade section.

  5. In the Change Subscription/Pay-as-you-go Instance Bandwidth dialog box, select Downgrade Bandwidth and click Continue. On the page that appears, click the Pay-By-Traffic tab and configure the maximum bandwidth.

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

  7. Confirm the configuration costs, click Downgrade Now in the lower-right corner of the page, and then perform the subsequent operations as instructed on the page.

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

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. Navigate to the configuration page based on your requirements.

    • Configure only a single ECS instance: Find the target instance and click 更多 in the Actions column. In the dialog box that appears, click Change Instance Bandwidth in the Upgrade/Downgrade section.

    • Configure multiple ECS instances at once: Select the target instances and click More in the lower part of the page. In the dialog box that appears, click Change Subscription/Pay-as-you-go Instance Bandwidth in the Upgrade/Downgrade section.

  5. In the Change Subscription/Pay-as-you-go Instance Bandwidth dialog box, select Modify Maximum Bandwidth Value and click Continue. On the page that appears, click the Pay-By-Bandwidth tab and configure the bandwidth.

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

  7. Confirm the configuration costs, click Confirm in the lower-right corner of the page, and then perform the subsequent operations as instructed on the page.

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

Reference