All Products
Search
Document Center

CDN:Billing of OSS content acceleration

Last Updated:Oct 24, 2023

Object Storage Service (OSS) is a cost-effective storage service. Alibaba Cloud CDN can accelerate the delivery of static resources. You can store static content, such as scripts, audio files, video files, images, and attachments, in OSS and use Alibaba Cloud CDN to accelerate the delivery of content in OSS buckets. This reduces storage costs, accelerates content delivery, and reduces loads on origin servers.

Billing

If the origin server is an OSS bucket, you may be charged Alibaba Cloud CDN service fees and OSS service fees.

Important

The billing of Alibaba Cloud CDN is separate from the billing of OSS. For example, data transfer bills for Alibaba Cloud CDN and OSS are separately generated. In addition, the pricing of Alibaba Cloud CDN is different from the pricing of OSS. For more information, see the pricing details of Alibaba Cloud CDN and OSS.

The following section describes the billable items and billing rules of Alibaba Cloud CDN and OSS.

  • Possible billable items

    Billable item

    Description

    Alibaba Cloud CDN service fee

    In most cases, you are charged for outbound data transfer in Alibaba Cloud CDN.

    In specific cases, you are charged for other items in Alibaba Cloud CDN, such as HTTPS requests for static content. For more information, see Billing overview.

    OSS service fee

    In most cases, you are charged for data storage in OSS.

    In specific cases, you are charged for other items in OSS, such as requests. For more information, see Billing overview.

  • Billing rules for data transfer

    If the origin server is an OSS bucket, you may be charged for outbound data transfer from Alibaba Cloud CDN (charged by Alibaba Cloud CDN) and data transfer from OSS to Alibaba Cloud CDN (charged by OSS).

    • Outbound data transfer from Alibaba Cloud CDN is the amount of data transfer that is generated when Alibaba Cloud CDN points of presence (POPs) return the requested content to users. In this case, data is transmitted from POPs to clients. You are charged for the data transfer in Alibaba Cloud CDN. For more information, visit the Alibaba Cloud CDN pricing page.

    • You are not charged for data transfer from POPs to OSS.

    • Data transfer from OSS to Alibaba Cloud CDN is the amount of data transfer that is generated when POPs retrieve content from OSS. In this case, data is transmitted from OSS to POPs. You are charged for the data transfer in OSS. For more information, visit the OSS pricing page.

      Note

      Preferential pricing for data transfer between Alibaba Cloud CDN and OSS:

      • If you want to use preferential pricing for traffic between Alibaba Cloud CDN and OSS, you must set the origin server type to OSS Domain in the Alibaba Cloud CDN console.

      • If you set the origin server type to Site Domain in the Alibaba Cloud CDN console, OSS identifies network traffic that is sent from Alibaba Cloud CDN as outbound data transfer over the Internet. In this case, normal charges apply.

      • If the POP and the bucket are located in regions outside the Chinese mainland, you are not charged for data transfer from OSS to POPs.

    OSS计费

Resource plans

OSS and Alibaba Cloud CDN provide resource plans. If you use Alibaba Cloud CDN to accelerate content delivery from OSS, you can use the resource plans to reduce costs. The following table describes the resource plans.

Resource plan

Description

Alibaba Cloud CDN outbound data transfer plan

You can use this type of data transfer plan to offset data transfer fees that are generated when POPs distribute content to clients. Data transfer overages are billed based on the pay-as-you-go billing method.

OSS standard locally redundant storage (LRS) storage plan

You can use this type of storage plan to offset standard LRS fees. Data storage overages are billed based on the pay-as-you-go billing method.