Link billing account to project

This document provides instructions for linking a billing account to a project in GDC. This allows costs incurred by the project's resources to be tracked and charged to the specified billing account.

Before you begin

Ask your IAM Org Admin to grant you the following required roles:

  • Billing Account Org Admin: create, manage, and bind the BillingAccount resource in the platform namespace. Ask your IAM Org Admin to grant you the organization-billing-account-admin role in the platform namespace.

  • Billing Account Org User: read, list, and bind the BillingAccount resource in the platform namespace. Ask your IAM Org Admin to grant you the organization-billing-account-user role in the platform namespace.

  • Billing Org Manager: read, list, create, and update the BillingAccountBinding resource across namespaces (such as the platform namespace for organization-level billing or a project namespace for project-level billing). Ask your IAM Org Admin to grant you the organization-billing-manager role.

Get the kubeconfig file

To run verification commands against the global API server, sign in and generate the kubeconfig file for the global API server if you don't have one.

Create a billing account

If you need to create a new billing account before linking it to a project, follow the instructions in Create a new billing account.

To associate a project with an existing billing account, see the steps for Link a project.

Change the linked billing account for a project

If you need to change the billing account associated with a project, see Change the linked billing account.