If the public bandwidth configurations of a pay-as-you-go instance that uses a public IP address are not suitable for your business requirements, you can modify the public bandwidth configurations.

Background information

You can perform the following operations to modify the bandwidth configurations of pay-as-you-go instances. You can modify the bandwidth configurations of instances multiple times, but the interval between consecutive modifications must be at least 5 minutes.
  • Change the billing method for network usage. You can select Pay-By-Bandwidth or Pay-By-Traffic.
    Note
    • Pay-By-Bandwidth: For an instance that uses the pay-by-bandwidth billing method for network usage, you must specify an outbound public bandwidth in Mbit/s. This specified bandwidth is called a fxied bandwidth. Example: 10 Mbit/s. Compared with pay-by-traffic, pay-by-bandwidth is suitable for scenarios that require stable low-cost bandwidth.
    • Pay-By-Traffic: You are charged for the actual volume of outbound traffic to the Internet. Pay-by-traffic is suitable for scenarios that have highly variable bandwidth needs, such as those which have low traffic usage with occasional traffic spikes. To prevent out-of-control fees caused by bursts in traffic, specify a peak bandwidth for the instance to limit the maximum amount of public bandwidth that an instance can have when it uses the pay-by-traffic billing method for network usage.
  • Modify the fixed or peak bandwidth of an instance based on its billing method for network usage.
    Note If you change the public bandwidth of an instance in the classic network to 0 Mbit/s, the public IP address of the instance is retained. If you change the public bandwidth of an instance in a virtual private cloud (VPC) to 0 Mbit/s, the public IP address of the instance is released.

This topic describes how to modify the bandwidth configurations of pay-as-you-go instances that use public IP addresses. For more information about how to modify the bandwidth configurations of a pay-as-you-go instance that uses an elastic IP address (EIP), see Modify the bandwidth of an EIP.

Modify the bandwidth configurations of a single 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 a region.
  4. Find the pay-as-you-go instance whose bandwidth configurations you want to modify. In the Actions column, choose More > Configuration Change > Change Pay-as-you-go Instance Bandwidth. Change Pay-as-you-go Instance Bandwidth
  5. On the Change Bandwidth page, specify a new peak bandwidth in the Bandwidth section.
    1. Select Pay-By-Bandwidth or Pay-By-Traffic as the billing method for network usage.
    2. Specify a fixed or peak bandwidth value. Confirm
  6. Read the notes. Read and select ECS Service Terms.
  7. Confirm the configuration costs, click Confirm, and then perform the subsequent operations as instructed.
    Note The new bandwidth configurations take effect immediately after you modify the 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 by using the ECS console or by calling the RebootInstances operation for the new bandwidth to take effect.

Modify the bandwidth configurations of multiple instances at a time

  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 a region.
  4. Select the pay-as-you-go instances whose bandwidth configurations you want to modify. In the lower part of the page, choose More > Configuration Change > Change Pay-as-you-go Instance Bandwidth. Modify the bandwidth configurations of multiple pay-as-you-go instances at a time
  5. On the Change Bandwidth page, specify a new peak bandwidth in the Bandwidth section.
    1. Select Pay-By-Bandwidth or Pay-By-Traffic as the billing method for network usage.
    2. Specify a fixed or peak bandwidth value. Confirm
    When you modify the bandwidth configurations of multiple instances, instances are filtered out if they are not associated with a public IP address. You can continue to perform operations only on the eligible instances, as shown in the following figure. Modify the bandwidth configurations of multiple instances at a time
  6. Read the notes. Read and select ECS Service Terms.
  7. Confirm the configuration costs, click Confirm, and then perform the subsequent operations as instructed.
    Note The new bandwidth configurations take effect immediately after you modify the 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 by using the ECS console or by calling the RebootInstances operation for the new bandwidth to take effect.