Skip to main content
Self-hosted CostGraph runs in your Kubernetes cluster. Your deployment stores cost data, resource inventory, and metrics. Use it when you need to control where that data lives and can operate the supporting services. Self-hosting requires an Enterprise license. to enable it for your organization.

Install CostGraph

Check requirements, configure the Helm chart, and connect your first source.

Configure your deployment

Set datastore connections, ingress, and optional services.

Deployment requirements

Deploy the costgraph-selfhosted Helm chart and provide PostgreSQL, a Redis-compatible cache such as Redis or Valkey, and a metrics store. The chart can run bundled datastores for evaluation. Use external services for production. You operate the deployment and its dependencies. Hosted CostGraph remains an option when you do not need to manage those services yourself.

What still reaches CostGraph

Self-hosting requires outbound connectivity. Licensing, public cloud prices, billing quantities, and account email use CostGraph’s control plane. Billing quantities are reported per tenant with the tenant name and the IDs of the billed resources. Sign-in verification also requires access to its authentication service. Your deployment also sends a daily count of server errors and of machine or disk types it can’t price. Each count names the API route pattern and error type, or the provider, type, and region. It doesn’t include error messages, resource names, or cost figures. Set diagnostics.enabled to false to stop sending these counts. Your cost data, resource inventory, and metrics stay in your infrastructure. Optional services have their own network requirements. Check the Outbound hosts before installing on a restricted network. If licensing connectivity is lost, the deployment uses its grace period. It becomes read-only when that period expires. Sign-in also depends on authentication connectivity, so a network outage can prevent new sessions.

Supported data sources

Install CostGraph once for your organization, then connect the sources you want to measure.
Collectors default to hosted CostGraph. Set your deployment’s address when connecting them so they send data to your installation. Follow Connect data sources.

Pricing your own hardware

Cloud resources use provider rates. For hardware you own, register a rate and tag the resources that use it. Without that rate, CostGraph can report usage but cannot calculate its cost. Follow Pricing IDs for bare metal and on-premises virtual machines.