Configure the Cost and Usage Report in AWS

CloudCheckr has integrated the CUR, AWS's next-generation billing tool, into our application.

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

AWS plans to deprecate the Detailed Billing Report (DBR) and will soon replace it with the CUR. CloudCheckr currently supports the DBR and the CUR. For more information, review the Transition from DBR to CUR FAQ.

Prerequisite

You must enable at least one Cost Allocation tag in AWS before you can configure the CUR in AWS.


Procedure

Follow the steps in this workflow to configure the CUR in AWS:

  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.

    The Report content page opens.

  5. Type a report name.
  6. Select the Include resource IDs checkbox, so that your report will include all the IDs from your individual resources.
  7. Notice that the Automatically refresh your Cost & Usage Report... checkbox is selected by default.

    This option allows AWS to refresh the CUR and upload a new report to your S3 bucket any time it detects billing charges from closed months.

    Here is an example of what your screen will look like after you complete this page:

  1. On the bottom of the Report content page, click Next.

    The Delivery options page opens.

  2. Click Configure.

    The Configure S3 Bucket wizard opens.

    As a best practice, we recommend that you create an S3 bucket solely for the purpose of storing your CUR reports.
  3. Type a name for your new S3 bucket.
  4. From the drop-down menu, select the region that you want to associate with your bucket.
  5. Click Next.

    The Verify Policy page of the wizard opens.

    AWS provides you with the default S3 bucket policy:

    ***Please note, versioning must be enabled after creation, unless the policy is edited at the time of creation.***

    ***Note: versioning is not enabled through the default S3 policy***

  6. Select the I have confirmed that this policy is correct checkbox and click Save.
  1. In the Report path prefix field, type CUR
  2. Under Time granularity, select hourly so that your CUR gets updated multiple times a day.
  3. Setting the time granularity to hourly is CRITICAL for accurate data reporting.
  4. Under Report versioning, select whether you want AWS to overwrite the previous version or deliver a new report.
  5. Under Enable report data integration for, select Amazon Redshift as your resource.

    This is where AWS will upload your CUR data for further analysis.

  6. Notice that AWS automatically selects GZIP as your compression type and CSV/TXT as your file format.
    You cannot edit the compression type or file format.

    Here is an example of what your screen will look like after you complete the Delivery options page:

  1. On the bottom of the Delivery options page, click Next.

    The Review page opens.

  2. Under Report content, make sure, at a minimum, that you:
    • included Resource IDs
    • opted in for the Data Refresh settings
  3. 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
  4. Once you are satisfied with your settings, click Review and Complete.

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

    Your new report is also included in the list.

If you are onboarding your AWS account using the CUR, continue to the next step: Configure the Cost and Usage Report in CloudCheckr.

How did we do?