All Products
Search
Document Center

Elastic Compute Service:Change the billing method for network usage of an ECS instance that uses a static public IP address

Last Updated:Nov 12, 2024

You can change the billing method for network usage of an Elastic Compute Service (ECS) instance that uses a static public IP address from pay-by-bandwidth to pay-by-traffic or from pay-by-traffic to pay-by-bandwidth. The static public IP address of the ECS instance is the public IP address assigned by the system.

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 in which bandwidth usage is 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 significantly 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. In scenarios where demands outstrip resource supplies, the maximum bandwidths 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

Note

BGP (Multi-ISP) Pro in the China (Hong Kong) region does not support the pay-by-traffic billing method.

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.

    Important
    • If you temporarily upgraded the bandwidth of a subscription ECS instance, the system cancels all pending and effective temporary bandwidth upgrade orders for the instance and processes a refund after you change the billing method for network usage of the instance from pay-by-bandwidth to pay-by-traffic.

    • In high-traffic scenarios, your network traffic fees may increase if you select the pay-by-traffic billing method for network usage. To ensure that the billing method for network usage meets your budget plan, we recommend that you perform a budget assessment in advance. For information about how to select a billing method for network usage, see the Billing methods for network usage section of the "Public bandwidth" topic.

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

    • Configure multiple ECS instances: Select the instances that you want to manage 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. On the Change Bandwidth page, select Pay-By-Traffic in the Bandwidth section and specify a maximum bandwidth value.

  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 follow the on-screen instructions to perform the subsequent operations.

    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 a single ECS instance: Find the instance that you want to manage and click the 更多 icon in the Actions column. In the dialog box that appears, click Change Subscription/Pay-as-you-go Instance Bandwidth in the Upgrade/Downgrade section.

    • Configure multiple ECS instances: Select the instances that you want to manage 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. On the Change Bandwidth page, select Pay-By-Bandwidth in the Bandwidth section and specify 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-right corner of the page, and then follow the on-screen instructions to perform the subsequent operations.

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

References