Create a Cost & Usage Report in AWS
You must configure a Cost & Usage Report (CUR) in AWS prior to configuring the AWS integration. This is required for all AWS integration configurations if you want bill analysis reports.
CURs publish your AWS billing reports once a day in CSV format to an S3 bucket that you own. Virtana Platform's Cloud Cost Management (CCM) uses these reports to analyze your resource costs and right-sizing needs. (Cost & Usage Reports replaced Detailed Billing in AWS.)
About This Task
If you already have a Cost & Usage Report that is properly configured with hourly billing, GZIP compression, and CSV file format for billing, then you can skip this task. However, if the CUR is not properly configured, CCM cannot interact correctly with AWS.
Steps
Log in to your AWS Console for your management account.
Navigate to Billing > Cost & Usage Reports.
Click Create report.
The Report Content page displays.
Name the report.
Example: HourlyCSIOithResourceIDs
Enable the Include resource IDs checkbox and click Next.
Note
Customers should not select the "split allocation data" option. "Split allocation costs" is a new AWS capability designed for allocating container costs.
Click Configure to choose (or create) an S3 bucket to store your files and click Next.
Check "I have confirmed that this policy is correct" in the Verify Policy popup and click Save.
The Delivery Options page displays.
Provide a Report path prefix.
Example: CostAndUsageReports
Do not include any leading or trailing forward slashes. Doing so may distort the file hierarchy output by AWS.
Tip
Existing report path prefixes can be found by accessing the AWS Cost & Usage Reports and clicking a report name.
Make a note of the Report path prefix as you will need it when configuring AWS in Virtana Platform.
Select Hourly under Time granularity.
Select your preferred Report versioning method.
Overwriting the existing report might save on your storage costs in the future.
Leave all data integration options unchecked.
Select GZIP for Compression type and then click Next.
Review your configurations and then select Review and Complete to create the Cost and Usage Report.
Tip
It can take up to 24 hours for data to populate in the S3 bucket. After that, AWS updates the data at least once a day.
Note
For AWS, we support both hourly and daily export jobs.
Next Steps
Configure AWS using the CloudFormation Template method, the manual method, or the access key method.