AWS Cost Explorer

AWS Cost Explorer

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect AWS Cost Explorer to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync your AWS cost and usage data into the PostHog Data warehouse.

Create an IAM user or role with the ce:GetCostAndUsage, ce:GetReservationUtilization and ce:GetSavingsPlansUtilization permissions, then paste its access key ID and secret access key. Add a session token too if you are using temporary credentials.

Connect the management (payer) account to see spend across every member account. AWS charges $0.01 per Cost Explorer API request, so syncs ask for wide date ranges at a time.

Configuration

OptionTypeRequired
AWS access key IDtextYes
AWS secret access keypasswordYes
AWS session token (only for temporary credentials)passwordNo
Start date (defaults to 12 months ago)textNo

Linking AWS Cost Explorer to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select AWS Cost Explorer
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions