Alibaba Cloud Content Delivery Network (CDN) supports the pay-by-data-transfer and pay-by-bandwidth billing methods in accelerated regions outside mainland China. This topic describes these two billing methods.
When you activate Alibaba Cloud CDN, you can select pay-by-data-transfer or pay-by-bandwidth. For more information about pricing, see CDN pricing.
|Pay by traffic||You are charged for the basic services of Alibaba Cloud CDN based on the amount of daily outbound data of CDN nodes.||Your traffic curve shows large fluctuations and bandwidth spikes. The daily bandwidth usage is lower than 30%.|
|Pay-by-bandwidth||You are charged for the basic services of Alibaba Cloud CDN based on the daily peak bandwidth values. A bandwidth value is collected every 5 minutes. A total of 288 values are collected every day. The largest bandwidth value is used as the daily peak bandwidth.||Your traffic curve is relatively flat and the daily bandwidth usage exceeds 30%.|
- The bandwidth usage is calculated based on the following formula: Bandwidth usage = Data usage (GB)/[Peak bandwidth (Mbit/s) × 10.54]. If the bandwidth is 1 Mbit/s and the daily bandwidth usage is 100%, the data usage is 10.54 GB.
- You are charged for only the outbound data from CDN nodes.
The data transfer that is billed is higher than the data transfer that is recorded in logs. The amount of data that is recorded in CDN logs equals the amount of data that is captured at the application layer. However, an extra amount of data is consumed to transmit the additional bytes that are inserted to TCP/IP packet headers and to retransmit TCP packets. Therefore, the actual amount of data is higher than the amount of data that is captured at the application layer. For more information, see Why is the actual billed network traffic different from the network traffic reported by the logging feature?.