Add GCE hostprovider

This topic shows how to add the Google Compute Engine (GCE) hostprovider, which allows to create virtual machines in the Google Cloud.

IMPORTANT

Before adding the GCE hostprovider, make sure that:

  • The Project exists in the Google Cloud.

  • The subnet is created in the Google Cloud.

  • ADCM can establish the connection to the specified subnet in the Google Cloud.

  • The user that creates the virtual machine has all necessary rights.

A typical installation sequence for the GCE hostprovider includes the following steps.

Step 1. Download a hostprovider bundle

Hostprovider distributions for ADCM come in bundles. Regarding the GCE hostprovider, a bundle is a regular archive that includes a description and logic to interact with the Google Cloud.

The steps for downloading a bundle are given below:

  1. Go to the Arenadata Cluster Manager product website and click Download.

    Switch to the Arenadata Cluster Manager download page
    Switch to the Arenadata Cluster Manager download page

    Another way — go to https://network.arenadata.io/ and select Arenadata Cluster Manager.

  2. On the next page, download a required bundle. GCE hostprovider bundles are called Google Compute Engine Bundle.

Step 2. Upload a hostprovider bundle to ADCM

To upload a bundle to ADCM, follow the steps:

  1. Select the Bundles item in the left navigation menu and click Upload bundle.

  2. Select a bundle in the Open File Dialog.

    Upload a bundle
    Upload a bundle
    Upload a bundle
    Upload a bundle
  3. As a result of the performed actions, a bundle is displayed on the Bundles page.

    The result of successful uploading a bundle
    The result of successful uploading a bundle

Step 3. Create a hostprovider based on the uploaded bundle

To add a new hostprovider to ADCM on the base of the uploaded bundle, follow the steps:

  1. Select the Hostproviders item in the left navigation menu and click Create provider.

    Create a new hostprovider
    Create a new hostprovider
  2. In the opened window:

    • Select an uploaded bundle in the Type field.

    • Select a bundle version in the Version field. Several versions become available in the case of different versions of the same bundle being uploaded.

    • Enter a hostprovider name in the Name field.

    • Enter a hostprovider description in the Description field if necessary.

    • Click Create.

    Fill in hostprovider parameters
    Fill in hostprovider parameters
  3. As a result of the performed actions, the created hostprovider is displayed on the Hostproviders page.

    The result of successful adding a hostprovider
    The result of successful adding a hostprovider

Step 4. Configure a hostprovider

In order to configure the access to the cloud, follow the steps:

  1. Select a hostprovider on the Hostproviders page. To do this, click a hostprovider name in the Name column. Alternatively, you can click the concern red dark concern red light icon in the Concerns column and follow the link in the pop-up window that opens. The icon indicates the presence of critical errors in the current hostprovider configuration (e.g. mandatory fields).

    Switch to configuring a hostprovider
    Switch to configuring a hostprovider
  2. In the next window, activate the Show advanced switcher, fill in hostprovider parameters, and click Save. The fields highlighted in red are mandatory.

    Configure a hostprovider
    Configure a hostprovider

    The assignment of parameters is listed below.

    Configuration parameters
    Parameter Mandatory Description

    Project ID

    Yes

    A unique project identifier in the Google Cloud. Can be copied from the Id column in the Manage resources section of the Google Cloud platform

    Service Account email

    Yes

    A service account email. You can create and view service accounts of the project in the Service accounts section of the Google Cloud platform

    Credentials JSON

    Yes

    Credentials of the service account in the JSON format. To upload credentials in the JSON format, navigate to the Service accounts section of the Google Cloud platform, select Create key in the Actions context menu, and get the credentials

    Ssh keys

    No

    A list of OpenSSH keys with the user@hostname data in the end. When virtual machines are added, the users list is parsed from this field. Every user is created with the corresponding key

  3. Return to the Hostproviders page. As a result, the concern red dark concern red light icon stops being displayed in the Concerns column. The actions available for the configured hostprovider can be opened by clicking the actions default dark actions default light icon in the Actions column.

    Hostprovider is configured successfully
    The result of successful configuring a hostprovider
Found a mistake? Seleсt text and press Ctrl+Enter to report it