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:Jan 22, 2025

If the current billing method for the network usage of your Elastic Compute Service (ECS) instance with a static public IP address does not align with your business needs, you can switch from pay-by-bandwidth to pay-by-traffic or vice versa.

Note

If you are using an Elastic IP Address (EIP) and need to change the billing method, see Switch between billing methods.

Billing methods for static public IP addresses

  • Pay-by-bandwidth: This method charges you based on the bandwidth value you set. The actual outbound bandwidth will not exceed this value, making it suitable for scenarios requiring stable bandwidth.

  • Pay-by-traffic: This postpaid method charges based on actual traffic usage. The specified bandwidth value serves as the maximum outbound bandwidth to prevent excessive costs due to traffic spikes. It is ideal for scenarios with fluctuating bandwidth needs.

    Important
    • With the Pay-by-traffic method, the inbound and outbound bandwidth peaks are limits and not guaranteed service levels. Bandwidth may be restricted during resource contention. For guaranteed bandwidth, opt for the Pay-by-bandwidth method.

    • The China (Hong Kong) region's BGP (Multi-ISP) Pro lines do not support the pay-by-traffic method.

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

The steps below will show you how to switch the billing method for public bandwidth on pay-as-you-go instances from pay-by-bandwidth to pay-by-traffic.

  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. Select the appropriate operation to change the public bandwidth based on the following scenarios.

    Important
    • For subscription-based ECS instances, if you have temporarily increased the bandwidth and decide to switch the billing method for public bandwidth from Pay-by-bandwidth to Pay-by-traffic, any active or pending temporary bandwidth increase orders will be canceled and refunded.

    • In scenarios with high traffic, opting for the Pay-by-traffic billing method for public bandwidth can lead to increased network traffic expenses. It is advisable to conduct a budget assessment beforehand to ensure compatibility with your financial plan. For guidance on selecting a public bandwidth billing method, see public bandwidth billing.

    Note

    Subscription instances with fixed bandwidth billing do not support switching from pay-by-bandwidth to pay-by-traffic.

    Single conversion

    1. Locate the instance you want to convert, and in the Operation column, select 更多 > Upgrade/Downgrade > Change Bandwidth For Pay-as-you-go Instance.

    2. In the Change Bandwidth For Subscription Instance dialog box, select Change Traffic Bandwidth Peak, and click Continue.

    3. In the Bandwidth Change dialog box, select Public Bandwidth billing method as Pay-by-traffic, and set the traffic bandwidth peak.

      更改流量-guoji

    4. Read and select ECS Service Terms, and click Confirm Change.

      The new configuration will take effect immediately after the conversion is complete.

    Batch conversion

    1. Select multiple instances for conversion, and at the bottom of the instance list, click More > Upgrade Or Downgrade > Change Bandwidth For Pay-as-you-go Instance.

    2. In the Bandwidth Change dialog box, select Public Bandwidth billing method as Pay-by-traffic, and set the traffic bandwidth peak.

      更改流量-guoji-piliang

    3. Read and select ECS Service Terms, and click Confirm Change.

      After completing the conversion according to the page prompts, the new configuration takes effect immediately.

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

The following instructions guide you on how to change the public bandwidth of a subscription instance or a pay-as-you-go instance from pay-by-traffic to pay-by-bandwidth.

  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. Choose the appropriate operation to change the public bandwidth based on the following scenarios.

    Single conversion (pay-as-you-go instance)

    1. Locate the instance you want to convert, and in the Actions column, select 更多 > Upgrade/Downgrade > Pay-as-you-go Instance Change Bandwidth.

    2. In the Bandwidth Change dialog box, select Pay-by-bandwidth as the Public Bandwidth Billing Method, and set the fixed bandwidth value.

      更改带宽-固定带宽-guojizhan

    3. Read and select ECS Terms Of Service, and click Confirm Change.

      The new configuration will take effect immediately after the conversion is complete.

    Single conversion (subscription instance)

    1. Locate the instance you want to convert, and in the Actions column, select 更多 > Upgrade/Downgrade > Subscription Instance Change Bandwidth.

    2. In the Subscription Instance Change Bandwidth dialog box, select Change Traffic Bandwidth Peak, and click Continue.

    3. In the Bandwidth Change dialog box, select Pay-by-bandwidth as the Public Bandwidth Billing Method, and set the fixed bandwidth value.

      更改带宽-固定带宽-guojizhan

    4. Read and select ECS Terms Of Service, and click Confirm Change.

      The new configuration will take effect immediately after the conversion is complete.

    Batch conversion (pay-as-you-go instance)

    1. Select multiple instances to be converted, and at the bottom of the instance list, select More > Upgrade/Downgrade > Pay-as-you-go Instance Change Bandwidth.

    2. In the Bandwidth Change dialog box, select Pay-by-bandwidth as the Public Bandwidth Billing Method, and set the fixed bandwidth value.

      更改带宽-固定带宽-guojizhan-piliang

    3. Read and select ECS Terms Of Service, and click Confirm Change.

      The new configuration will take effect immediately after the conversion is complete.

    Batch conversion (subscription instance)

    1. Select multiple instances to be converted, and at the bottom of the instance list, select More > Upgrade/Downgrade > Subscription Instance Change Bandwidth.

    2. In the Subscription Instance Change Bandwidth dialog box, select Change Traffic Bandwidth Peak, and click Continue.

    3. In the Bandwidth Change dialog box, select Pay-by-bandwidth as the Public Bandwidth Billing Method, and set the fixed bandwidth value.

      更改带宽-固定带宽-guojizhan

    4. Read and select ECS Terms Of Service, and click Confirm Change.

      The new configuration will take effect immediately after the conversion is complete.

References