Alibaba Cloud CDN allows you to export billing details by domain name, time, and account to an on-premises machine. You can check the resource usage details in the exported file.

Export billing details

Note
  • You can export billing details up to the last 12 months. The maximum time range that you can query is one month.
  • Billing details are collected every 5 minutes and exported to an Excel file.
  1. Log on to the Alibaba Cloud CDN console.
  2. In the left-side navigation pane, choose Monitoring & Usage Analytics > Usage.
  3. On the Details Export tab, click Create Task.
    Create Task
    Parameter Description
    Task Name Enter a name for the export task.
    Data Type Valid values:
    • Traffic/Bandwidth
    • Requests
    Select an option based on your business requirements.
    Query Period Enter the start and end of the time range that you want to query.
    Note The maximum time range that you can query is 30 days.
    Export content Valid values:
    • Account
    • Domain
    • Group
    Select an option based on your business requirements.
    Frequency The default value is Once. You cannot change the value.
  4. Click OK.
    Create an export task
  5. After the export task is completed, click Download.

Related API operations

API operation Description
CreateUsageDetailDataExportTask Creates a task to export resource usage details to an Excel file.
DescribeUserUsageDetailDataExportTask Queries export tasks that were used to export details about one or more domain names that belong to your Alibaba Cloud account. The exported data was collected every 5 minutes.
DeleteUsageDetailDataExportTask Deletes export tasks that were used to export billing details of your accelerated domain names.