This page describes how to configure the display of AWS billing data for standard accounts. For reseller accounts, see Display Amazon billing data.
Create a Cost and Usage Report in AWS
Create an S3 bucket, for example, "costandusagebillingreport"
- Within the bucket, create a folder where AWS will store your reports. Give it the name of your report, for example "costandusagereport"
Note the billing bucket name, for example, "costandusagebillingreport"
- If you don't already have one for using volumes, assign a policy to allow readonly access to S3 storage to your Abiquo AWS user
- Activate IAM user access to billing information. See https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/control-access-billing.html
Go to Billing → Billing preferences
Open the Detailed Billing Reports [Legacy] section
Select the option to Turn on the legacy Detailed Billing Reports feature to receive ongoing reports of your AWS charges
Click Configure and enter your S3 bucket
- Select all of the available reports including
- Monthly report
- Detailed billing report
- Cost allocation report
- Detailed billing report with resources and tags
Click Save preferences
Go to Cost & Usage Reports
Enter the Report name then click Next
- Click Configure and select the S3 bucket. Click Next, then select I have configured that this policy is correct.
- For the report prefix, by default, Amazon will put the reports in a folder with the name format "/report-name/date-range/". You should enter this as the report prefix in Abiquo. Click Next
Review your configuration and check that the following parameters are set: bucket name + the path (folder/subfolder) + Time detail: Hourly + GZIP or ZIP format
Configure standard Amazon accounts
- In Abiquo, edit the Enterprise and go to Properties.
- Add a property with a key of "billing_bucket" and a value of the name of the billing bucket you created
- Add properties for "report_name" and "report_prefix" for the report in the billing bucket