Migrating from CUR to Data Exports CUR 2.0
AWS Data Exports allows you to create exports of Cost and Usage Report 2.0 (CUR 2.0). The CUR 2.0 table provides the same information as Cost and Usage Reports (CUR) along with some improvements. Data Exports enables you to create a CUR 2.0 export that is backwards compatible with the data pipelines you’ve been using to process CUR.
CUR 2.0 provides the following improvements over CUR:
-
Consistent schema: CUR 2.0 contains a fixed set of columns, whereas the columns included for CUR can vary monthly depending on your usage of AWS services, cost categories, and resource tags.
-
Nested data: CUR 2.0 reduces data sparsity by collapsing certain columns from CUR into individual columns with key-value pairs of the collapsed columns. Optionally, you can query the nested keys in Data Exports as separate columns to match the original CUR schema and data.
-
Additional columns: CUR 2.0 contains two additional columns: bill_payer_account_name and line_item_usage_account_name.
The following table outlines the differences between CUR 2.0 and legacy CUR in more detail:
CUR 2.0 | Legacy CUR | |
---|---|---|
Data schema |
Fixed schema. For the complete column list, see Cost and Usage Report (CUR) 2.0. |
Dynamic schema based on AWS usage and activity. For the partial column list, see Data dictionary. |
Exclusive columns |
|
None |
Export customization |
Enables basic SQL for column selections, row filtering, and column aliasing (renaming). For details about the supported SQL syntax, see Data query. |
Not supported. You must manually set up Athena/QuickSight to create the view you require. |
Nested columns with key-value pairs |
|
No nested columns. The four nested columns in CUR 2.0 are split into separate columns in legacy CUR
(for example, |
File delivery destination | S3 bucket | S3 bucket |
File output formats | GZIP, Parquet | ZIP, GZIP, Parquet |
Integration with other AWS services | Amazon QuickSight | Amazon Athena, Amazon Redshift, Amazon QuickSight |
Amazon CloudFormation support |
Yes For details, see AWS Data Exports resource type reference in the AWS CloudFormation User Guide. |
Yes For details, see AWS Cost and Usage Report resource type reference in the AWS CloudFormation User Guide. |
Tag and cost category data | Tag and cost category names are normalized to remove special characters and spaces. In the event that there are conflicting tags or cost categories after normalization, only one value is kept. For more information, see Column names. |
The behavior is different between legacy CUR Parquet and CSV file formats. Legacy CUR Parquet: Tag and cost category names are normalized to remove special characters and spaces. In the event that there are conflicting tags or cost categories after normalization, only one value is kept. For more information, see Column names. Legacy CUR CSV: Tag and cost category names are not changed. |
For more detailed information about the schema of CUR 2.0, see the Data Exports table dictionary.
You can migrate to CUR 2.0 in Data Exports in two ways: