Home > CCS > Configuring Cloud Cruiser > 01 Collections > Google Cloud Platform

Google Cloud Platform

Cloud Cruiser retrieves Google Cloud Platform usage and billing data using the Google Cloud Storage JSON API.  For more information about how Cloud Cruiser maps source provider data to Cloud Cruiser normalized fields, see Field mapping.

Video example

The following video shows you how to configure collection from a Google Cloud Platform account, so you can see your cost and usage data in Cloud Cruiser charts and reports:

Before you begin

Before creating a Google Cloud Platform collection, you must assemble your Cloud Platform credentials.

Cloud Cruiser uses a Google user account to connect with the Google Cloud Platform and collect data. This user account must be a Member of the Google Cloud Platform Project with the data you want to collect, and can have Is Owner, Can Edit, or Can View permission to the Project.

You must also enable a billing export to create the daily files Cloud Cruiser collects, and ensure that the Google account used by Cloud Cruiser to collect that data has access to the cost bucket containing the export files.

To enable a billing export

  1. In the Google Developers Console (https://console.developers.google.com) open the Billing section.
  2. Click the the billing account from which you want to collect data.
  3. In the left pane, click Billing export.
  4. In the Bucket name field, specify name of the bucket into which billing reports will be exported.
    Note this value, which you will need when creating a Google Cloud Platform collection in Cloud Cruiser.
  5. In the Report prefix field, specify a prefix for the Cloud Storage object name for the exported reports. The year, month and day will be appended to the prefix in billing file names. Cloud Cruiser uses this prefix to identify the billing files to collect.
    Note this value, which you will need when creating a Google Cloud Platform collection in Cloud Cruiser.
  6. In the Format field, select CSV.
  7. Click Save.

To enable access to the cost bucket

  1. In the Google Developers Console, open the Storage section.
  2. In the Navigation pane, click Browser.
  3. In the row for your cost bucket, click the options icon and select Edit bucket permissions.
  4. In the Permissions dialog box, provide access to the user account you will use to allow Cloud Cruiser to collect the billing reports exported to this bucket. Cloud Cruiser recommends that you give this account Reader access.
  5. Click Save.

Creating a Google Cloud Platform collection

To create a Google Cloud Platform collection

  1. On the Data > Collections screen, click the Add icon .
    The New Data Collection screen appears.
  2. Click Google Cloud Platform.
    The Credentials screens appears.
  3. Select a Google user account with access to the cost bucket containing the data you want to collect.
  4. Enter your Google Cloud Platform Report Prefix and Bucket Name, and then click Next.
  5. On the Options page, enter the following information:
    • Name: Enter a unique name for the collection.
    • Comments: Optionally, enter additional information about the collection. For example, you might describe the types of data you are collecting.
    • Earliest Date to Collect: Select the first day's data you want to collect. Cloud Cruiser collects data from that date forward. For example, if you had your cloud in a pre-production mode for a short time while you fine-tuned the services you offer, consider setting the date to the first day your cloud was in production.
    • Source Currency: The currency in which your cloud provider reports your charges. If the Source Currency and your account's display currency do not match, the following choices appear. These affect your entire account, not just this collection. For information about them, see Currency and locale:
      • Display Currency
      • Locale
  6. Click Finish.
    The new collection appears in your list of collections. Any errors or warnings related to your collection appear on the Health Checks page. For more information, see Health checks.
You must to post a comment.
Last modified
14:29, 19 Jan 2017

Tags

Classifications

This page has no classifications.