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.
The billable items and billing rules are:
- 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 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 fee In 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 transferIf 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.
Resource plans
Resource plan | Description |
---|---|
Alibaba Cloud CDN outbound data transfer plans | You 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 plans | You 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. |