Skip to content

Cloud costs

Costif keeps cloud costs in one table, from two kinds of source: connections it pulls from, and FOCUS files you import.

Provider What Costif reads What you give it
AWS Cost Explorer, daily by service and linked account The access key of an IAM user allowed ce:GetCostAndUsage
Azure Cost Management, daily by service and subscription, for a subscription or a billing account The directory id, client id and client secret of an Entra application with the Cost Management Reader role on that scope
Google Cloud The Cloud Billing export in BigQuery, daily by project, service and region A service account key file (BigQuery Data Viewer on the dataset, BigQuery Job User on the project) and the export table’s name

AWS charges for each Cost Explorer request; a daily sync makes one to a few.

Billed cost and amortised cost are both kept. The first pull reaches back 90 days; after that Costif syncs once a day, and you can sync a connection on demand. A later pull of the same days replaces what was pulled before, so nothing is counted twice. Secrets are sealed when saved and never shown again.

Any provider that exports costs in the FinOps Open Cost and Usage Specification (FOCUS) can be imported as a CSV file. A large file is sent in parts, and a part sent twice is stored once. Rows that cannot be read are skipped, and the import says which and why.

FOCUS files carry more than the connections do: resource tags and commitment discounts. Tag coverage and Commitments are filled from FOCUS imports only.

  • Costs for a period, grouped by provider, service, account, region, category, day, month or a tag, each beside the period of the same length before it. Both billed cost and effective cost (with commitments amortised) are shown.
  • Anomalies: a day whose cost for one service in one account was well above the average of the 14 days before it. Anomalies also appear in Advice.
  • Commitments: each reservation or savings plan with what was used and what went unused.
  • Tag coverage: how much of your spend carries the tags every resource should have.