What is Billing account in GCP?

A Google Cloud Billing account is used to define who pays for a given set of Google Cloud resources and Google Maps Platform APIs. Access control to a Cloud Billing account is established by IAM roles.

A Google Cloud Billing account is connected to a DoiT International billing profile. This page explains how to create a Google Cloud Billing account directly from the Cloud Management Platform (CMP) and link it to your company's billing profile.

note

Required Permissions: Assets Manager

Your user account must be linked to at least one billing profile in the CMP.

To create a new Cloud Billing account:

  1. Log in to the CMP, select Billing from the top navigation bar, and then select Assets.

  2. On the Assets page, select the asset type Google Cloud from the left-hand menu.

    What is Billing account in GCP?

  3. Select New billing account.

  4. Configure the new Google Cloud Billing account.

    1. Enter your Google billing account name.

    2. Select the billing profile to connect to the Google billing account.

    3. Add the email addresses of the Billing account administrators.

  5. Select Create.

info

Your domain is added as a Billing Account User on the new Billing Accounts, which allows anyone from the same domain to link GCP projects to the new billing account.

Add or remove billing administrators​

note

You can add or remove billing administrators from the CMP only if you are an incumbent billing account administrator.

To manage billing account administrators:

  1. Select the billing account name from the list of the Google Cloud assets.

  2. Expand the section of Billing administrators.

    What is Billing account in GCP?

    • To add a billing account administrator, select Add new admin, and then add the email address of the new admin.

    • To remove an admin, find the email address of the admin, and then select Remove admin. You'll be asked to confirm the deletion before it's executed.

Use the Google Cloud console​

You can open the Manage billing accounts page in the Google Cloud console directly from the CMP, using either of the following approaches:

  • Select the three dots menu () at the rightmost end of the asset entry and then select Manage billing account.

  • Select the billing account name of the asset entry and then select Manage account.

  • Google Cloud Billing defines billing accounts linked to Google Cloud Projects to determine who pays for a given set of Google Cloud resources.

Cloud Billing Concepts

Resource Hierarchy

  • Google Cloud resources are organized hierarchically i.e. Organization -> Folder -> Project -> Resources
  • Resource hierarchy allows mapping of organization’s operational structure to Google Cloud, and to manage access control and permissions for groups of related resources.
  • Both IAM & Organization policies are inherited through the hierarchy, and the effective policy at each node of the hierarchy is the result of policies directly applied at the node and policies inherited from its ancestors

Cloud Billing Account

  • is a cloud-level resource managed in the Cloud Console.
  • tracks all of the costs (charges and usage credits) incurred by the Google Cloud usage
    • A Cloud Billing account can be linked to one or more projects.
    • Project usage is charged to the linked Cloud Billing account.
  • results in a single invoice per Cloud Billing account
  • operates in a single currency
  • defines who pays for a given set of resources
  • has billing-specific roles and permissions to control accessing and modifying billing-related functions (established by IAM roles)

What is Billing account in GCP?

Cloud Billing IAM Roles

  • To move the project to a different billing account, you must be a billing administrator and the project owner.
RolePurposeLevelUse Case
Billing Account Creator
(roles/billing.creator)
Create new self-serve (online) billing accounts. Organization Use this role for initial billing setup or to allow creation of additional billing accounts.
Users must have this role to sign up for Google Cloud with a credit card using their corporate identity.
Tip: Minimize the number of users who have this role to help prevent proliferation of untracked cloud spend in your organization.
Billing Account Administrator
(roles/billing.admin)
Manage billing accounts (but not create them). Organization or billing account. This role is an owner role for a billing account. Use it to manage payment instruments, configure billing exports, view cost information, link and unlink projects and manage other user roles on the billing account.
Billing Account User
(roles/billing.user)
Link projects to billing accounts. Organization or billing account. This role has very restricted permissions, so you can grant it broadly, typically in combination with Project Creator. These two roles allow a user to create new projects linked to the billing account on which the role is granted.
Billing Account Viewer
(roles/billing.viewer)
View billing account cost information and transactions. Organization or billing account. Billing Account Viewer access would usually be granted to finance teams, it provides access to spend information, but does not confer the right to link or unlink projects or otherwise manage the properties of the billing account.
Project Billing Manager
(roles/billing.projectManager)
Link/unlink the project to/from a billing account. Organization, folder, or project. This role allows a user to attach the project to the billing account, but does not grant any rights over resources. Project Owners can use this role to allow someone else to manage the billing for the project without granting them resource access.

Budgets and Budgets Alerts

  • Cloud Billing budgets can be created to monitor all of the Google Cloud charges in one place.
  • Budget enables tracking of actual Google Cloud spend against the planned spend.
  • Budget alert threshold rules can be set that are used to trigger email notifications based on the set budget amount.
  • Budget alert emails help track the spend against the set budget.
  • Budgets can also be used to automate cost control responses.
  • Pub/Sub can be used for programmatic notifications for e.g. to forward budget messages to other mediums or to automate cost management tasks
    What is Billing account in GCP?

Cloud Billing Export

  • Cloud Billing export to BigQuery enables exporting detailed Google Cloud billing data (such as usage, cost estimates, and pricing data) automatically throughout the day to a specified BigQuery dataset
  • Cloud Billing data from BigQuery can be accessed for detailed analysis, or visualized using a tool like Google Data Studio to visualize your data.
  • Google Cloud billing data is not added retroactively, so you won’t see Cloud Billing data from before you enable export.
  • Google Cloud recommends enabling Cloud Billing data export to BigQuery at the same time that you create a Cloud Billing account.
  • Cloud Billing data exporting to a JSON or CSV file is not deprecated

GCP Certification Exam Practice Questions

  • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
  • GCP services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
  • GCP exam questions are not updated to keep up the pace with GCP updates, so even if the underlying feature has changed the question might not be updated
  • Open to further feedback, discussion and correction.
  1. Your company has created a new billing account and needs to move the projects to the billing account. What roles are needed to change the billing account? (Select two)
    1. Project Billing manager
    2. Project Owner
    3. Billing Account Administrator
    4. Billing Account Manager
    5. Project Editor
  2. You are the team lead of a group of 10 developers. You provided each developer with an individual Google Cloud Project that they can use as their personal sandbox to experiment with different Google Cloud solutions. You want to be notified if any of the developers are spending above $500 per month on their sandbox environment. What should you do?
    1. Create a single budget for all projects and configure budget alerts on this budget.
    2. Create a separate billing account per sandbox project and enable BigQuery billing exports. Create a Data Studio dashboard to plot the spending per billing account.
    3. Create a budget per project and configure budget alerts on all of these budgets.
    4. Create a single billing account for all sandbox projects and enable BigQuery billing exports. Create a Data Studio dashboard to plot the spending per project.
  3. Your finance team wants to view the billing report for your projects. You want to make sure that the finance team does not get additional permissions to the project. What should you do?
    1. Add the group for the finance team to roles/billing.user role.
    2. Add the group for the finance team to roles/billing.admin role.
    3. Add the group for the finance team to roles/billing.viewer role.
    4. Add the group for the finance team to roles/billing.projectManager role.

References

Google_Cloud_Billing

What is a billing account?

Billing accounts represent the organization that you're charging for products and services sold. Sometimes, businesses may use one account for quoting and ordering, and a different account to receive and pay invoices.

What is billing in GCP?

A Cloud Billing account defines who pays for a given set of Google Cloud resources. To use Google Cloud services, you must have a valid Cloud Billing account, and must link it to your Google Cloud projects. Your project's Google Cloud usage is charged to the linked Cloud Billing account.

What is the role of billing account user in billing overview?

The Billing Account User role gives the service account the permissions to enable billing (associate projects with the organization's billing account for all projects in the organization) and thereby permit the service account to enable APIs that require billing to be enabled.