https://github.com/last9/aws-cost-reporter
Stop guessing what AWS costs. Ship cost metrics to Last9 in minutes.
https://github.com/last9/aws-cost-reporter
aws cost-management finops lambda last9 opentelemetry
Last synced: about 1 month ago
JSON representation
Stop guessing what AWS costs. Ship cost metrics to Last9 in minutes.
- Host: GitHub
- URL: https://github.com/last9/aws-cost-reporter
- Owner: last9
- License: other
- Created: 2026-04-24T09:50:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-06T10:00:33.000Z (2 months ago)
- Last Synced: 2026-05-06T12:04:30.615Z (2 months ago)
- Topics: aws, cost-management, finops, lambda, last9, opentelemetry
- Language: Python
- Size: 83 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Cost Reporter
You're already paying for AWS. You might as well know exactly what you're paying for, broken down by service, account, and region — right inside Last9 where the rest of your observability lives.
This repo ships two integrations. Pick one — **never both**. Running both simultaneously double-counts every dollar.
## aws-cost-explorer — start here
No S3 bucket. No CUR setup. No waiting 24 hours for data.
One CloudFormation stack. One parameter. Done.
```
Upload cloudformation.yaml → fill in your Last9 token → Create stack
```
A Lambda runs in your AWS account every day, calls the Cost Explorer API, and sends `aws.cost.unblended` and `aws.cost.amortized` to Last9. That's it. No servers. No credentials lying around. $0/month to run.
→ [aws-cost-explorer/](./aws-cost-explorer/)
## aws-cur — when you need more
If you want cost broken down by individual EC2 instance, S3 bucket, or custom team/environment tags, you need the Cost and Usage Report. It's more setup (enable CUR, wait 24h for first data, point it at S3), but it gives you line-item granularity that Cost Explorer can't.
→ [aws-cur/](./aws-cur/)
## Metrics
Both integrations send the same core metrics to Last9:
| Metric | What it tells you |
|---|---|
| `aws.cost.unblended` | What AWS actually charged, per service per day |
| `aws.cost.amortized` | Same, but with RI and Savings Plan costs spread across usage (the honest number) |
Query `aws.cost.unblended` in Last9, group by `aws.service`. That's your cost dashboard.