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 rule

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

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

The billable items and billing rules are:

  • Billable items
    Billable itemDescription
    Alibaba Cloud CDN service feeIn most cases, you are charged for outbound data transfer in Alibaba Cloud CDN.

    In some 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 feeIn most cases, you are charged for data storage in OSS.

    In some 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 refers to 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 CDN pricing page.
    • You are not charged for data transfer from POPs to OSS.
    • Data transfer from OSS to Alibaba Cloud CDN refers to 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:
      • To enjoy preferential pricing on 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 sent from Alibaba Cloud CDN as outbound data transfer over the Internet. In this case, normal charges apply.
      • If Alibaba Cloud CDN requests and the OSS bucket are outside the Chinese mainland, data transfer from OSS to Alibaba Cloud CDN is free of charge.
    OSS pricing

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 these resource plans to reduce costs.
Resource planDescription
Alibaba Cloud CDN outbound data transfer plansYou can use this type of data transfer plan to offset data transfer fees that are generated when CDN edge nodes distribute content to clients. Data transfer overages are billed on a pay-as-you-go basis.
OSS standard locally redundant storage (LRS) storage plansYou can use this type of storage plan to offset standard LRS fees and Elastic Compute Service (ECS) snapshot storage fees. Data transfer overages are billed on a pay-as-you-go basis.