Adding GCP Account to CloudWize Platform

< All Topics

Receive GCP Architecture

Follow the next steps to add GCP to CloudWize platform.

Go to Admin area.

Under the “GCP PROJECTS” tab, you can connect a new GCP PROJECT or delete an existing one.

To add a new GCP PROJECT, click the “ADD PROJECT” button

From GCP’s side:

To provide you with your GCP Architecture we need permission to your cloud data (read-only access).

Create Service Account For Each Project:

  1. Open the Service Accounts page in the GCP Console. https://console.cloud.google.com/iam-admin/serviceaccounts
  2. Click ‘Select a project’.
  3. Select your project and click ‘Open’.
  4. Click ‘Create Service Account’.
  5. Enter a service account name, select Project Viewer role, and Cloud Asset Viewer role, and then click ‘Continue’.
  6. Select Create key, select JSON format and then click Create.
  7. Make sure assets API is enabled!

Receive Billing Reports

For billing data export, you can select File or either Big Query (our recommendation is to export the data to Big Query)

For each billing account you need to enable billing export to File:

  1. If you haven’t already created a bucket in Google Cloud Storage, you need to create one. For instructions, see https://cloud.google.com/storage/docs/creating-buckets
  2. Then to enable billing export, go to the Google Cloud Platform Console.
  3. Open the left side menu and select Billing.
  4. If you have more than one billing account, select Go to linked billing account to manage the current project’s billing. To locate a different billing account, select Manage billing accounts.
  5. Click Billing export.
  6. Select File export.
  7. For Bucket name, specify the name of the Cloud Storage bucket into which billing reports will be exported. The Google Service Account is granted write access to this bucket.
  8. For Report prefix, specify a prefix for the Cloud Storage object name for the exported reports. The year, month, and day is appended to the prefix.
  9. For Format, select CSV.
  10. Click Enable billing export.

To enable billing export to BigQuery:

  1. Go to the Google Cloud Platform Console.
  2. Open the left side menu and select Billing.
  3. If you have more than one billing account, select Go to linked billing account to manage the current project’s billing. To locate a different billing account, select Manage billing accounts.
  4. Click Billing export.
  5. Select BigQuery export.
  6. From the Project list, select the project where your BigQuery dataset is stored. If you don’t have a BigQuery dataset created yet, you’ll be prompted to create one.
  7. If necessary, to create a new dataset:
    • In the BigQuery web UI, click the down arrow next to your project name, then click Create new dataset.
    • Specify the Dataset ID, Data location, and Data expiration for your dataset, then click OK.
  8. In the console, from the Billing export dataset list, specify a dataset to export data to. If you just created a dataset, choose the name of your new dataset.
  9. Click Enable BigQuery export

To finish the integration you need to provide us with the following data:

For each project

  • Service account JSON
  • If the billing report was created under that project provide us the report details(bucket name and prefix in case of file export or data set id in case of big query export)

          ***see the picture below describes how where it should be added to the application.

Table of Contents

Join our weekly demo

Once a week our CEO, Chen Goldberg is giving a group demo. 

In this demo he’s showing how to gain maximum cloud security and compliance using CloudWize platform. 

We use cookies and tracking technologies to improve your experience on our website and for analytics purposes. By using and accessing this site, you agree to our Terms of Use and Privacy Policy