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
- Login to the AWS Management Console.
- Go to the menu bar and right-click your account name, and select My Billing Dashboard from the fly-out menu.
- From the Dashboard, click Billing Preferences.
- Under the Cost Management Preferences section, click Detailed Billing Reports [Legacy] .
- Verify that the Turn on the legacy Detailed Billing Reports feature...check box is selected.
- 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.
- Click Configure.
- 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.
- 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.
- 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.
- Click Configure.
- 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.
- 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:
- In AWS, identify or create an S3 bucket where you want the DBR to be stored.
- Make sure that CloudCheckr has permissions to access this bucket.
- Launch CloudCheckr.
- From the left navigation pane, choose Account Settings > Detailed Billing Bucket. The Edit Detailed Billing Bucket page opens.
- In the S3 Bucket section, replace the name of the existing S3 bucket with the exact name of the new S3 bucket.