Add a Google Cloud Account

Be aware that these screenshots may change based on the Google Cloud platform changes. They are provided in this section as a point of reference.

Prerequisites

Before adding a Google cloud account, verify the following Google requirements:

    • A valid Google Cloud Platform account with Project Owner permissions

    • If using the Shared VPC network feature, you also required Shared VPC Admin permissions (see https://cloud.google.com/vpc/docs/provisioning-shared-vpc for additional context).

    • CloudCenter Suite appends the network name with a unique ID to form the firewall rule name; the network name can be a maximum of 24 (network name) + 39 (unique ID) = 63 total characters. For example:abcdefghijklmnopqrstuvwx-c3f-462828f37a06acd3ee194716bfe10de0

    • Enable the following APIs for each Google cloud account you will be adding to CloudCenter Suite:

      • Google Compute Engine API

      • Google Cloud Resource Manager API

      • Google Cloud SQL Admin API (needed only for Cost Optimizer for PAAS services)

      The following image depicts the Google portal to enabled APIs:

    • Set the minimum permissions. See Cloud Overview > Minimum Permissions for Public Clouds for additional details.

    • Create a new service account key in JSON format per the GCP documentation: https://cloud.google.com/iam/docs/creating-managing-service-account-keys.
      Make sure you use the default JSON format as shown in the create key dialog box below. 

    • Once you click Create, the file will be downloaded by your browser. Make note of its name and location as you will need to specify this in the Service Account JSON File field in the CloudCenter Suite UI as explained below.

Configuration Process

To add a Google cloud account, follow this procedure.

  1. Locate the newly-added cloud and click the Add Cloud Account link. The Add Cloud Account dialog box displays:

  2. Assign a new cloud account name.

    Tip

    The name should not contain any space, dash, or special characters.

  3. Add the following Cloud Credentials associated with your Google account.

    The location of these details in GCP is identified in the Prerequisites section.

    Field

    Description

    GCP Email Address

    The email address that you used to log into the GCP account.

    GCP Service Account JSON File

    The JSON private key associated with the Service Account. (See Prerequisites section)

  4. Enter the Bucket Name and Report Prefix as shown in the figure below. For information on setting up billing information, see https://cloud.google.com/billing/docs/how-to/export-data-file.

    In the cloud console, create a bucket, if not already, and navigate to Billing > Billing Export to view billing information.

  5. Click the Connect button. CloudCenter Suite will now attempt to validate your account credentials.
  6. After the credentials are verified, the Connect button changes to an Edit button and two new fields appear Enable Account For and Enable Reporting By Org Structure, as shown in the figure below.



    1. Set the Enable Account For dropdown per the table below.

      ValueUsage
      ProvisioningWorkload Manager can deploy jobs using this account.
      ReportingCost Optimizer and Workload Manager will track cloud costs for this account. Typical usage: master cloud accounts which are used for billing aggregation.
      Provisioning, ReportingDefault. Account is used for both provisioning and reporting.
    2. For AWS and Google clouds only: Set the Enable Reporting By Org Structure toggle to On to cause Cost Optimizer to import the cost hierarchy created in the cloud provider portal. This saves the time of manually creating a comparable cost hierarchy within Cost Optimizer. See Cost Groups Configuration for more information on cost hierarchies in Cost Optimizer.

  7. Click the Save button when done. 

After you add cloud accounts, they will appear in the Cloud Accounts list in the Accounts tab for the cloud as shown in the figure below.

The cloud account list contains columns for data you entered into the Add Cloud Account dialog box: Account Name, Description, Enabled For; and two additional columns: Billing Units and Actions. The third column, Billing Units, is dual function. If the cloud account contains only one billing unit, the ID for that billing unit is displayed. If the cloud account contains multiple billing units, such as an AWS master account, the number of billing units in that account is displayed followed by the text "Billing Units". 

A billing unit is the most granular level of cloud cost recording in CloudCenter Suite. The definition of billing unit varies by cloud provider as shown in the table below.

Cloud ProviderBilling Unit
AWSAccount ID
AzureRMSubscription ID
GoogleProject ID
vCenterCloud Group Prefix - Datacenter Name
OpenStackProject ID
KubernetesNamespace UID

The last column, Actions, contains links to let you edit or deleted the cloud account, or manage instance types for the cloud account.



Terms & Conditions Privacy Statement Cookies Trademarks