All Products
Search
Document Center

CDN:Stop the billing for CDN

Last Updated:Jan 08, 2026

When you stop using Alibaba Cloud CDN, your goal is to end all associated charges. CDN lacks a single "disable" button because it is a composite service that integrates with other billable components like Log Service (SLS) and Object Storage Service (OSS). An abrupt shutdown could also disrupt your services. To stop all charges safely, you must decommission each billable component. This guide details the steps to remove all CDN-related resources, stop all charges, and maintain your origin server's availability.

Process overview and risk warning

  • Business impact: Following these procedures, especially deleting an accelerated domain name, will stop CDN traffic delivery and may interrupt your business.

  • Recommended workflow: Before deleting any CDN resources, first update your domain's DNS records to bypass the CDN and point directly to your origin server. After confirming your services are stable, proceed with deleting the accelerated domain name, and then clean up any associated services like logging.

  • Incomplete billing stoppage: If you do not complete all required steps, you will continue to be charged. To stop all charges, complete every relevant step.

Disable real-time log delivery

If you have enabled the real-time log delivery feature, disable the feature and clear the logs stored in Simple Log Service before you remove your domain names. For more information about real-time logs, see What are real-time logs?.

Procedure

  1. Log on to the CDN console.

  2. In the navigation pane on the left, choose Logs > Real-time Logs.

  3. On the Real-time Logging tab, click Edit Domain Name. On the Edit Domain Name tab, click Clear, and then click Edit.

    image

  4. For the same project, click the More icon in the Actions column and select Delete Service.

    image

Disable offline log transfer

If you have enabled the offline log transfer, disable the feature and clear the logs stored in OSS before deleting your domain names. For more information, see Store standard logs using Function Compute.

Procedure

  1. In the Alibaba Cloud CDN console, disassociate the Function Compute service from all domain names.

    1. Log on to the CDN console.

    2. In the left-side navigation pane, choose Logs > Offline Logs.

    3. Click the Function Compute for Log Storage tab.

    4. Click Bind Domains in the Actions column. In the dialog box that appears, select the domain names that you want to disassociate in the right-side list and click 按钮.

      取消

    5. Click OK.

  2. Optional. Delete the function and service in the Function Compute console.

    Note

    When you enable Function Compute for log storage, a function and a service are created or an existing function and an existing service are used. When you disable Function Compute for log storage, you can delete the function and the service to clear the settings.

  3. Delete log data from the OSS bucket in the OSS console.

    Note

    You are charged for the storage of log data in OSS buckets. We recommend that you delete the log data that you no longer require from OSS buckets.

    For information about how to delete log data from an OSS bucket, see Delete buckets.

Delete accelerated domain names

You must delete all accelerated domain names that you have added to CDN. Deleting an accelerated domain name completely stops the CDN service for that domain, and you will not incur further charges for it. For more information, see Stop an acceleration service.

Procedure

  1. Log on to the CDN console.

  2. In the left navigation pane, click Domain Names.

  3. On the Domain Names page, find the domain name that you want to remove and choose 图标 > Delete in the Actions column.

  4. In the message that appears, click OK.