Google Compute/Kubernetes Engine
  • 1 minute to read
  • Print
  • Share
  • Dark
    Light

Google Compute/Kubernetes Engine

  • Print
  • Share
  • Dark
    Light

The Google Compute/Kubernetes Engine adapter supports both GCE's virtual machines as well as the GKE environment for deploying containerized applications.

The Google Compute/Kubernetes Engine adapter connection only requires a JSON-document containing credentials to GCE, which can be created in the Google Cloud Console.

image.png

To connect Axonius to Google Cloud Platform you need to:

  1. Enable Cloud APIs
  2. Create a JSON-document containing credentials to GCE

1. Enable Cloud APIs

To enable the Cloud APIs, do as follows:

  1. Go to the Google Cloud Console and select the project that you want Axonius to connect to.
    Then, go to APIs & Services -> Dashboard.

image.png

  1. Axonius requires the following APIs: 'Compute Engine API' and the 'Cloud Resource Manager API'. Verify that both are enabled.

For example, in the screenshot below you can see that since the 'Cloud Resource Manager API' does not appear in the list, it is not enabled. and needs to be enabled.

image.png

To enable an API, click 'Enable APIs and Services' at the top of the screen.

  1. Search for the API you want to enable and click It. For example: 'Cloud Resource Manager API'

image.png

  1. Click Enable.

image.png

2. Create a JSON-document containing credentials to GCE

To create a JSON-document containing credentials to GCE, do as follows:

  1. Go to the Google Cloud Console and select the project that you want Axonius to connect to.
    Then, go to "IAM & admin" -> "Service accounts".

image.png

  1. Click "Create Service Account" and fill in the details

image.png

  1. In the next tab, select the "Compute Viewer" and "Kubernetes Engine Viewer" roles to grant read-only access to Axonius.

image.png

  1. Next, click "Create Key" and create a "JSON" type key:

image.png

  1. Your JSON key will be downloaded

Upload the downloaded JSON in the adapter configuration and the GCM adapter is configured.

Was this article helpful?