Enabling Detailed Billing Reports

CloudCheckr uses the AWS Detailed Billing Report (DBR) to generate cost reports.

This article explains how to:

  • enable the DBR within the AWS Management Console
  • configure an S3 bucket where AWS will write and store the billing data
  • give CloudCheckr access to the S3 bucket so it can process your billing data

Procedure

  1. Login to the AWS Management Console.
  2. Go to the menu bar and right-click your account name, and select My Billing Dashboard from the fly-out menu.

  3. From the Dashboard, click Billing Preferences.

  4. Under the Cost Management Preferences section, click Detailed Billing Reports [Legacy] .

  5. Verify that the Turn on the legacy Detailed Billing Reports feature...check box is selected.

  6. To receive billing reports, you have to choose an S3 bucket where AWS will write and store your billing data.

    By default, AWS selects the S3 bucket associated with the AWS account that you are currently signed into. A green checkbox indicates that the bucket is configured correctly.

    1. Click Configure.

      1. First, you need to select an existing S3 bucket from the drop-down list or create a new bucket and select the region where it will be located.

      2. Click Next.

        Now you need to attach a policy that will provide AWS with the permissions 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.
      3. Select the I have confirmed that this policy is correct checkbox and click Save.

        AWS displays the new bucket name. The Valid bucket message means that you attached a policy to your S3 bucket and the policy has the required permissions and correct syntax.
  7. Scroll down to the Report section. By default, AWS selects all options, which means that CloudCheckr will receive all of the AWS billing reports.

    Although you can choose not to receive some of these reports, we highly recommend that you keep the Detailed billing report with resources and tags selection. If you only select Detailed billing report, CloudCheckr cannot configure your bill by resources.

  8. Click Save preferences.

    It can take a few days for AWS to build these reports. Once they are available within AWS, CloudCheckr will use the data to build your cost reports.


Changing the S3 Bucket

If you decide at later date that you want to use a different S3 bucket to collect the DBR information from AWS, follow these steps:

  1. In AWS, identify or create an S3 bucket where you want the DBR to be stored.
  2. Make sure that CloudCheckr has permissions to access this bucket.
  3. Launch CloudCheckr.
  4. From the left navigation pane, choose Account Settings > Detailed Billing Bucket.

    The Edit Detailed Billing Bucket page opens.

  5. In the S3 Bucket section, replace the name of the existing S3 bucket with the exact name of the new S3 bucket.


How did we do?