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.
Login to the Google Cloud Platform console.
Select the following icon (Navigation menu) > APIs & Services tab > select Credentials.
Select the required project.
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.
Compute Admin
BigQuery Data Owner
Create private key and download generated json
Click Continue.
Click Done.
Add required permissions for Aquila Clouds
Select the following icon (Navigation menu) > Billing tab -> Billing export.
Create dataset and then table name if not already created.
Identify project to monitor for Aquila Clouds
Select the following icon (Navigation menu) > Compute Engine tab -> VM Instances.
Select instance and under labels tab ,add label as Key = ”instance_id” value = selected instance id
Navigate to Disks and add label as Key = “disk_id” value = selected disk id
Add GCP environment to Aquila Clouds
On the side navigation bar, select Administration tab.
On the Administration tab, click Environments.
On the Environments page, click Add.
On the Add Environment page, toggle on Active.
In the Environment Type group, select Google.
In the Name of the environment, type the name of Google Cloud Platform environment.
Enter the following details for the connection parameters:
Type: Type the service account type.
Project Id: Type the project id from downloaded json.
Private Key Id: Type the private key id from downloaded json.
Private Key: Type the private Key from downloaded json.
Client Email: Type the client Email from downloaded json.
Client Id: Type the client id from downloaded json.
Client Cert Url: Type the client certificate url from downloaded json.
Dataset Name: Type the dataset name from GCP console.
GCP Table Name: Type the bigquery table name from GCP console.
Click Apply.
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.