

# Amazon billing and usage reports for CloudFront
<a name="reports-billing"></a>

Amazon provides two usage reports for CloudFront:
+ The Amazon billing report is a high-level view of all activity for Amazon Web Services services that you're using, including CloudFront.
+ The Amazon usage report is a summary of activity for a specific service, aggregated by hour, day, or month. It also includes usage charts that provide a graphical representation of your CloudFront usage. 

**Note**  
Like other Amazon Web Services services, CloudFront charges you for only what you use. For more information, see [CloudFront pricing](https://www.amazonaws.cn/cloudfront/pricing/).

**Topics**
+ [View the Amazon billing report for CloudFront](#billing-report)
+ [View the Amazon usage report for CloudFront](#usage-report)
+ [Interpret your Amazon bill and usage reports for CloudFront](billing-and-usage-interpreting.md)

## View the Amazon billing report for CloudFront
<a name="billing-report"></a>

You can view a summary of your Amazon usage and charges, listed by service, on the **Bills** page in the Amazon Billing and Cost Management console.<a name="billing-report-procedure"></a>

**To view the Amazon billing report**

1. Sign in to the Amazon Web Services Management Console and open the Amazon Billing and Cost Management console at [https://console.amazonaws.cn/costmanagement/](https://console.amazonaws.cn/costmanagement/).

1. In the navigation pane, choose **Bills**.

1. Choose a **Billing period** (for example, August 2023).

1. On the **Charges by service** tab, choose **CloudFront**, and then expand **Global** or the Amazon Web Services Region name.

1. To download a detailed billing report in CSV format, choose **Download all to CSV**.

For more information about your Amazon bill, see [Viewing your bill](https://docs.amazonaws.cn/awsaccountbilling/latest/aboutv2/getting-viewing-bill.html) in the *Amazon Billing User Guide*.

The billing report includes the following values that apply to CloudFront:
+ **ProductCode** – `AmazonCloudFront`
+ **UsageType** – One of the following values:
  + A code that identifies the type of data transfer
  + `Invalidations`
  + `Executions-CloudFrontFunctions`
  + `KeyValueStore-APIOperations`
  + `KeyValueStore-EdgeReads`
  + `RealTimeLog-KinesisDataStream`
  + `SSL-Cert-Custom`
+ **ItemDescription** – A description of the billing rate for the **UsageType**.
+ **UsageStart Date** and **UsageEndDate** – The day that the usage applies to, in Coordinated Universal Time (UTC). 
+ **UsageQuantity** – One of the following values: 
  + The number of requests during the specified time period
  + The amount of data transferred in gigabytes
  + The number of objects invalidated
  + The sum of the prorated months that you had SSL certificates associated with enabled CloudFront distributions. For example, if you have one certificate associated with an enabled distribution for an entire month and another certificate associated with an enabled distribution for half of the month, this value will be 1.5. 

## View the Amazon usage report for CloudFront
<a name="usage-report"></a>

Amazon provides a CloudFront usage report that is more detailed than the billing report but less detailed than CloudFront access logs. The usage report provides aggregate usage data by hour, day, or month, and it lists operations by region and usage type, such as data transferred out of the Australia region.

**To view the Amazon usage report**

1. Sign in to the Amazon Web Services Management Console and open the Amazon Billing and Cost Management console at [https://console.amazonaws.cn/costmanagement/](https://console.amazonaws.cn/costmanagement/).

1. In the navigation pane, choose **Cost Explorer**.

1. On the **New cost and usage report** page, in the **Report parameters** pane, choose a date range and granularity for the report.

1. Under **Filters**, **Service**, select **CloudFront**.

1. Select the **Usage type**.

1. Under **Cost and usage breakdown**, choose **Download as CSV**.

For more information about the Amazon usage report, see [Amazon Usage Report](https://docs.amazonaws.cn/cur/latest/userguide/usage-report.html) in the *Amazon Data Exports User Guide*. 

The CloudFront usage report includes the following values:
+ **Service** – `AmazonCloudFront`
+ **Operation** – HTTP method. Values include `DELETE`, `GET`, `HEAD`, `OPTIONS`, `PATCH`, `POST`, and `PUT`.
+ **UsageType** – One of the following values:
  + A code that identifies the type of data transfer
  + `Invalidations`
  + `Executions-CloudFrontFunctions`
  + `KeyValueStore-APIOperations`
  + `KeyValueStore-EdgeReads`
  + `RealTimeLog-KinesisDataStream`
  + `SSL-Cert-Custom`
+ **Resource** – Either the ID of the CloudFront distribution associated with the usage or the certificate ID of an SSL certificate that you have associated with a CloudFront distribution.
+ **StartTime/EndTime** – The day that the usage applies to, in Coordinated Universal Time (UTC). 
+ **UsageValue** – 1) The number of requests during the specified time period or 2)the amount of data transferred in bytes.

If you’re using Amazon S3 as the origin for CloudFront, consider running the usage report for Amazon S3, too. However, if you use Amazon S3 for purposes other than as an origin for your CloudFront distributions, it might not be clear what portion applies to your CloudFront usage.

**Tip**  
For detailed information about every request that CloudFront receives for your objects, turn on CloudFront access logs for your distribution. For more information, see [Access logs (standard logs)](AccessLogs.md).

For more information about understanding the CloudFront charges and usage types on your reports, see [Interpret your Amazon bill and usage reports for CloudFront](billing-and-usage-interpreting.md).