Setting Up Cost Reports Manually

OneLens prefers the IAM role and CUR bucket to be created in us-east-1 region if you have multiple regions active. However if you wish to setup the Role and CUR bucket in a specific region, this document will guide you with the setup process.

Its is a two step process:

Setting up the CUR 2.0 report

Billing service is a global service, which internally served by AWS in us-east-1 region. We will configure the export via this global service to deliver reports in the S3 bucket created in choice of your region

1

Initiate Data export

Go to Billing Service and click on Data Export.

2

Create new report

Click on the Create button. Provide the Export Name as OneLens-Standard-CUR-Export and data export type should be the default, i.e. Standard Data Export.

3

Configure Table content setting

Select

  1. Select report format as CUR 2.0

  2. In addiotional settings, select both the check boxes

    1. Include Resource Id

    2. Split Cost Allocation Data

You should see the selection of 125 Columns

4

Configure Storage Settings and Finalize

Configure the S3 setting as per your need. In below screenshots we you see we selected `ap-south-1`as preferred region

Provide the Bucket Name and the region in which you want the bucket to be created

Provide the CUR Path as cur and hit the Create Button

Note - AWS will take 24-48 Hours to generate the first report.

Creating IAM role for access

Once the S3 bucket is configured, lets create the IAM Role in the same region where you created the CUR bucket

1

Create Cloudformation Stack

Go to CFT Service and upload the Stack. You can find the yml file below

2

Specify Stack Details

Provide the details as

  1. Stack Name - onelens-cur-role-stack

  2. Role Name - get the unique ID from OneLens Team for your Account.

  3. S3 Bucket Name - your S3 bucket name created in previous step

3

Configure Stack Options

Click on Next and provide Tags as per your company norms (optional)

4

Review and create

Acknowledge that you are creating an IAM Role and create the role

Click on Next and then Submit

After successful execution, please share the following details with OneLens team

  • Your Account ID in which you have run the Stack

  • S3 CUR Bucket Name

Last updated