StackSpendDocs

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.

Data latency.AWS Cost Explorer reporting is delayed. Check the latest available date and successful sync; more frequent syncing does not remove provider reporting delays.

Prerequisites

  • An active AWS account
  • IAM access to create users and attach policies

Setup

1

Create an IAM User

In the AWS Console, go to IAM → Users → Create user. Set the username to stackspend-readonly. Click Next.

2

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.

3

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.

4

Add to StackSpend

Go to Providers → Add provider → AWS:

Add AWS provider

AKIAIOSFODNN7EXAMPLE
••••••••••••••••••••
US East (N. Virginia) — us-east-1▾
Providers›Add provider›AWS
5

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.

Never use root account credentials.Do not use root account credentials. Always create a dedicated IAM user with only the required read-only policies.
Multi-account via Organizations.For multi-account setups, create the IAM user in the management (root) account, not a member account. The AWSBillingReadOnlyAccess policy on the management account grants access to all member account costs automatically.

Data availability

PropertyValue
LatencyTypically delayed; verify Cost Explorer and the latest sync (AWS)
Historical dataUp 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.

Connect AWS to StackSpend — StackSpend Docs