Google Cloud Platform provides public cloud infrastructure and includes services for computing and hosting, storage and database, networking, big data, and machine learning
Enabling Google Cloud APIs and Creating a Service Account #
To connect Lucidum to Google Cloud Platform you need to:
-
Enable cloud APIs
-
Create a service account and grant permissions to that service account
Enabling Cloud APIs #
-
Go to the Google Cloud Console (https://console.cloud.google.com/) and select the project that you want Lucidum to ingest data from.
-
Navigate to to APIs & Services.
-
Enable the following APIs.
-
Compute Engine API
-
Cloud Resource Manager API
-
Cloud Storage JSON API
-
Cloud SQL Admin API
-
Stackdriver Monitoring API
-
Identity and Access Management (IAM) API
-
Cloud Billing API
-
-
If an API is not already in the list of API, follow these steps:Â https://cloud.google.com/endpoints/docs/openapi/enable-api#enabling_an_api.
-
Click the API you want to enable.
-
Click Enable.
Creating a Service Account and Granting Permissions to that Service Account #
To create a service account, see https://cloud.google.com/iam/docs/service-accounts-create#creating. The Lucidum connector uses this account.
-
In the “Grant this service account access to a project”, give the service account the roles listed below:
-
Compute Viewer
-
Kubernetes Engine Viewer
-
Storage Object Viewer
-
Cloud SQL Viewer
-
Organization Policy Viewer
-
Security Reviewer
-
-
Skip the steps about attaching users to the service account.
-
Click Done.
Create the JSON Key File for the Service Account #
For details on creating a JSON Key file to the new service account, see https://cloud.google.com/iam/docs/keys-create-delete#creating.
Save the file locally. You will need it to configure the Lucidum connector.
Configuring the Connector for Google Cloud #
To configure Lucidum to ingest data from Google Cloud:
-
Log in to Lucidum.
-
In the left pane, click Connector.
-
In the Connector page, click Add Connector.
-
Scroll until you find the Connector you want to configure. Click Connect. The Settings page appears.
-
In the Settings page, enter the following:
-
JSON Key pair for the service account (required) . Click the button to upload the JSON Key File. /tmp/app/external/configs/Development-9957d6c30b42.json
-
-
To test the configuration, click Test.
-
If the connector is configured correctly, Lucidum displays a list of services that are accessible with the connector.
-
If the connector is not configured correctly, Lucidum displays an error message.
-
API Documentation #
https://cloud.google.com/apis?hl=en
The Lucidum connector uses the Compute APIs and the Storage APIs.