How do I ingest and visualize the AWS Cost and Usage Report (CUR) into Amazon QuickSight?
Last updated: 2021-07-27
I want to ingest the AWS Cost and Usage Report (CUR) from Amazon Simple Storage Service (Amazon S3) into Amazon QuickSight. How do I import and visualize my monthly CUR results?
You can ingest and visualize your AWS Cost and Usage Report (CUR) by doing the following:
3. Open the QuickSight console.
4. Choose Manage Data.
5. Choose New Data Set.
6. Choose S3. This opens the Amazon S3 data source dialog box.
7. In the Amazon S3 data source dialog box, enter a data source name.
Important: Make sure that you've set the proper permissions for QuickSight to access the S3 bucket. Otherwise, you can't access any data in QuickSight.
8. In the Upload a Manifest field, choose Upload, or enter the URL of your AWS Cost and Usage Report manifest file like this:
Replace the following variables to indicate the S3 folder and JSON file that you created in Step 1:
awscostusagereport-quicksight: Your S3 bucket
report_path_example: The CUR Report path prefix
AWS_CUR_QS_ReportName: Your CUR Report name
20200601-20200701: The date range of your CUR Report
9. Choose Connect. This creates and opens the new dataset.
10. After you create the new dataset, choose Visualize to display all the data fields in your AWS Cost and Usage Report. For more information about the CUR data field definitions, see the Data dictionary.
If you can't find the QuickSight folder under your S3 bucket, try the following:
- Allow 24 hours before attempting to regenerate the CUR report and manifest file.
- Verify that you selected QuickSight for the Enable report data integration for field.
If you get a "We can't parse the manifest file as a valid JSON" error message, try the following:
- Check whether you've correctly authorized QuickSight to access your S3 bucket.
- Verify that the URL of the manifest file that was copied over is located in the QuickSight folder. Each service folder must have its own manifest file.
If you have multiple AWS accounts under the same organization, make sure that you have proper access rights from the management account. This report is available only to the management account owner and any users who are granted access by the management account. For more information, see Consolidated billing for AWS Organizations.