Symptoms

Alibaba Cloud CDN can be used together with other Alibaba Cloud services, such as Elastic Compute Service (ECS) and Object Storage Service (OSS). Alibaba Cloud CDN edge nodes are globally distributed. Data is transmitted over the Internet between Alibaba Cloud CDN and other Alibaba Cloud services. In this case, how is data transfer billed?

Causes

Data transfer of Alibaba Cloud CDN and other services is billed separately. For more information, see the billing rules for each Alibaba Cloud service.

For example, Customer A activated Alibaba Cloud CDN and OSS to provide file distribution services. If a client requests resources from an edge node that does not have the corresponding resources cached, the edge node redirects the request to the specified OSS bucket. In this case, Customer A is charged for the outbound traffic of Alibaba Cloud CDN and the outbound traffic of OSS. The outbound traffic of Alibaba Cloud CDN and OSS is billed separately.
  • When an edge node retrieves resources from an OSS bucket, data is transmitted from the OSS bucket to the edge node. In this case, Alibaba Cloud CDN does not charge fees but OSS charges fees.
    Note
    • If the accelerated region is outside the Chinese mainland and an OSS bucket is used as the origin server, you are not charged for data transfer from edge nodes in the accelerated region to the origin server.
    • If the accelerated region is outside the Chinese mainland and an OSS bucket is used as the origin server, you are charged for data transfer from edge nodes in the Chinese mainland to the origin server.
    • If the accelerated region is in the Chinese mainland and an OSS bucket is used as the origin server, you are charged for data transfer from edge nodes to the origin server.
  • If the requested resources are already cached on the edge node, data is transmitted from the edge node to the client. In this case, OSS does not charge fees but Alibaba Cloud CDN charges fees.
Note Alibaba Cloud offers discounts if you purchase Alibaba Cloud services as a bundle. For example, when you use Alibaba Cloud CDN to accelerate the delivery of resources stored in OSS buckets, the outbound traffic of OSS generated during back-to-origin routing is billed at a discounted price.