Configuring multi-cloud billing integration

How to configure multi-cloud billing integration using a CRD

You can configure cloud billing integrations for multiple cloud providers using CRD. This allows PerfectScale to pull cost data directly from each source, taking into account your unique billing conditions, ensuring accurate pricing calculations for your multi-cloud environment.

In the following example, we’ll guide you through configuring cloud billing integrations for both GCP and Azure clusters.

Step 1: Enable GCP Cloud Billing

  1. Enable BigQuery billing export in your GCP project.

  2. Create a service account with BigQuery Data Viewer permissions.

  3. Generate a JSON key for the service account.

  4. Copy the service account details and billing configuration (you will need them for CR configuration).

Step 2: Enable Azure Cost Management

  1. Set up Azure billing export in your subscription.

  2. Create an Azure AD application and service principal.

  3. Grant the application the necessary permissions to access billing data.

  4. Generate a client secret for the application (if using client_secret authentication).

  5. Copy the client ID, tenant ID, subscription ID, and client secret to the configuration below.

Step 3: Configure CR

circle-info

We recommend configuring a CR using workload_identity for azure_auth_type. However, alternatively, you can also configure a CR using client_secret. Learn more here.

circle-exclamation

Last updated

Was this helpful?