> For the complete documentation index, see [llms.txt](https://docs.cloudassert.com/hybr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudassert.com/hybr/features/cloud-cost-management/getting-started/aws.md).

# AWS

### AWS CUR Report

The AWS Cost and Usage Reports (AWS CUR) contains the most comprehensive set of cost and usage data available. You can use Cost and Usage Reports to publish your AWS billing reports to an Amazon Simple Storage Service (Amazon S3) bucket that you own. You can receive reports that break down your costs by the hour, day, or month, by product or product resource, or by tags that you define yourself. AWS updates the report in your bucket once a day in comma-separated value (CSV) format. You can view the reports using spreadsheet software such as Microsoft Excel or Apache OpenOffice Calc, or access them from an application using the Amazon S3 API.

AWS Cost and Usage Reports tracks your AWS usage and provides estimated charges associated with your account. Each report contains line items for each unique combination of AWS products, usage type, and operation that you use in your AWS account. You can customize the AWS Cost and Usage Reports to aggregate the information either by the hour, day, or month.

AWS Cost and Usage Reports can do the following:

* Deliver report files to your Amazon S3 bucket
* Update the report up to three times a day
* Create, retrieve, and delete your reports using the AWS CUR API Reference

### Onboard an AWS Subscription

### &#x20;Pre-requisite:

A Global Administrator of AWS should create a [CUR report](#user-content-fn-1)[^1] on the AWS Billing page. Follow the below steps to create a CUR report in the AWS

1. Log into the AWS portal and navigate to Billing -> Cost and usage reports

<figure><img src="/files/IBeK4CpW1z46gPQhRw62" alt=""><figcaption></figcaption></figure>

2. Click on the '**Create report**' button and provide the report name and check the '**Include Resource IDs**' in the image '**Create CUR Step 2**'

<figure><img src="/files/Hmcly2yJrZvRH8RfqKkc" alt=""><figcaption><p>Create CUR Step 1</p></figcaption></figure>

<figure><img src="/files/5HqZlsHTE4URrSVMIrwR" alt=""><figcaption><p>Create CUR Step 2</p></figcaption></figure>

<figure><img src="/files/ILSZTGo3g34VNsuTzwHC" alt=""><figcaption><p>Create CUR Step 3</p></figcaption></figure>

Provide the necessary details in the above form and configure the s3 bucket for AWS CUR reports

3. Choose '**Daily**' or '**Monthly**'  on the Report granularity and choose '**ZIP**' in compression type in the above image (Create CUR Step 3)
4. After completing the setup of AWS CUR report, navigate to IAM -> Users -> Add Users

<figure><img src="/files/aihuQEmO778g2olee3NK" alt=""><figcaption><p>Add User Step 1</p></figcaption></figure>

<figure><img src="/files/8kFML42SMcjYQIyPYvVy" alt=""><figcaption><p>Add User Step 2</p></figcaption></figure>

<figure><img src="/files/oborv1yL0GBTDHrHaiG3" alt=""><figcaption><p>Add User Step 3</p></figcaption></figure>

5. Choose '**AmazonS3ReadOnlyAccess**' in the Permission policies in the image (Add User Step 3)
6. &#x20;Once you configure, Navigate into the created user and follow steps below

<figure><img src="/files/dkt7K62J7Nj9OjqW5Nyi" alt=""><figcaption><p>Create Access Creds step 1</p></figcaption></figure>

<figure><img src="/files/JQetoHXINhTrl65h0F0T" alt=""><figcaption><p>Create Access Creds step 2</p></figcaption></figure>

7. Scroll down in the Security credentials, move to Access Key settings section

<figure><img src="/files/QnPIZlssr1dqB9evX0wr" alt=""><figcaption><p>Create Access Creds step 3</p></figcaption></figure>

8. Once Access Key is created, Copy the values of the access key and secret values and save it in a secure place

### Onboard an AWS Subscription in Hybr&#x20;

1. Log into the Hybr Admin portal and navigate to Reporting → Data Sources -> Connections page.

<figure><img src="/files/l4jhzdbSLxci4YHy9Z0W" alt=""><figcaption></figcaption></figure>

2. Click on the Create Connection button and Choose AWS in the 'Category' Select box and provide the connection name and choose 'AWS Cost Export' as Endpoint

<figure><img src="/files/ooPFIpiPgDP7RIcMdPOQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2QgQH7TZDh13n2WfCzWv" alt=""><figcaption></figcaption></figure>

3. Provide the Export type and necessary details in the above wizard. For the details check the image (**Create Access Creds step 3, Create CUR Step 1, Create CUR Step 2 and Create CUR Step 3**)

| Field              | Reference                                                  |
| ------------------ | ---------------------------------------------------------- |
| Export Data Type   | Usage Cost                                                 |
| Export Type        | Ref image: **Create CUR Step 3**                           |
| Access Key Id      | Ref image: **Create Access Creds**                         |
| Access Key Secret  | Secret will be stored after **Create Access Creds step 2** |
| Region             | Ref image: **Create Access Creds step 3**                  |
| Bucket Name        | Ref image: **Create CUR Step 3**                           |
| Report Name        | Ref image: **Create CUR Step 2**                           |
| Report Path Prefix | Ref image: **Create CUR Step 3**                           |

4. AWS Usages will start collecting in few minutes

### &#x20;Onboarding AWS Resource Pre-requisite

1. &#x20;Log into the AWS portal and click on the Account section on top right corner -> Security Credentials

<figure><img src="/files/619ATWId9wMQOReZ6qSJ" alt=""><figcaption><p>Create Admin Access Creds Step 1</p></figcaption></figure>

<figure><img src="/files/NR5sB8SRsS4lvi4P8ZMM" alt=""><figcaption><p>Create Admin Access Creds Step 2</p></figcaption></figure>

<figure><img src="/files/TVReen1wI1tBydooFzza" alt=""><figcaption><p>Create Admin Access Creds Step 3</p></figcaption></figure>

2. Once Access Key is created, copy the values of the access key and secret values and save it in a secure place

### Onboarding AWS Resource

1. Log into the Hybr Admin portal and navigate to Reporting → Data Sources -> Connections page.

<figure><img src="/files/l4jhzdbSLxci4YHy9Z0W" alt=""><figcaption></figcaption></figure>

2. Click on the Create Connection button and Choose AWS in the 'Category' Select box and provide the connection name and choose 'AWS-Api Endpoint' as endpoint

<figure><img src="/files/Z4kDaP5WtcG7cTsBJiBl" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7V4WuAwzmvexwbqZJSP9" alt=""><figcaption></figcaption></figure>

| Field             | Reference                                                        |
| ----------------- | ---------------------------------------------------------------- |
| Access Key Id     | Ref Image: **Create Admin Access Creds Step 2**                  |
| Access Key Secret | Secret will be stored after **Create Admin Access Creds Step 3** |
| Region            | Ref Image: **Create Admin Access Creds Step 2**                  |

3. Provide the necessary details in the above wizard
4. AWS resources will start syncing with Hybr in few mins

[^1]:


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudassert.com/hybr/features/cloud-cost-management/getting-started/aws.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
