Change bandwidth billing for a static public IP

更新时间:
复制 MD 格式

If the current bandwidth billing method for the static public IP address of your ECS instance no longer meets your needs, you can change the billing method from pay-by-bandwidth to pay-by-traffic, or from pay-by-traffic to pay-by-bandwidth.

Note

If you use an elastic IP address (EIP) and need to change its billing method, see Change billing methods.

Bandwidth billing for a static public IP

  • Pay-by-bandwidth: This method bills you based on a specified bandwidth value. Your outbound bandwidth will not exceed this limit. This billing method is suitable for business scenarios that require stable network bandwidth.

  • Pay-by-traffic: This postpaid method bills you based on your actual data transfer. You set a peak bandwidth to limit your maximum outbound bandwidth and prevent unexpected costs from traffic spikes. This billing method is suitable for business scenarios with fluctuating network bandwidth demands.

    Important
    • For the Pay-by-traffic billing method, the peak inbound and outbound bandwidth values are upper limits and not guaranteed service levels. During periods of high resource contention, the peak bandwidth may be limited. If your business requires guaranteed bandwidth, use the Pay-by-bandwidth billing method.

    • BGP Premium (multi-line) in the China (Hong Kong) region does not support pay-by-traffic billing.

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

This section explains how to change the billing method for an instance's public bandwidth from pay-by-bandwidth to pay-by-traffic in the ECS console. You can also make this change by calling the ModifyInstanceNetworkSpec API.

  1. Go to ECS console - Instances.

  2. In the upper-left corner of the page, select a region and resource group.地域

  1. Find the target instance. In the All Operations column, choose Upgrade or Downgrade > Change Bandwidth.

Important
  • For subscription ECS instances, if you have temporarily upgraded the bandwidth and then change the public bandwidth billing method from Pay-by-bandwidth to Pay-by-traffic, all active and pending temporary bandwidth upgrade orders are automatically canceled and refunded.

  • In high-traffic scenarios, the Pay-by-traffic billing method can increase network costs. We recommend performing a budget assessment to ensure this billing method aligns with your financial plan. For guidance on choosing a public bandwidth billing method, see Public bandwidth billing.

  1. In the Change Bandwidth dialog box, set Operation Method to Change Bandwidth, set Billing Method for Network Usage to Pay-by-traffic (CDT), and then set the Peak Bandwidth (Bandwidth Limit for Traffic).

  2. Carefully read the service agreements at the bottom of the page. Select I have read and agree to the Cloud Data Transfer Service Agreement and then click Change Now. The change takes effect immediately.

Note

You can change the billing method for multiple instances at once by performing batch operations on the Instances page.

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

This section explains how to change the billing method for an instance's public bandwidth from pay-by-traffic to pay-by-bandwidth in the ECS console. You can also make this change by calling the ModifyInstanceNetworkSpec API.

  1. Go to ECS console - Instances.

  2. In the upper-left corner of the page, select a region and resource group.地域

  1. Find the target instance. In the All Operations column, choose Upgrade or Downgrade > Change Bandwidth.

Important
  • For subscription ECS instances, if you have temporarily upgraded the bandwidth and then change the public bandwidth billing method from Pay-by-bandwidth to Pay-by-traffic, all active and pending temporary bandwidth upgrade orders are automatically canceled and refunded.

  • In high-traffic scenarios, the Pay-by-traffic billing method can increase network costs. We recommend performing a budget assessment to ensure this billing method aligns with your financial plan. For guidance on choosing a public bandwidth billing method, see Public bandwidth billing.

  1. In the Change Bandwidth dialog box, set Operation Method to Change Bandwidth, set Billing Method for Network Usage to Pay-by-bandwidth, and then set the Fixed Bandwidth.

  2. Carefully read the Product Terms of Service and Service Level Agreement at the bottom of the page, and then click Change Now. The change takes effect immediately.

Note

You can change the billing method for multiple instances at once by performing batch operations on the Instances page.

Related documents