All Products
Search
Document Center

Elastic Compute Service:Change the public bandwidth value or the billing method for network usage of an instance associated with an auto-assigned public IP address

Last Updated:Jan 24, 2025

If an Elastic Compute Service (ECS) instance is associated with an auto-assigned public IP address (also called system-assigned public IP address), you can increase or decrease the public bandwidth value of the instance or change the billing method for network usage of the instance between pay-by-bandwidth and pay-by-traffic based on your business requirements. If an ECS instance is not associated with a public IP address and does not have public bandwidth, you can specify a non-zero public bandwidth value for the instance. This way, the instance is automatically assigned a public IP address and public bandwidth is enabled for the instance.

Scenarios

  • Upgrade or downgrade the public bandwidth of an instance that is associated with an auto-assigned public IP address

    If the public bandwidth of an instance that is associated with an auto-assigned public IP address does not meet your business requirements, upgrade or downgrade the public bandwidth based on your business requirements.

  • Change the billing method for network usage of an instance that is associated with an auto-assigned public IP address

    You can change the billing method for network usage of an instance that is associated with an auto-assigned public IP address from pay-by-bandwidth to pay-by-traffic or from pay-by-traffic to pay-by-bandwidth.

  • Enable public bandwidth for an instance

    If public bandwidth is not enabled for your instance, you can specify a non-zero public bandwidth value for the instance. This way, the instance is automatically assigned a public IPv4 address to achieve Internet connectivity.

Considerations

  • Your ECS usage determines whether the public bandwidth of your instances can be downgraded.

  • A bandwidth downgrade may result in a refund. The refund amount is calculated by using the following formula: Refund amount = Remaining amount of the price of the original configurations - Price of the new configurations. You can receive up to three refunds for each subscription instance. If you downgrade the instance type or bandwidth or change the billing method of a disk from subscription to pay-as-you-go, you receive a refund.

Procedure

  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. Open the Adjust Bandwidth dialog box.

    • To modify the public bandwidth configurations of a single instance, find the instance and choose image.png > Upgrade/Downgrade > Change Bandwidth in the Actions column.

    • To modify the public bandwidth configurations of multiple instances, select the instances and choose More > Upgrade/Downgrade > Adjust Bandwidth in the lower part of the Instance page.

  5. In the Adjust Bandwidth dialog box, you can view the current billing method for network usage and the current public bandwidth value. Set the Operation parameter to Adjust Bandwidth and perform the following operations based on your business requirements.

    • Upgrade or downgrade the public bandwidth by changing the relevant parameter value based on your business requirements. If the Billing Method for Network Usage parameter is set to Pay-by-traffic, change the value of the Fixed Bandwidth parameter. If the Billing Method for Network Usage parameter is set to Pay-by-bandwidth, change the value of the Peak Bandwidth (Bandwidth Limit for Traffic) parameter.

    • Change the billing method for network usage. Set the Billing Method for Network Usage parameter to Pay-by-bandwidth or Pay-by-traffic and specify a public bandwidth value.

    • Enable IPv4 public bandwidth. If public bandwidth is not enabled for an instance, you can select a billing method for network usage and specify a non-zero public bandwidth value to enable IPv4 public bandwidth for the instance.

      image

  6. Confirm that the configurations you specified are correct, click Change Now and follow the on-screen instructions to proceed.

    Important
    • If you change the billing method for network usage from pay-by-traffic to pay-by-bandwidth, you must pay an upfront fee for the public bandwidth.

    • The first time you upgrade the public bandwidth of an instance in the classic network from 0 Mbit/s to a non-zero value, you must restart the instance in the ECS console or by calling the RebootInstances operation for the upgrade to take effect.