Configuring GCP in Aquila Clouds

To configure GCP in Aquila Clouds, perform the following tasks:

Create a service account for Aquila Clouds

You can create a service account in the GCP console for Aquila Clouds.

  1. Login to the Google Cloud Platform console.

  2. Select the following icon (Navigation menu) > APIs & Services tab > select Credentials.

  3. Select the required project.

  4. Create a service account.
    Tip: If there is already an existing service account for a project that can be shared, manage that service account. Click Manage service accounts to manage an existing service account.

    • Click Create service account.

    • Enter the name for the service account, ID for the service account, and description for the service account.

    • Click Create.

    • Assign the following roles to the selected project to grant permissions for the resources in the project.

      • Reader Only Roles

        • Compute Viewer

        • Browser

        • BigQuery Data Viewer

        • BigQuery Job User

  5. Click Continue.

  6. Click Done.

  7. Create private key and download generated Json.

    • On the Service Accounts page, select the required email address to create a key for it.

    • Select the Keys tab, and in the ADD KEY list select Create new key.

    • On the Create private key for Project name page, select JSON as the Key type.

    • Download the JSON file.

  8. Go to API & Services

    • Click on Create Credentials > API Key

    • Copy this API Key

    • Click on generated API Key and in API Restrictions, select Restrict Key

    • Select Cloud Billing API, Google Cloud APIs

    • Save the API Key

  9. Go to Billing > Billing export and identify Dataset name

    • Click on Dataset name and identify appropriate Big Data Query for Billing ingestion

Add required permissions for Aquila Clouds

  1. Select the following icon (Navigation menu) > Billing tab -> Billing export.

  2. Create dataset and then table name if not already created.

Assign labels to the resources to be monitored using Aquila Clouds

  1. Select the following icon (Navigation menu) > Compute Engine tab -> VM Instances.

  2. Select instance and under labels tab ,add label as Key = ”instance_id” value = selected instance id.

  3. Navigate to Disks and add label as Key = “disk_id” value = selected disk id.

Add GCP environment to Aquila Clouds

  1. On the side navigation bar, select Administration tab.

  2. On the Administration tab, click Environments.

  3. On the Environments page, click Add.

  4. On the Add Environment page, toggle on Active.

  5. In the Environment Type group, select Google.

  6. In the Name of the environment, type the name of Google Cloud Platform environment.

  7. Enter the following details for the connection parameters:

    • Type: Type the service account type.

    • Project Id: Type the project id from the downloaded Json file.

    • Private Key Id: Type the private key id from the downloaded Json file.

    • Private Key: Type the private Key from the downloaded Json file.

    • Client Email: Type the email address of the client from the downloaded Json file.

    • Client Id: Type the client id from downloaded Json file.

    • Client Cert URL: Type the client certificate URL from downloaded Json file.

    • Dataset Name: Type the dataset name from GCP console.

    • GCP Table Name: Type the big query table name from GCP console.

    • GCP Billing Account Id: Type specific billing account id

    • GCP API Key: Type API Key copied in step 8 above

  8. Click Apply.

  9. Review the environment details and click Do you wish to confirm? Google Cloud Platform environment is configured in Aquila Clouds. You can start monitoring and managing Google Cloud resources from Aquila Clouds platform according to the permissions defined in Google Cloud Platform environment.