This topic describes public bandwidth types, billing methods for network usage, and examples on how to calculate network usage fees.
- Public IP address
Public IP addresses are assigned by the system. You are not charged for retaining public IP addresses. You are charged only for the outbound public bandwidth. Two billing methods for network usage are available: pay-by-bandwidth and pay-by-traffic.
- Elastic IP address (EIP)
EIPs are public IP addresses that you can separately purchase and use. Only instances that are deployed in virtual private clouds (VPCs) support EIPs. For information about the billing details of EIPs, see Overview.
- NAT gateway
NAT gateways are Internet gateways that can be separately purchased. For information about the billing details of NAT gateways, see Billing overview.
|Public bandwidth type||Charged||Description||Example|
|outbound bandwidth||Yes||The bandwidth for traffic from ECS instances to the Internet.||FTP clients download resources from ECS instances by using public IP addresses.|
|inbound bandwidth||No||The bandwidth for traffic from the Internet to ECS instances.||FTP clients upload resources to ECS instances by using public IP addresses.|
For information about the limits on the public bandwidth of ECS instances, see Limits.
Billing methods for network usage
- Pay-by-bandwidth: You are charged based on the bandwidth that you specify. The actual outbound bandwidth does not exceed the specified bandwidth.
- Pay-by-traffic: a pay-as-you-go billing method. You are charged for the traffic that
you actually used. You must configure a peak bandwidth for outbound traffic to avoid
unmanageable fees incurred by outbound traffic bursts.
Notice When the pay-by-traffic billing method for network usage is used, the peak inbound and outbound bandwidths are both the upper limits of bandwidths and are for reference only. In the event of resource contention, these peak bandwidths cannot be guaranteed. If you want guaranteed bandwidths for your instance, use the pay-by-bandwidth billing method for network usage.
|Billing method for network usage||Billing method of ECS instances||Billing rule for network usage|
|Pay-by-bandwidth||Subscription||You must pay for the bandwidth and subscription duration that you purchased in advance.
You are charged for the bandwidth (Mbit/s) based on a tiered billing system. Unit:
|Pay-as-you-go||Bandwidth bills are accurate to seconds. The bills are generated on the hour every
hour. You are charged for the bandwidth (Mbit/s) based on a tiered billing system.
|Pay-by-traffic||Subscription and pay-as-you-go||The bills are generated on the hour every hour. You are charged based on the volume of traffic (GB) that you used. Unit: USD/GB.|
|Billing method for network usage||Billing method of ECS instances||Example of billing conditions||Fee (USD)|
||1 × 6.8 = 6.8|
||1 × [17 + (7 - 5) × 11.8] = 40.6|
||24 × 30 × 0.012 = 8.64|
||24 × 30 × [0.03 + (7 - 5) × 0.021] = 51.84|
|Pay-by-traffic||Subscription and pay-as-you-go||
||1 × 0.123 = 0.123|
You can change the billing method for network usage from pay-by-bandwidth to pay-by-traffic, or from pay-by-traffic to pay-by-bandwidth. For more information, see Change the billing method for network usage.
If the current public bandwidth does not meet your business requirements, you can upgrade or downgrade the public bandwidth. For more information, see Overview of instance upgrade and downgrade.