Our application uses the AWS Detailed Billing Report (DBR) to generate cost reports.
After you create your cross-account access role, you must enable the DBR to ensure it is associated with the proper S3 bucket and it is accessible to CloudCheckr.
This procedure will show you how to enable the DBR in AWS.
- Login to the AWS Billing Console.
- From the Dashboard, click Preferences.
- Under the Cost Management Preferences section, select the Receive Billing Reports checkbox.
- To receive billing reports, you have to choose the S3 bucket where they will be stored. Type the name of an S3 bucket.
What If I Need To Create an S3 Bucket?
- From the AWS Management Console, select Storage > S3.
- Create an S3 bucket. See the AWS topic, Create a Bucket, for more information.
- Type the exact name of the new S3 bucket in the S3 Bucket text field.
Follow these steps to edit the S3 bucket properties and add a permission policy granting AWS access to publish your reports:
- Click the sample policy link below the S3 Bucket text field.
- Copy the policy in the dialog box and click Close.
- From the top of the page, select Services and select S3 from the left side of the console.
- From the S3 list, click the name of the new S3 bucket.
- Click the Permissions tab.
- Click the Bucket Policy button.
- Paste the sample policy that you copied into the editor.
- Click Save.
The Sample Policy dialog box opens.
The Bucket Policy editor opens.
- Click Verify next to the S3 Bucket text field to validate that AWS saved the correct bucket policy.
A green checkbox indicates that the bucket is configured correctly.
- On the Preferences page, scroll down to the Report section, and choose the billing reports that you would like to receive.
Note: We highly recommend that you select Detailed billing report with resources and tags. If you only select Detailed billing report, the application will not be able to show your bill by resources.
To get the most out of CloudCheckr, we recommend that you enable all reports.
- Click Save preferences.
Note: 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.
Note: You can also 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.
The Billing & Cost Management Dashboard opens.
The Preferences page opens.
Preparing Your AWS Account
Enabling Tags for Cost Reports
Creating and Configuring Your CloudCheckr Account