Configure the Cost and Usage Report in AWS

Prerequisite: If you are preparing your AWS account for the first time and you are using the Cost and Usage Report (CUR) as your billing source, we recommend that you enable tags for cost reports before you configure the CUR in AWS.

By the end of 2019, AWS will deprecate the Detailed Billing Report (DBR) and replace it with the CUR. As a result, the CUR will become CloudCheckr's primary biling method. At this time, CloudCheckr customers can use the DBR or the CUR. For more information, review the Transition from DBR to CUR FAQ.

CloudCheckr has integrated the CUR into our application—providing more visibility into Reserved Instances (RIs), AWS Marketplace charges, and other billing features.

In this topic, you will learn how to create the CUR in AWS.


Procedure

  1. Log in to the AWS Management Console.
  2. From the menu bar, click your account name, and select My Billing Dashboard.

    The Billing & Cost Management Dashboard opens.

  3. From the dashboard, click Cost & Usage Reports.

    The AWS Cost and Usage Reports page opens.

  4. Click Create report.

    Step 1 of the Create report wizard opens. This step is where you will name your report and specify your report details.

    1. Type a report name.
    2. Select the Include resource IDs checkbox to ensure your report includes all the IDs from your individual resources in your report.
    3. Under Data refresh settings, notice that the checkbox is selected.
      This setting enables AWS to refresh the CUR and upload a new report to your S3 bucket any time it detects billing charges from closed months.
  5. Click Next.

    Step 2 of the Create report wizard opens.

    1. Configure your S3 bucket. For more information, click Instructions.

      1. Click Configure.
      2. Select an existing S3 bucket or create a new bucket and select the region where it will be located.

      3. Click Next.
      4. Paste the policy that will allow AWS to write the CUR files to your S3 bucket.

        As a safeguard, AWS does not allow you to edit the S3 bucket policy. The default policy has everything that AWS needs to access the S3 bucket and write the CUR files to that bucket.
      5. Select the I have confirmed that this policy is correct checkbox and click Save.

        The green checkmark and message indicates you have attached a valid policy to your S3 bucket.

    2. In the Report path prefix:
      • Leave the Report path prefix field blank to use the default report prefix, which is your report name and the date range: /report-name/date-range/
      • Include a folder name to create a separate location to store the CUR if the DBR and CUR use the same S3 bucket: folder name/report-name/
      • Using the same S3 bucket for the CUR and DBR may reduce the time it takes to configure permissions, but you can also use separate S3 buckets.
    3. Under Time granularity, CloudCheckr recommends that you select hourly so that your CUR gets updated multiple times a day.
    4. Under Report versioning, select whether you want AWS to overwrite the previous report or deliver a new report.
    5. Under Enable report data integration for, select Amazon Redshift as the resource where you want AWS to upload your CUR data for further analysis.

      AWS automatically selects GZIP as your compression type and CSV/TXT as your file format.

      You cannot edit the compression type or file format associated with Amazon Redshift.
  6. Click Next.

    Step 3 of the Create report wizard opens.

    1. Under Report content, make sure, at a minimum, that you:
      • included Resource IDs
      • opted in for the Data Refresh settings
    2. Scroll down to the Delivery options and make sure, at a minimum, that you selected:
      • hourly as the time granularity
      • Redshift for data integration
      • GZIP for compression type
      • text/csv for file format
    3. Once you are satisfied with your settings, click Review and Complete.

      A message indicates that AWS successfully created your report and will deliver the CUR to your S3 bucket within the next 24 hours.

      Your new report is now included in the list.

      If you are preparing your account for the first time and you are using the CUR as your billing source, continue to the next step: Configure the Cost and Usage Report in CloudCheckr.

How did we do?