All Products
Search
Document Center

Elastic Compute Service:Modify bandwidth of pay-as-you-go instances

Last Updated:May 15, 2026

Change the billing method or bandwidth limit for pay-as-you-go instances that use public IP addresses.

Background

You can modify bandwidth configurations multiple times, but must wait at least 5 minutes between consecutive modifications.

  • Change the billing method for network usage. Select Pay-by-bandwidth or Pay-by-traffic.

    Note
    • Pay-by-bandwidth: You specify a fixed outbound bandwidth in Mbit/s. Example: 10 Mbit/s. Suitable for stable, low-cost bandwidth scenarios compared with Pay-by-traffic.

    • Pay-by-traffic: You are charged based on actual outbound traffic. Suitable for variable bandwidth needs with occasional spikes. You can specify a bandwidth limit to prevent unexpected charges.

  • Modify the fixed or peak bandwidth based on the billing method for network usage.

    Note

    If you set the public bandwidth of a classic network instance to 0 Mbit/s, the public IP address is retained. If you set the public bandwidth of a VPC instance to 0 Mbit/s, the public IP address is released.

To modify the bandwidth of a pay-as-you-go instance that uses an EIP, see Change EIP bandwidth.

Procedure

  1. Log in to the ECS console.

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

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

  4. Modify public bandwidth configurations by using one of the following methods:

    • For a single instance: find the instance and choose image.png > Upgrade/Downgrade > Change Pay-as-you-go Instance Bandwidth in the Actions column.

    • For multiple instances: select the instances and choose More > Upgrade/Downgrade > Change Pay-as-you-go Instance Bandwidth at the bottom of the page.

  5. On the Adjust Bandwidth page, configure the bandwidth settings.

    1. Select Pay-by-bandwidth or Pay-by-traffic.

    2. Specify a fixed or peak bandwidth. 确认变更When modifying bandwidth for multiple instances, instances without public IP addresses are filtered out. You can proceed only with eligible instances, as shown below.按量实例批量修改带宽

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

  7. Confirm the price, click Confirm, and follow the prompts.

    Note

    The new bandwidth takes effect immediately. Exception: the first time you upgrade the public bandwidth of a classic network instance from 0 Mbit/s to a non-zero value, you must restart the instance. Restart via the ECS console or by calling the RebootInstances operation.