Configure the Cost and Usage Report in AWS
Getting the CUR up and running for your billing data is a two-step process. First, you'll configure it in AWS. Second, you'll configure CloudCheckr to receive it.
- Login to the
AWS Billing Console.
You can also login to the AWS Management Console, go to the menu bar, right-click your account name, and select My Billing Dashboard from the fly-out menu.
The Billing & Cost Management Dashboard opens.
- From the left side of the console, click Reports .
The AWS Cost and Usage Reports page opens.
- Click Create report.
The Create Report wizard opens and displays Step 1: Select Content.
- On the Select Content form:
- create a report name
- select Hourly as the time unit
- select the Resource IDs checkbox to include resources in your report
- select Redshift to enable support this service
- modify the remaining optional settings as needed
- Click Next.
Step 2: Select Delivery options displays.
- Type the name of the S3 bucket where you want AWS to publish and store the CUR.
While using the same S3 bucket for the CUR and DBR will reduce the time it takes to configure permissions, you can also use a separate S3 bucket for the CUR. Which method you choose is a matter of preference.
- If you use the same S3 bucket for the CUR and the DBR, make sure you create a separate folder within the bucket to store the CUR. Please include the folder name in the path.
- 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.
- Return to Step 2: Select Delivery options in the Create Report wizard.
- 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.
- Modify the remaining optional settings as needed.
GZIP is the required format for compression.
- Click Next.
Step 3: Review displays.
Review the settings and ensure that the time unit indicates hourly and Optional categories indicates Resource IDs.
- Click Review and Complete.
Now that you have configured the CUR in AWS, you'll need to configure CloudCheckr to receive the CUR.