Google Cloud
Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products.
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 and select the project that you want Lucidum to connect to.
Then, go to APIs & Services -> Dashboard.Lucidum requires the following APIs to be enabled. The enabled APIs will be shown in the list.
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 the API does not appear in the list, it needs to be enabled first. To enable an API, click Enable APIs and Services at the top of the page. Search for the API you want to enable and click It. For example, Cloud Resource Manager API:
Click Enable.
Creating a Service Account and Granting Permissions to that Service Account
Go to the Google Cloud Console and select the project that you want Lucidum to connect to.
From menu, select IAM & admin -> Service accounts.
Click Create a Service Account.
Give the service account a name, etc, then click Create and Continue. If you click "Done", go to step 8.
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 "Grant users access to this service account" step.
Click Done.
To modify, or review the permissions granted to this service account in any project or at the organization level, go to IAM, find the service account you've created, and click "Edit Permissions".
Next, click the newly created service account, go to Keys → Add Key → Create New Key and create a JSON key.
Your JSON key will start to be downloaded. Finish creating the account and go back to the service accounts page. Copy the email address of the new service account.
Go back to IAM & Admin - IAM. Under Permissions → Member, Check if the new service account is listed and has all the required roles attached.
If the service account is NOT listed, click Add and use the new service account email to add the new service account as a new member of the organization. Click + Add Another role to add the required roles in step 5 to the new member:
Click Save.
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) - A JSON-document containing service-account credentials. For example, /tmp/app/external/configs/Development-9957d6c30b42.json
Project ID (required) - Project to access GCP. For example, development-205110
Verify SSL. For future use.
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.