Before you begin, ensure you have:
- Detailed Billing Export active in BigQuery
- Costory service account with view-only access
- GKE cost allocation enabled (if running GKE workloads)
What You Provide
BigQuery Table Path
The fully qualified path to your billing export table (e.g.,
project.dataset.table)Setup Steps
Confirm export is active
Verify your Detailed Billing Export is running in the GCP Console under Billing → Billing Export.
Grant service account permissions
Add the Costory service account with the following roles:
- BigQuery Data Viewer
- BigQuery Metadata Viewer
FAQ
What if I don't have historical data yet?
What if I don't have historical data yet?
Direct GCP customers: Only the current month is backfilled automatically.Reseller customers: Contact your reseller to export historical billing data.
Do I need GKE cost allocation?
Do I need GKE cost allocation?
Only if you’re running GKE workloads. GKE cost allocation provides granular container-level cost attribution.
