Alibaba Cloud Elastic Compute Service (ECS) provides two billing methods for network usage: pay-by-bandwidth and pay-by-traffic. If the bandwidth needs of your instance fluctuate, you can change its billing method for network usage from pay-by-bandwidth to pay-by-traffic and enforce an upper limit on bandwidth to suit your business needs and reduce costs. This topic describes the billing methods for network usage of ECS instances, how to configure public bandwidth in different scenarios, and how to change billing methods for network usage to increase the upper bandwidth limit.
Prerequisites
Background information
Scenario | Billing method for network usage | Bandwidth type | Billing |
---|---|---|---|
Scenarios that require stable low-cost bandwidth | Pay-by-bandwidth | For an instance that uses this billing method for network usage, you must specify an outbound bandwidth in Mbit/s. The actual outbound bandwidth used by the instance is capped at your specified bandwidth. | You are charged for the specified bandwidth based on a tiered billing model. The bandwidth fees are built into your instance fees. For more information, see Public bandwidth. |
Scenarios that have highly variable bandwidth needs, such as those which have low traffic usage with occasional traffic spikes | Pay-by-traffic | For an instance that uses this billing method for network usage, you must specify
a maximum outbound bandwidth (Peak Bandwidth) of up to 100 Mbit/s. To prevent out-of-control
fees caused by bursts in traffic, specify a maximum bandwidth for the instance. The
actual outbound bandwidth that can be used by the instance is capped at your specified
maximum bandwidth.
Note Public bandwidth limits are determined based on instance billing methods and billing
methods for network usage. For more information, see Public bandwidth limits.
|
You are charged for the actual volume (in GB) of outbound traffic to the Internet on a pay-as-you-go basis. These bills are generated every hour on the hour. For more information, see Public bandwidth. |
Scenario | Configuration method | Procedure |
---|---|---|
A public IP address is required to access the Internet. | Assign a public IP address and configure public bandwidth. |
|
The current billing method for network usage does not meet your business needs. | Change the billing method for network usage. | For more information, see Change the billing method for network usage. |
The specified bandwidth does not suit your business needs. | Modify the public bandwidth configurations. |
|
The bandwidth of an elastic IP address (EIP) does not suit your business needs. | Change the bandwidth of the EIP. | For more information, see Modify the bandwidth of an EIP. |
For information about some frequently asked questions about public bandwidth, see Network FAQ.
The following sections describe how to configure public bandwidth when you create an instance and how to change the billing method for network usage to enforce an upper bandwidth limit.
Step 1: Assign a public IP address and configure public bandwidth when you create an ECS instance
Create an ECS instance, assign a public IP address, and configure the pay-by-bandwidth billing method for network usage.
Step 2: Change the billing method for network usage from pay-by-bandwidth to pay-by-traffic
If your instance has fluctuating bandwidth needs and requires an upper bandwidth limit, you can change the billing method for network usage of the instance to pay-by-traffic and specify a maximum bandwidth to prevent out-of-control fees caused by bursts in traffic.