Setting up access on Google Cloud Platform
Last updated
Was this helpful?
Last updated
Was this helpful?
Create new service account. Note the service account ID for use in the below instructions.
Assign roles to account:
BigQuery Job User
Compute Engine Viewer
Assign IAM policy to account:
gcloud iam service-accounts get-iam-policy $SERVICE_ACCOUNT_ID > policy.yml
edit policy.yml to add:
gcloud iam service-accounts set-iam-policy $SERVICE_ACCOUNT_ID policy.yml
In the Cloud API console enable the following APIs:
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
Set up billing
Go to
Select "Billing export"
Enable big query export
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