AWS
Connect your AWS account to track costs across all services via the Cost Explorer API, with support for multi-account Organizations.
What StackSpend tracks
Once connected, StackSpend imports cost data from AWS Cost Explorer across:
- All AWS services (EC2, S3, RDS, Lambda, and more)
- Service-level cost breakdown
- Account-level breakdown for multi-account setups via AWS Organizations
- Service and linked-account breakdowns returned by Cost Explorer
The first sync requests up to 90 days of historical cost data where available.
Prerequisites
- An active AWS account
- IAM access to create users and attach policies
Setup
Create an IAM User
In the AWS Console, go to IAM → Users → Create user. Set the username to stackspend-readonly. Click Next.
Attach permissions
Choose Attach policies directly and attach the following policy:
AWSBillingReadOnlyAccess
If you are using AWS Organizations for multi-account cost tracking, also attach:
AWSOrganizationsReadOnlyAccess
Click Next, then Create user.
Create access keys
Click the newly created user, then go to the Security credentials tab. Under Access keys, click Create access key. Select Third-party service as the use case.
Copy the Access Key ID and Secret Access Key. The secret key is only shown once — store it securely before closing the dialog.
Add to StackSpend
Go to Providers → Add provider → AWS:
Add AWS provider
Verify
The initial sync starts after saving and requests up to 90 days where available. Verify the returned dates and latest successful sync. Cost Explorer reporting is delayed; use AWS operational monitoring for live consumption.
AWSBillingReadOnlyAccess policy on the management account grants access to all member account costs automatically.Data availability
| Property | Value |
|---|---|
| Latency | Typically delayed; verify Cost Explorer and the latest sync (AWS) |
| Historical data | Up to 90 days where available |
| Setup time | ~5 minutes |
Frequently asked questions
Does this replace AWS Cost Explorer or AWS Budgets?
No. Cost Explorer and Budgets stay the native tools. StackSpend puts AWS beside your other cloud and AI spend, with a daily report and email alerts after each sync.
How do I connect AWS?
Create a read-only IAM user with access keys and the Cost Explorer permissions in the setup guide. StackSpend does not use an IAM role, and it does not change AWS resources. Organizations accounts the key can see are included.
When does an AWS anomaly appear?
After the next sync. Syncs run at least every 6 hours, and AWS billing lands 24–48 hours after usage. Alerts go by email. This is not a live meter of current consumption.
How much AWS history is available?
From your first sync, up to 90 days where AWS still has the rows. A charge appears after the next sync, once billing has published it.