Connect Google Cloud to Cloud Navigator
If DoiT International is not your Google Cloud reseller, you can connect your Google Cloud Billing account to the DoiT Console to monitor and analyze your billing data.
To use DoiT Console for multiple Google Cloud Billing accounts, subscribe the SaaS Console edition separately for each account.
Required permissions
You need to have the following roles:
Billing Account Administrator (
roles/billing.admin
) role on your Cloud Billing accountOne of the following BigQuery roles on the dataset that contains your detailed usage cost data:
Connect Google Cloud account
To connect your Google Cloud Billing account to the DoiT Console:
Sign in to the DoiT Console.
Select Google Cloud Platform as the cloud provider to connect, or select Get started in the Connect your Google Cloud account pane on the Welcome page.
Review the required roles on the Overview page. Make sure that your account has sufficient permissions before continuing.
Review and confirm you agree to the DoiT International SaaS Agreement.
Enable detailed usage cost
The Cloud Billing detailed usage cost data includes the standard usage cost data plus granular, resource-level cost data. Cloud Billing export to BigQuery enables you to export billing data to a BigQuery dataset that you specify.
To enable detailed usage cost data export:
Open the Billing export page in the Google Cloud console.
Select the Cloud Billing account that you want to connect to the DoiT Console.
On the BigQuery export tab, go to the Detailed usage cost and select Edit settings.
From the Projects list, select a project to store the exported Cloud Billing data.
In the Dataset field, choose to create a new dataset:
For Dataset ID, enter a unique dataset name.
Choose a Multi-region location. You can't change the location once the dataset is created.
TipThe location type impacts the timing of backfill. For a dataset with a multi-region location, billing data is added retroactively for the current and previous month. See BigQuery dataset locations supported for use with Cloud Billing data for more information.
Save your configurations. If successful, the Detailed usage cost will show Enabled.
Select the checkbox I have enabled detailed usage report.
Provide billing data information
The DoiT Console accesses your Cloud Billing data from the BigQuery dataset you specified when enabling detailed usage cost.
In the DoiT Console, enter the following information:
Billing account: ID of the Google Cloud Billing account whose billing data you want to monitor and analyze. You can find Cloud Billing accounts on the Manage Billing Accounts page in the Google Cloud console.
Project ID: ID of the Cloud project that contains your BigQuery dataset. See Identifying projects.
Dataset name: Name of the BigQuery dataset that contains BigQuery tables with your exported detailed usage cost data. See Getting dataset information.
Grant BigQuery dataset permissions
In this step, you grant permissions to the DoiT service account so that it can access BigQuery resources.
Replace the placeholder values in the code snippets, then copy and run the commands in sequence in Google Cloud Shell:
Add an IAM policy binding to your Billing account to grant the
Billing Account Viewer
role to your DoiT service account.gcloud billing accounts add-iam-policy-binding $BILLING_ACCOUNT_ID \
--member=serviceAccount:$DOIT_SERVICE_ACCOUNT \
--role=roles/billing.viewerSet the
project
property in the core section.gcloud config set project $PROJECT_ID
Grant DoiT service account the BigQuery
READER
basic role (maps tobigquery.dataViewer
) on the dataset that contains your billing data.bq show --format=prettyjson $DATASET_ID |
jq '.access = .access + [{"role": "READER", "userByEmail": "$DOIT_SERVICE_ACCOUNT"}]' \
>permissions.jsonUpdate the permissions using the JSON file.
bq update --source permissions.json $DATASET_ID
Select Activate to complete the process.
Google Cloud Docs: IAM roles for billing-related job functions
Subscribe to DoiT Console on Marketplace
To subscribe to the SaaS DoiT Console on Google Cloud Marketplace, you need to have one of the following roles:
Billing Account Administrator (
roles/billing.admin
) role on your Cloud Billing accountConsumer Procurement Administrator Beta (
roles/consumerprocurement.procurementAdmin
)Consumer Procurement Order Administrator Beta (
roles/consumerprocurement.orderAdmin
)
Go to the Google Cloud Marketplace.
Search DoiT International.
Select DoiT Console.
Select SUBSCRIBE.
Enter your order summary.
Review your plan. Under Purchase details, select your billing account from the drop-down list.
Review and accept the terms, and then select SUBSCRIBE.
Interactive demo
Try out our interactive demo for a hands-on walk-through experience.
If the demo doesn't display properly, try expanding your browser window or opening the demo in a new tab.
What's next
After you successfully subscribed to the DoiT Console, we start importing your billing data and notify you when the data is available for Cloud Analytics and other DoiT Platform features.