Integrate Google Cloud with Oomnitza to gain detailed visibility of Google Cloud instances across multiple zones for a single project. Information about each instance such as host name, instance ID and name, boot disk, start and stop timestamps, project, and VM status and zone instance is synced with Oomnitza.
This integration offers the flexibility to specify multiple GCP zones, ensuring a comprehensive aggregation of instances across different zones.
Use Oomnitza workflows to complete actions in Google Cloud such as such as, starting, and stopping, resetting, and getting Google Cloud Platform instances. Create workflows to automate complex tasks and business processes. Surface key information in operational dashboards and create scheduled reports to share knowledge with your colleagues.
Navigation
Before you start
You will need to have the following information to hand when creating the integration in Oomnitza:
1. Your Google Cloud instance Project ID
The Project ID is case sensitive, so please make sure you have the correct spelling with upper and lower case characters or else the integration will fail with a not authorized message.
2. Your Google Cloud instance Zone
Specify multiple zones in each integration to enable comprehensive aggregation of data across different zones. Google Cloud zones are distinct locations within a region, designed to be insulated from failures in other zones, enhancing reliability and uptime. For example, the 'europe-west1' region includes zones like 'europe-west1-b', 'europe-west1-c', and 'europe-west1-d'. To identify which zones are available in your region, you can use the Google Cloud Console, the Google API, or the gcloud command line. For detailed guidance, refer to the Google Cloud Documentation View available regions and zones.
3. Your Google credentials
You will be prompted to enter your Google Cloud Client ID, Secret, and scopes before you run the integration. For information on credentials see, Google (OAuth 2.0) credentials to Oomnitza.
Please use the following scopes when working with this integration:
https://www.googleapis.com/auth/compute.readonly-
https://www.googleapis.com/auth/compute -
https://www.googleapis.com/auth/cloud-platform
For further information, refer to Google Cloud Documentation: List instances.
Creating the asset integration
- In Oomnitza, click Configuration> Integrations> Overview.
- Click Block view
- Scroll down to the Extended section for asset integrations.
- Click NEW INTEGRATION.
- Select the integration in the sidebar.
- Click ADD.
Integration details overview
More information is provided about the following fields to help you complete the integration:
Installation type
Select Cloud if you want to store credentials in the Oomnitza cloud.
Select Local if you want to store credentials locally. Local extended integrations do not support AWS and OAuth authentication. If you want to sync Oomnitza with vendor applications that require AWS or OAUTH authentication, select Cloud.
Integration preferences
By default, the option Create & Update option is selected. Select this option when you want to edit records and add new records. If you want to edit records and not add new records, select Update Only. If you only want to add new records, select Create Only.
Integration details
To review or update the integrations details, click Edit .
- Update the integration name if necessary.
- Select an installation type.
- For integration preferences, select an option.
- Enter the name of the integration user.
Credential details
If you selected Cloud as the installation type, choose one of the following options:
- Select the credentials that were created for the integration.
- Edit the credentials that were created for the integration.
- Create new credentials
Schedule
By default, data is streamed to Oomnitza once every day.
You can configure the schedule to meet your needs such as changing the interval or changing the time so that the data is streamed when your system isn't busy.
- Click the Edit
.
- Configure your schedule.
- Click Update.
Mappings
To map the fields to Oomnitza, click Edit .
You can define rules for your integration by selecting Edit integration
on the mapping page. For example, you may only want to run the integration if a certain contact or region exists. See Filtering integration results.
You can add new fields to your integration by selecting Add new field on the mapping page. All you need to do is specify the property name. See Creating custom API fields.
Creating custom mappings
Map the GCP instances fields to Oomnitza fields and create custom mappings to get the asset information that you need.
Complete these actions:
- Click Smart Mapping to automatically detect appropriate mapping fields. Values from the integration can also be dragged to the appropriate field on the Oomnitza side, or selected from the integration field dropdown.
- Create a custom mapping for the Project field. To create a custom mapping, complete the following steps:
- Select the down arrow on the Project field that you want to map.
- Select Add new Oomnitza assets field.
- Change the name of the field to GCP Project.
- Click CREATE.
- Create a custom mapping for the Zone field and name the field GCP Zone.
- Map the Instance Id to the Serial Number field in Oomnitza.
- Assign a sync key to the Serial Number field.
- Click UPDATE.
Custom mappings
Boot disk
Connector Sync Time
Creation Timestamp
Description
Hostname
Instance ID
Instance Name
Last Start Timestamp
Last Stop Timestamp
Machine Type
Project
VM Status
Zone
Launching the integration
Your integration is in Draft mode until the required mandatory fields are added. When added, click Launch to activate your integration.
If you selected Cloud as the installation type when creating the integration, see Running an extended integration
If you selected Local as the installation type when creating the integration, see Running an extended integration locally.
Viewing data ingested by Oomnitza
Viewing ingested asset data
For asset integrations, click Hardware. If the asset integration also ingests software data, click Software.
Viewing ingested user data
For user integrations, click People. If you chose the option to ingest User and SaaS user data, click Software > SaaS, click the SaaS app, and then click the Users tab.
Comments
0 comments
Please sign in to leave a comment.