This topic describes public bandwidth types, billing methods, and examples on how to calculate bandwidth fees.
Types of public IP addresses
- Fixed public IP address
To use an allocated public IP address to access the Internet, select Assign Public IP Address when you configure the public bandwidth during instance creation. For more information, see Create an instance by using the provided wizard.
- Elastic IP address (EIP)
An EIP is a public IP address resource that you can purchase and use independently. It provides higher flexibility for Internet access. For more information about the differences between EIPs and fixed public IP addresses and the billing methods of EIPs, see What is Elastic IP Address?.
To use an EIP to access the Internet, attach the purchased EIP to an ECS instance. When you configure the public bandwidth, you do not need to select Assign Public IP Address to purchase public bandwidth.
Public bandwidth types
|Public bandwidth type||Charged||Description||Example|
|Outbound bandwidth||Yes||Bandwidth for outbound traffic from ECS instances||The FTP client downloads resources from ECS instances through public IP addresses.|
|Inbound bandwidth||No||Bandwidth for inbound traffic to ECS instances||The FTP client uploads resources to ECS instances through public IP addresses.|
For more information about the limits on the public bandwidth of ECS instances, see Limits.
- Pay-by-bandwidth: Fees are charged based on the bandwidth that you specify. Your actual outbound bandwidth will not exceed the specified bandwidth.
- Pay-by-traffic: Fees are charged based on your actual traffic usage in the unit of USD/GB. You can configure a bandwidth limit for outbound traffic to avoid unmanageable fees incurred by outbound traffic bursts.
|Bandwidth billing method||Billing example||Fee (USD)|
This example assumes that the bandwidth is 0.5 Mbit/s.
The volume of the outbound traffic is (0.5 × 60 × 60)/1024/8 GB = 0.22 GB.You must pay the following amount for the hourly traffic: 0.22 GB × 0.1 USD/GB = USD 0.022.
Note In this formula, 1024 is used to convert Mbit into Gbit, and 8 is used to convert Gbit into GB.
View billing details
Change billing methods
|Instance billing method||Conversion of the billing method||Method||Effective time|
|Subscription||From pay-by-traffic to pay-by-bandwidth||Upgrade configurations of Subscription instances||Immediately|
|From pay-by-bandwidth to pay-by-traffic||Downgrade bandwidth configurations of Subscription instances||Immediately|
|Downgrade an instance during renewal||From the next billing cycle|
|Pay-as-you-go||From pay-by-traffic to pay-by-bandwidth||Change Internet bandwidth||Immediately|
|From pay-by-bandwidth to pay-by-traffic||Change Internet bandwidth||Immediately|