Alibaba Cloud Content Delivery Network (CDN) supports pay by traffic and pay by bandwidth in accelerated regions outside mainland China. This topic describes these two billing methods.
When you activate Alibaba Cloud CDN, you can select pay by traffic or pay by bandwidth. For more information about pricing, see CDN Pricing.
|Pay by traffic||The basic services of Alibaba Cloud CDN are billed based on the amount of daily outbound data from CDN nodes.||Large fluctuations and bandwidth spikes exist in the CDN traffic curve. The daily bandwidth usage is less than 30%.|
|Pay by bandwidth||The basic services of Alibaba Cloud CDN are billed based on the daily peak bandwidth. A bandwidth value is calculated at an interval of 5 minutes. 288 values are recorded every day. The maximum value is used as the daily peak bandwidth.||The CDN traffic curve is relatively flat, and the daily bandwidth usage exceeds 30%.|
- 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.
- Only the outbound data from CDN nodes is billed.
- Alibaba Cloud CDN retains log data of the last three months. If you have any question about the logs or bills, submit an application to check the accounting details with Alibaba Cloud before the log data expires. Log data older than three months is released and cannot be restored.
The amount of data that is actually charged is higher than the amount of data recorded in logs. The amount of data recorded in CDN logs equals the amount of data captured at the application layer. However, an extra amount of data is consumed to transmit the additional bytes inserted to TCP/IP packet headers and to retransmit TCP packets. Therefore, the actual amount of data is higher than the amount of data 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?