For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Connect to AWS - CUR 2.0 Support (Beta)

Intro

Connect AWS to Finout to analyze your cost and usage across specific accounts or your entire organization. Finout reads your AWS billing export from an S3 bucket in your account.

Before you start

Make sure you have:

  • Access to Billing and Cost Management > Data Exports in the AWS account that holds your billing export, with permission to create exports. If you have several AWS accounts, use the payer (EDP) account, or any account whose export includes all of the payer's billing data.

  • Permission to create an S3 bucket and an IAM role.

  • The service-linked role AWSServiceRoleForCostOptimizationHub, required for the cost optimization export. An AWS account admin can create it by following the AWS instructions.

  • Activated cost allocation tags. In the cost allocation tags screen, activate every tag you want to analyze in Finout, now and in the future.

Resource tags vs. cost allocation tags

AWS uses two types of tags:

  • Resource tags are applied to AWS resources but are not included in billing data by default.

  • Cost allocation tags are tags you activate in the billing console. They appear in your billing export.

Finout reads only your billing export and doesn't query AWS resources directly, so it can use only activated cost allocation tags.

Set up CUR 2.0

Choose the tab that matches your setup.

1

Create a CUR 2.0 export

  1. Sign in to your AWS console and go to Billing and Cost Management > Data Exports > Create.

  2. Under Export details, select Standard data export. Under Data table content settings, select CUR 2.0.

  3. In Export name, enter a name. For example, yourcompanyname-billing-reports.

  4. Under Additional export content, check all four boxes.

  5. Under Data export delivery options:

    1. Set Time granularity to Hourly.

    2. Under File versioning, choose either Create new export version or Overwrite existing export. Finout supports both.

    3. Set Compression type to Parquet (recommended) or CSV.

  6. Under Data export storage settings:

    1. Create a new S3 bucket or choose an existing one. Save the bucket name and its region for step 5.

    2. Enter an S3 path prefix. Save it for step 5.

  7. Click Next, then Review and Complete.

Use an S3 path prefix that isn't already used by another Finout cost center.

The first export file usually lands in your bucket within a few hours. A full backfill of historical data can take up to 24 hours.

2

Create the cost optimization export

  1. In Billing and Cost Management > Data Exports, click Create.

  2. Select Standard data export and enter a name. For example, finout-aws-recommendations.

  3. Under Data table content settings, select Cost optimization recommendations.

  4. Under Data table configuration, check Include all recommendations.

  5. Under Column selection, keep all columns selected (the default).

  6. Under Data export delivery options, choose Parquet. Under File versioning, choose Overwrite existing data export file.

  7. Under Data export storage settings, click Configure, choose Select existing bucket, and select the bucket you use for your billing export. Check I agree to overwrite my S3 bucket policy, then click Select bucket.

  8. Enter an S3 path prefix and click Create. Save the prefix for step 5.

The cost optimization prefix must be different from the billing export prefix.

3

Copy the External ID from Finout

  1. In Finout, go to Settings > Cost Centers and click Add cost center.

  2. Select AWS and click Next.

  3. In the Connect to AWS window, copy the External ID.

Keep this window open. You'll return to it in step 5.

4

Grant Finout access to your bucket

Create an IAM role that lets Finout read your bucket. Follow these steps to do this with CloudFormation (recommended), or scroll down for the manual method.

  1. Create a CloudFormation stack from a template, following the AWS instructions.

  2. Use this Amazon S3 URL as the stack template.

  3. Enter the External ID from step 3 and your billing bucket name as stack parameters.

  4. Click Next, then Submit. The Stack details page opens.

  5. Open the Outputs tab and copy the IAM role ARN. Save it for step 5.

Create the IAM role manually instead
  1. In Account ID, enter 277411487094.

  2. Check Require external ID and enter the External ID from step 3.

  3. Click Next to reach the Review step.

  4. Name the role FinoutMetricsReadOnlyRole and create it.

  5. Open the new role's Summary and copy the role ARN. Save it for step 5.

  6. Click Add permissions > Create inline policy, choose JSON, and paste the policy below. Replace <CUR_BUCKET_NAME> with your billing bucket name.

  7. Click Next, name the policy finout-access-policy, and click Create policy.

5

Connect AWS in Finout

  1. Return to the Connect to AWS window in Finout and fill in:

    Field
    Value

    Cost Center Name

    A name for this cost center

    Role ARN

    From step 4

    Bucket Name

    Your billing bucket, from step 1

    S3 Path Prefix

    Your billing export prefix, from step 1

    Region

    Your billing bucket's region, from step 1

  2. Click Next. The Connect AWS Cost Optimization step opens.

  3. Enter the Bucket Name and Path Prefix of your cost optimization export, from step 2.

  4. Click Next. Finout verifies the details and creates the cost center.

6

Check your data

For AWS, initial data in Finout is expected within 24 hours. In most cases you will see the newly created cost center by next morning.

7

Optional: Extend historical coverage with a Legacy CUR

A new CUR 2.0 export starts with the current month and adds data from then on. To get up to 14 months of earlier history, request a backfill from AWS Support.

To cover months before that, copy your existing Legacy CUR export (parquet format only) into the same S3 location as your CUR 2.0 export. Finout reads both exports and uses CUR 2.0 for every month it covers, falling back to the Legacy CUR only for earlier months.

  1. In Finout, go to Settings > Cost Centers, open your AWS cost center and note the Bucket Name and S3 Path Prefix. The S3 Path Prefix holds both the path prefix and the export name, separated by the last /.

  2. Copy your Legacy CUR export's files into that bucket, under the same path prefix and export name as your CUR 2.0 export.

You don't need to change permissions or the cost center. Finout picks up the Legacy CUR data on its next fetch.

For a seamless migration and data continuity, Finout asks you to create a CUR 2.0 export with the same S3 path and export name as the Legacy CUR your cost center reads. The steps below will take you through that setup.

Once rolled out, your cost center reads either export: for each month, it uses CUR 2.0 where available and falls back to the Legacy CUR otherwise.

  • Straightforward migration. No cutover date to manage, no new cost center to create. Simply direct the new 2.0 export to the same location as your Legacy CUR.

  • Full history in one cost center. AWS supports a backfill of up to 14 months for CUR 2.0. Older periods stay available from your Legacy CUR.

  • Your connection stays as is. Same cost center, IAM role and bucket permissions.

Prerequisite: the CUR 2.0 export must be in the same AWS account and S3 bucket as your Legacy CUR.

1

Locate your Legacy CUR export

  1. In Finout, go to Settings > Cost Centers and open your AWS cost center.

  2. Note these values for the next step:

    • Role ARN: the 12-digit number after arn:aws:iam:: is the AWS account to create the export in.

    • Bucket Name: the S3 bucket.

    • S3 Path Prefix: holds both the S3 path prefix and the export name, separated by the last /. For example, in cur-v2-bedrock/cur-export-bedrock, the S3 path prefix is cur-v2-bedrock and the export name is cur-export-bedrock.

1 - Role ARN | 2 - Bucket Name | 3 - S3 Path Prefix, before the / | 4 - Export Name, after the /
2

Create a CUR 2.0 export in the same location

  1. Sign in to the AWS account from the previous step and go to Billing and Cost Management > Data Exports > Create.

  2. Under Export details, select Standard data export. Under Data table content settings, select CUR 2.0.

  3. In Export name, enter the same name as your Legacy CUR export.

  4. Under Additional export content, check all four boxes.

  5. Under Data export delivery options:

    1. Set Time granularity to Hourly.

    2. Under File versioning, choose either Create new export version or Overwrite existing export. Finout supports both.

    3. Set Compression type to Parquet (recommended) or CSV.

  6. Under Data export storage settings, select the same S3 bucket and enter the same S3 path prefix as your Legacy CUR.

  7. Click Next, then Review and Complete.

If you saved custom statements, add them back to the new bucket policy now. Add it to the AWS-generated statement as is, do not replace them.

You don't need to change permissions. Finout's existing IAM role already reads this bucket.

Connect AWS China

Connect AWS China and known limitations

To connect AWS China, copy your AWS China billing data to an S3 bucket outside China, then follow the new cost center steps.

  • Currency conversion: Finout support can convert billing data from Chinese Yuan to US Dollars. Contact support@finout.io.

  • CostGuard: not supported for AWS China, because the metrics and permissions CostGuard scans need aren't accessible outside China.

Known limitations

  • Account names: AWS China billing files don't include account names. Use Virtual Tags to identify accounts.

  • Enrichments: enrichments that need data beyond the billing files, such as account-level tags, aren't supported.

  • Resources and metrics: Finout can't access AWS resources or metrics in the China region. The integration processes only the billing files exported outside China.

Note: We are actively exploring more native solutions to address these limitations and improve our integration with AWS China.

Troubleshooting and FAQ

Export settings

Which file format should my export use?

Parquet is recommended for CUR 2.0. CSV (including csv.gz) is also supported. A Legacy CUR that Finout reads for older periods, in a new or migrated cost center, must be Parquet.

Can I connect a new cost center with Legacy CUR only?

Yes. It's supported but not recommended. If you need it, contact support@finout.io for instructions.

Does the export need to be in the payer account?

No. The export must include all billing data for the payer account, but it doesn't need to be created in the payer account itself.

Can the export overwrite itself throughout the month?

Yes. Finout supports both overwriting and creating new versions.

Can I use a CUR from CloudHealth or another third-party service?

Yes, as long as it matches the settings above and contains all billing data. The directory structure must follow this format: s3://bucket_name/cur/year=2023/month=12/*.parquet.

Can I enable encryption on the S3 bucket?

Yes. S3 encryption is supported.

Why do some column names in my Parquet files contain underscores?

AWS column names must meet Athena and AWS Glue naming rules, which allow only lowercase letters, numbers and underscores. When AWS converts billing data, including cost allocation tags, to Parquet, it replaces any other character (such as :, / or .) with an underscore. This affects column names (tag keys) only. Tag values keep their original characters.

Onboarding issues

How long until data appears in Finout?

About 24 hours for the first fetch. We recommend checking the next morning, around 10 AM your local time.

What should I do if self-onboarding fails?

Check the following:

  • S3 bucket content: the bucket contains billing export files and isn't empty.

  • S3 path prefix: the most common issue. Use a static prefix such as myorg-org/finout-cur, without the date-range folder, which is filled in dynamically.

  • Manifest.json: the manifest file is in your bucket. It's required for the integration.

If the problem persists, contact support@finout.io.

How do I fix an incorrect S3 path prefix?

Remove any date range from the prefix and try again. For example, use your-path/cur-report-name/ instead of your-path/20240101-20240201/.

Validations pass locally but fail during onboarding. Why?

Check that the S3 path prefix you entered in Finout matches the location of the export files in your bucket, then try again.

Do I need to grant every permission in the policy?

All permissions are read-only, and we recommend granting the full policy so every Agents use case works, including ones we add in future.

If you do grant only part of the policy, use cases that rely on a missing permission won't be supported: their agents won't return findings. Everything else keeps working. Access to your CUR bucket is the exception and is always required, since all your cost data comes from it.

Changing a cost center

Can I edit an AWS cost center's bucket or path prefix?

No. The data path can't be changed after a cost center is created, because reading from two different exports risks double-counted or missing costs. To point a cost center at a new bucket or path, contact support@finout.io.

Can I move my existing cost center to CUR 2.0?

Yes. Create a CUR 2.0 export in the same bucket, prefix and name as your Legacy CUR. See the Migrate existing cost center tab above.

Which data source does my cost center use after migrating?

From your migration date onward, Finout reports on CUR 2.0. Earlier periods stay on your Legacy CUR. Some recent past days may also update to CUR 2.0.

To move earlier periods, or any recent days still on Legacy CUR, to CUR 2.0, contact support@finout.io for a historical backfill.

Should I turn off my Legacy CUR export after migrating?

No. Keep it on for now. Finout reports on it until the CUR 2.0 rollout is complete, and uses it for any month CUR 2.0 doesn't cover.

Need help? Contact our support team at support@finout.io.

Last updated

Was this helpful?