> For the complete documentation index, see [llms.txt](https://docs.finout.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.finout.io/billing-integrations/cloud-providers/connect-to-aws.md).

# Connect to AWS

### 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 <a href="#before-you-start" id="before-you-start"></a>

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](https://docs.aws.amazon.com/cost-management/latest/userguide/cost-optimization-hub-SLR.html).
* **Activated cost allocation tags.** In the [cost allocation tags screen](https://console.aws.amazon.com/billing/home#/tags), activate every tag you want to analyze in Finout, now and in the future.

{% hint style="warning" %}
Tags that aren't activated don't appear in your billing export. AWS does not allowadding them retroactively.
{% endhint %}

<details>

<summary>Resource tags vs. cost allocation tags</summary>

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.

</details>

#### Set up CUR 2.0 <a href="#set-up-cur-2" id="set-up-cur-2"></a>

Choose the tab that matches your setup.

{% tabs %}
{% tab title="New cost center" %}
{% stepper %}
{% step %}

#### **Create a CUR 2.0 export**

1. Sign in to your AWS console and go to [**Billing and Cost Management > Data Exports > Create**](https://us-east-1.console.aws.amazon.com/costmanagement/home?region=us-east-1#/bcm-data-exports/create?e=\&tableName=COST_AND_USAGE_REPORT).
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**.

{% hint style="info" %}
Use an S3 path prefix that isn't already used by another Finout cost center.
{% endhint %}

{% hint style="warning" %}
**Note** - AWS overwrites your existing bucket policy when you create a new export in an existing bucket. If your current policy has custom statements, save a copy of it first, then add them back to the AWS-generated statement as is, without replacing it.
{% endhint %}

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.
{% endstep %}

{% step %}

#### **Create the cost optimization export**

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

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FG9cRWBVdDdPc3zZywo0n%2Fimage.png?alt=media\&token=5b48efc9-4306-47d2-b3ce-3372a574474e)
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).

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FnAxPJKdQKV2cn3gIXYgE%2Fimage.png?alt=media\&token=abc8f80a-980d-4eea-866e-30dc2289d57f)
6. Under **Data export delivery options**, choose **Parquet**. Under **File versioning**, choose **Overwrite existing data export file**.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2Fs1uMhXDOSVbY1QtGL4JF%2Fimage.png?alt=media\&token=dfbdaceb-eaf1-4d2d-8fab-36ff818c0c03)
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.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FKv3woh7dPnSudElFcROG%2Fimage.png?alt=media\&token=52f3d1ba-691f-4d40-8dd5-19adba772209)

{% hint style="info" %}
The cost optimization prefix must be different from the billing export prefix.
{% endhint %}
{% endstep %}

{% step %}

#### **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**.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FSrAzG3V2YvxTt9MmVYju%2Fimage.png?alt=media\&token=d5c23333-ec4b-41c3-81ab-487d374444d2)
3. In the **Connect to AWS** window, copy the **External ID**.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2Fow5A5Wh3ZyWmVC4VUTb8%2Fimage.png?alt=media\&token=accc6107-998c-4948-9bba-068d029f1c54)

Keep this window open. You'll return to it in step 5.
{% endstep %}

{% step %}

#### **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.

{% hint style="success" %}
If Finout already has access to this bucket, for example through an existing cost center, skip to step 5.
{% endhint %}

1. Create a CloudFormation stack from a template, following the [AWS instructions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html).
2. Use this [Amazon S3 URL](https://finout-public-assets.s3.amazonaws.com/FinoutBillingAndMetricsReadOnlyRole.json) as the stack template.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FKwSqO9TL0CoLQYQ72LYw%2Fimage.png?alt=media\&token=6b95f772-2b86-429a-b54e-7a64ee99e376)
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.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FBgPMcVaAhMeoEvMZxUCR%2Fimage.png?alt=media\&token=3ee57865-b0fa-4837-bf99-2f7dca4d0111)

<details>

<summary>Create the IAM role manually instead</summary>

1. [Create a new cross-account role in IAM](https://console.aws.amazon.com/iam/home?region=us-east-1#/roles%24new?step=type\&roleType=crossAccount).

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2F5hPuti3Hx098OvXuxvrs%2Fimage.png?alt=media\&token=18b8569e-6f19-49e8-8cd0-6a2629f006aa)
2. In **Account ID**, enter `277411487094`.
3. Check **Require external ID** and enter the External ID from step 3.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FxU4VVsGvVsttEyWQ6Jqu%2Fimage.png?alt=media\&token=37e06e05-72ca-4153-baa3-bf20f86a4c46)
4. Click **Next** to reach the **Review** step.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FfVbA96st5DmM9Kb9z28S%2Fimage.png?alt=media\&token=eecd3f70-0fb2-4267-8de3-e32bc654a6e7)
5. Name the role `FinoutMetricsReadOnlyRole` and create it.
6. Open the new role's **Summary** and copy the role ARN. Save it for step 5.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FMBhYupJ7pwg2Gw5zrivq%2Fimage.png?alt=media\&token=f227c47d-db73-47e1-9f1e-ee81b86b9c55)
7. Click **Add permissions > Create inline policy**, choose **JSON**, and paste the policy below. Replace `<CUR_BUCKET_NAME>` with your billing bucket name.
8. Click **Next**, name the policy `finout-access-policy`, and click **Create policy**.

{% code title="finout-access-policy.json" overflow="wrap" %}

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "tag:Get*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:Get*",
        "s3:List*"
      ],
      "Resource": "arn:aws:s3:::<CUR_BUCKET_NAME>/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:Get*",
        "s3:List*"
      ],
      "Resource": "arn:aws:s3:::<CUR_BUCKET_NAME>"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:Describe*",
        "ec2:GetReservedInstances*",
        "ec2:GetCapacityReservationUsage"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "savingsplans:DescribeSavingsPlan*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "organizations:ListAccounts",
        "organizations:ListTagsForResource"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ce:Get*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudwatch:ListMetrics",
        "cloudwatch:GetMetricData",
        "cloudwatch:GetMetricStatistics"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "bedrock:GetAgent",
        "bedrock:GetAgentActionGroup",
        "bedrock:ListAgentActionGroups",
        "bedrock:ListAgentAliases",
        "bedrock:GetModelInvocationLoggingConfiguration"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups",
        "logs:FilterLogEvents",
        "logs:StartQuery",
        "logs:GetQueryResults"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:DescribeReserved*",
        "dynamodb:DescribeTable",
        "dynamodb:ListTables"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "autoscaling:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecr:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:Describe*",
        "ecs:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "eks:Describe*",
        "eks:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticmapreduce:Describe*",
        "elasticmapreduce:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticache:DescribeCacheClusters",
        "elasticache:DescribeReservedCacheNodes",
        "elasticache:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "fsx:DescribeBackups",
        "fsx:DescribeFileSystems",
        "fsx:DescribeStorageVirtualMachines",
        "fsx:DescribeVolumes"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "es:Describe*",
        "es:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "rds:DescribeReserved*",
        "rds:DescribeOrderableDBInstanceOptions",
        "rds:DescribeDBClusters",
        "rds:DescribeDBInstances"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "redshift:DescribeClusterSnapshots",
        "redshift:DescribeClusters",
        "redshift:DescribeReservedNodes",
        "redshift:DescribeTags"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "sagemaker:Describe*",
        "sagemaker:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "workspaces:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "application-autoscaling:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "backup:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudtrail:LookupEvents"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "compute-optimizer:Get*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cur:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cost-optimization-hub:Get*",
        "cost-optimization-hub:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:Describe*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "lambda:List*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "pi:DescribeDimensionKeys",
        "pi:GetResourceMetrics",
        "pi:ListAvailableResourceMetrics"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "support:DescribeTrustedAdvisor*"
      ],
      "Resource": "*"
    }
  ]
}
```

{% endcode %}

</details>
{% endstep %}

{% step %}

#### **Connect AWS in Finout**

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

   <table><thead><tr><th width="214.48828125">Field</th><th>Value</th></tr></thead><tbody><tr><td><strong>Cost Center Name</strong></td><td>A name for this cost center</td></tr><tr><td><strong>Role ARN</strong></td><td>From step 4</td></tr><tr><td><strong>Bucket Name</strong></td><td>Your billing bucket, from step 1</td></tr><tr><td><strong>S3 Path Prefix</strong></td><td>Your billing export prefix, from step 1</td></tr><tr><td><strong>Region</strong></td><td>Your billing bucket's region, from step 1</td></tr></tbody></table>

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FbGZxSYmLJrbBTCGmLr1r%2Fimage.png?alt=media\&token=f6fda549-3370-40b9-9ad5-2227c31366a3)
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.

   ![](https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2F6nSv0EZgZG9rZRrZQf7l%2Fimage.png?alt=media\&token=79fb1e36-d72c-47ce-8184-3ec2b307b897)
4. Click **Next**. Finout verifies the details and creates the cost center.
   {% endstep %}

{% step %}

#### **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.
{% endstep %}

{% step %}

#### **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**](https://app.finout.io/app/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.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Migrate existing cost center" %}
{% hint style="warning" %}
**Migration is supported only from a Legacy CUR in Parquet format.** Your new CUR 2.0 export can be Parquet or CSV. Support for migrating from a Legacy CUR in CSV is coming by end of Q4.
{% endhint %}

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.

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.

{% stepper %}
{% step %}
**Locate your Legacy CUR export**

1. In Finout, go to [**Settings > Cost Centers**](https://app.finout.io/app/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`.

<figure><img src="https://3858159242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWqjB2puKXPDR7L86FX2e%2Fuploads%2FFAAU4SB1GLhstWNChr1k%2Fimage.png?alt=media&#x26;token=79880def-46ea-44d5-b7f4-f03bc1691a37" alt=""><figcaption><p>1 - Role ARN | 2 - Bucket Name | 3 - S3 Path Prefix, before the / | 4 - Export Name, after the /</p></figcaption></figure>
{% endstep %}

{% step %}
**Create a CUR 2.0 export in the same location**

{% hint style="warning" %}
**Note** - AWS overwrites your existing bucket policy when you create a new CUR export. If your current policy has custom statements, save a copy of it first.
{% endhint %}

1. Sign in to the AWS account from the previous step and go to [**Billing and Cost Management > Data Exports > Create**](https://us-east-1.console.aws.amazon.com/costmanagement/home?region=us-east-1#/bcm-data-exports/create?e=\&tableName=COST_AND_USAGE_REPORT).
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**.

{% hint style="info" %}
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.
{% endhint %}

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

{% hint style="success" %}
**What to expect after migrating**

* From the day you create your CUR 2.0 export, your cost center reports on CUR 2.0. Earlier periods stay on your Legacy CUR.
* Some recent past days may update to CUR 2.0 data.
* To backfill earlier periods with CUR 2.0, contact <support@finout.io>.
  {% endhint %}
  {% endstep %}
  {% endstepper %}
  {% endtab %}
  {% endtabs %}

#### Connect AWS China <a href="#connect-aws-china" id="connect-aws-china"></a>

<details>

<summary>Connect AWS China and known limitations</summary>

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.

{% hint style="info" %}
**Note**: We are actively exploring more native solutions to address these limitations and improve our integration with AWS China.
{% endhint %}

</details>

#### Troubleshooting and FAQ <a href="#faq" id="faq"></a>

**Export settings**

<details>

<summary>Which file format should my export use?</summary>

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.

</details>

<details>

<summary>Can I connect a new cost center with Legacy CUR only?</summary>

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

</details>

<details>

<summary>Does the export need to be in the payer account?</summary>

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.

</details>

<details>

<summary>Can the export overwrite itself throughout the month?</summary>

Yes. Finout supports both overwriting and creating new versions.

</details>

<details>

<summary>Can I use a CUR from CloudHealth or another third-party service?</summary>

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`.

</details>

<details>

<summary>Can I enable encryption on the S3 bucket?</summary>

Yes. S3 encryption is supported.

</details>

<details>

<summary>Why do some column names in my Parquet files contain underscores?</summary>

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.

</details>

**Onboarding issues**

<details>

<summary>How long until data appears in Finout?</summary>

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

</details>

<details>

<summary>What should I do if self-onboarding fails?</summary>

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>.

</details>

<details>

<summary>How do I fix an incorrect S3 path prefix?</summary>

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

</details>

<details>

<summary>Validations pass locally but fail during onboarding. Why?</summary>

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

</details>

<details>

<summary>Do I need to grant every permission in the policy?</summary>

All permissions are read-only, and we recommend granting the full policy so every [Agents](https://docs.finout.io/user-guide/agentic-product-beta/agents-overview-beta) 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.

</details>

**Changing a cost center**

<details>

<summary>Can I edit an AWS cost center's bucket or path prefix?</summary>

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>.

</details>

<details>

<summary>Can I move my existing cost center to CUR 2.0?</summary>

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.

</details>

<details>

<summary>I can't place my CUR 2.0 export in the same location as the legacy export. Can I create a new cost center for CUR 2.0 instead?</summary>

While it is recommended to migrate an existing cost center in place, setting up a new cost center is also an option. Once your CUR 2.0 export is ready, contact <support@finout.io> to manage the switch for you.

For cost centers connected to Kubernetes, let support know. They'll link your Kubernetes cost center to the new CUR 2.0 cost center before the Legacy one is deactivated.

</details>

<details>

<summary>Which data source does my cost center use after migrating?</summary>

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.

</details>

<details>

<summary>Should I turn off my Legacy CUR export after migrating to 2.0?</summary>

We recommend to keep it on for now. Finout reports on it for any month CUR 2.0 doesn't cover.

</details>

{% hint style="info" %}
**Need help?** Contact our support team at <support@finout.io>.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.finout.io/billing-integrations/cloud-providers/connect-to-aws.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
