Untab documentation
  • Overview
  • Architecture
  • Compatibility
  • Collected information
  • Authentication
  • Setup
    • First steps
    • Installing using the basic manifest
    • Installing using Helm
    • Checking agent status
    • Configuring access to cloud providers (optional)
    • Setting up access on AWS
    • Setting up access on Google Cloud Platform
  • Management
    • Managing user access
    • Troubleshooting
Powered by GitBook
On this page

Was this helpful?

  1. Setup

Setting up access on Google Cloud Platform

PreviousSetting up access on AWSNextManaging user access

Last updated 5 years ago

Was this helpful?

  1. Create new service account. Note the service account ID for use in the below instructions.

  2. Assign roles to account:

    • BigQuery Job User

    • Compute Engine Viewer

  3. Assign IAM policy to account: gcloud iam service-accounts get-iam-policy $SERVICE_ACCOUNT_ID > policy.yml

  4. edit policy.yml to add:

    policy.yml
    bindings:
    - members:
    - serviceAccount:$SERVICE_ACCOUNT_ID
    role: roles/iam.serviceAccountTokenCreator
  5. gcloud iam service-accounts set-iam-policy $SERVICE_ACCOUNT_ID policy.yml

  6. In the Cloud API console enable the following APIs:

  7. Create a service account key for the new account

    • Go to

    • Click on "create credentials"

    • Select "service account key"

    • Select the new service account and JSON key format

    • Save the resulting JSON

  8. Set up billing

    • Go to

    • Select "Billing export"

    • Enable big query export

  9. Enter the following details on the

    • The credentials JSON

    • The Google Cloud Project ID

    • The Google Cloud billing account ID

    • The name of the BigQuery dataset with the billing export

IAM Service Account Credentials API
Compute Engine API
BigQuery API
https://console.cloud.google.com/apis/credentials
https://console.cloud.google.com/billing
Infrastructure Provider settings page