Skip to content

Google Cloud Platform importer

Versio.io can import, historize and process monitoring data from Google Cloud Platform.

Configuration

You can find the configuration option in Versio.io at Environment settings > OneImporter > Configurations > Google Cloud Platform.

Here you can edit all existing configurations, create new configurations or delete existing configurations. To add a new configuration enter a Name for your importer and an Entity suffix (default: -google-cloud) to clearly identify your Google Cloud entities.
Note that the Entity suffix is fixed and cannot be changed afterwards.

Click Add to proceed to the configuration.

To edit an existing configurations click the arrow on the left of your importer name to expand the configuration options.

Following configuration options are available:

Field Description Advice
Name Meaningful name Add the word "Google" to identify importer when viewing the logs
Active Option to activate and deactivate the configuration. Data is only imported if the configuration is activated.
Service account JSON key JSON-Document containing all relevant access informations 1. Enable the cloud asset inventory API of your GCP project: see here.
2. Create an service account with the role roles/cloudasset.viewer in your GCP project.
3. Create an JSON based key to access the GCP API: see here
4. Copy complete JSON file content into the password field of your credential in the Versio.io credential vault (Environment Settings > Access management > Credential vault) .
Executing OneImporter Select a Versio.io OneImporter to import the data based on the importer configuration. Requires installed OneImporter: Installation instruction
Schedule time (cron format) Determine the frequency of imports in CRON format Learn more about CRON format: https://en.wikipedia.org/wiki/Cron

Table: Google Cloud configuration parameters

 

The following image is an example of an Google Cloud configuration:

Versio.io Google Cloud importer configuration Figure: Example of a Versio.io Google Cloud configuration

Create GCP JSON key

The following video shows you how to create the GCP JSON Key and create a credential and a GCP Importer configuration in Versio.io:

Example

The Versio.io OneImporter imports Google Cloud data based on a specific configuration into entities with a suffix defined by you (default: -google-cloud). To view the imported instances in Versio.io, select 'Asset & Configuration Repository → Instance Viewer'. There you can select your specific instance and click it for a detailed view in the instance history viewer.

The following image is an example of imported Google Cloud data:

Versio.io Google Cloud instance overview
Figure: Overview of Versio.io Google Cloud instance (left) and topology of related instances (right)

Versio.io Google Cloud topology
Figure: Overview of Versio.io Google Cloud topology

Reference