# AWS Billing

{% hint style="warning" %}
🚨 Note that you must be an AWS Admin to setup this Connector.

**Importantly, every API call to AWS Cost Explorer cost 0.01USD directly to AWS (we don’t have anything to do with this). For an estimate, we use this Connector ourselves and export daily data for the past 12 months and have an internal cost of ≈ 0.03-0.05USD per day.**
{% endhint %}

{% hint style="info" %}
💪 **Difficulty:** advanced

⏳ **Time to complete**: approx. 10 minutes (if you have AWS Cost Explorer enabled)
{% endhint %}

## 💬 Description

This Connector extracts all your costs from AWS by day and service (EC2, RDS, etc.) and splits it by 8 different types of costs (unblended, blended, etc.). If you want data dating back more than 365 it will be summarized by month - otherwise it will be daily data.

## 🤑 Use Case

This Connection is very helpful for understanding how your deployment costs scale. We use it internally to get a granular cost overview of the production environment of our clients and can track if one particular service begins to scale unexpectedly.

## 🛠️ Setup

This setup is definitely complex and we advise that you know what you’re doing. If you didn’t set up AWS internally, we suggest you talk to the person that did. You’re also more than welcome to schedule a call with us on [Calendly](https://calendly.com/thomas-less/speak-to-less) for help.

### Step #1

You have to make sure that you have enabled AWS Cost Explorer. AWS has its own guide [here](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html). Alternatively, see below.

#### 1) Go to Billing Dashboard

<figure><img src="/files/8cJj4ZWTY9JUKtIn5jBp" alt=""><figcaption></figcaption></figure>

#### 2) Go to Cost Explorer

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

#### 3) Click **Launch Cost Explorer** and wait 24-48 hours before returning to set up the AWS Billing Connector

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


---

# Agent Instructions: 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://resources.less.tech/less-tech/connectors/connector-guides/aws-billing.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.
