Skip to main content

# Google Cloud Inbound integration

## Settings in Google Cloud Platform Console​

Open your Google Cloud Platform Console and perform the following steps:

1. Click the menu icon from the top left corner and select Compute Engine > VM instance.
2. Select the VM instance you want to authorize with Avantra, scroll down, and note the name shown under Service account.
3. Choose the menu icon from the top left corner and select IAM & admin > Service accounts.
4. Select the user and click Create key in the Actions column. Choose JSON and push the Create button. This generates a JSON file with a private key that is downloaded to your computer.
5. Click Close.

## Service authentication settings for Google Cloud Platform in the UI​

Open Avantra WebUI and perform the following steps:

1. Open Configuration > Integrations.
2. Click New > Google Cloud Platform.
3. Fill in a Name, an optional Description and select a Customer.
4. Click Finish.
5. Select the newly created entry and click Open.
6. Open the file downloaded and copy its content and paste it into the field Service Account (JSON).
7. Click Save.

## Synchronization of GCP Server Instances in the UI​

Open Avantra WebUI and perform the following steps:

1. Login to the Avantra UI as the admin user.
2. Choose Administration > Synchronizations and select New > Inbound synchronization.
3. For External Service choose GCP Compute Engine, fill in a Name, for example GCP Synchronization, click Create.
4. In the newly created item, choose for GCP Service Account your service account that you want to use.
5. For GCP Zone you can either specify one or all zones will be checked automatically.
6. In Filter, you may define one or more filter rules to restrict the set of instances considered for the synchronization.
   By default, the value of the Name tag is used for the value Physical Server Name in Avantra, and the private IP address is used for FQDN or IP Address.
7. Click Apply followed by Test Query whenever you make changes and want to verify the filter.
8. For System Type choose Server, and choose a Default Customer and a Default System Role. You can override these default settings on a per Server level as described below.
9. Select the value yes for Start Monitoring. Set the flags for Create Server and Update Server (if desired).
10. Click Apply followed by Sync. Confirm that you have tested your query properly.
11. If you want to synchronize periodically, set the flag next to Activate background synchronization and choose an appropriate value for the synchronization interval.
12. Click Apply.
13. Select System > Servers to verify the synchronization.