- 2 Minutes to read
- Print
- PDF
Create a CUR for Kompass integration
- 2 Minutes to read
- Print
- PDF
This topic describes how to enable a legacy AWS Cost and Usage Reports (CUR) specifically for the purpose of integrating your K8s environment with Kompass.
To create a legacy CUR for other purposes, see Create a legacy CUR.
A CUR is needed for these AWS accounts:
The subaccount with the EKS cluster that was integrated for the POC (must)
The master account (highly recommended)
A CUR for the master account can give you visibility to all of your AWS resources.
If either account has an existing CUR that matches all the configurations below, you can use that CUR instead of creating a new one. For the master account, that CUR needs 90 days of data. You can backfill data into a CUR as described in Backfill data into a CUR.
Prerequisites
AWS permissions to create a legacy CUR for both the subaccount and master account
Note that AWS can take 24+ hours to generate the first CUR.
To create a CUR:
You will run this procedure twice. First for the subaccount with the EKS cluster and then for the master account.
Log in to the AWS Management Console for the subaccount.
From the AWS console, go to Billing and Cost Management.
You can find that using the search bar.
In the left menu, under Cost Analysis, select Data Exports.
Click Create.
The Create export page is displayed. On this page you customize the CUR with the criteria required by Zesty.
Customize the CUR:
The following screenshot shows a completed configuration with marked sections that match the following described steps:
For Export type, select Legacy CUR export.
For Export name, type a name.
We recommend a name like zesty-<yourbusinessname> that is unique and easily identifiable.
In the Export content section, for Additional export content, select Include resource IDs.
Leave Data refresh settings blank.
In the Data export delivery options section, select the following:
For Report data time granularity, select Hourly.
For Report versioning, select Overwrite existing.
For Report data integration, select Amazon Athena.
For Compression type, leave the default selection, Parquet, selected.
In the Data export storage setting section, click Configure.
The Configure S3 bucket dialog is displayed.
In the Configure S3 bucket dialog, either create or select an existing S3 bucket for CUR data, then confirm the bucket configuration.
On the Create export page, your S3 bucket name is now displayed.
(Optional) Add an S3 path prefix.
The path prefix enables organization and structure within the S3 bucket.
(Optional) You can add tags.
Click Create report.
Repeat this process for the master account.
For the master account only:
When you have received confirmation of the CUR being initiated, backfill 3 months of data into the new CUR as described in Backfill data into a CUR.
After creating the CUR, contact your Zesty representative.
After creating a CUR, AWS automatically uploads the crawler-cfn.yml file to your CUR S3 bucket. This file contains the resources that are necessary to set up Glue Crawlers and databases for Athena.
Example location: s3://<your-bucket>/cloudformation/crawler-cfn.yml
If there are issues in creating the CURs or other resources (such as the crawler file), reach out to your Zesty representative.