Introduction

The gateway is deployed in Google Cloud environment to monitor and manage your resources.

Prerequisites

  • Obtain a Google Gateway VMI:
    Submit a ticket to the OpsRamp Support team.

A Google URL is provided by OpsRamp Support to download a gateway image file. The image file is required when creating a storage bucket.

GCP configuration

In GCP, configuration includes the following:

  1. Creating a storage bucket.
  2. Creating an image.
  3. Creating a VM instance.

Step 1: Create a storage bucket

Buckets are the basic containers that hold your data. Everything that is stored in Cloud Storage must be contained in a bucket.

To create a new storage bucket:

  1. Log into GCP with your credentials.
  2. From Projects drop-down list, select the desired project to deploy the gateway.
  3. On the left pane, from Storage menu, click Storage and then click Create Bucket.
  4. From Create a bucket, enter a bucket name (Example: opsramp-gateway) and click Continue.
  5. From the available default storage class options, select Multi-Regional and click Continue.
  6. (Optional) Configure Control access to objects and Advanced settings.
  7. Click Create. The bucket you created now appears in the Buckets list.
  8. Click name of the bucket. The Bucket details screen appears.
  9. From the Objects tab, click Upload Files and select the gateway image file. Gateway image file gets uploaded to the bucket.
Bucket Details

Bucket Details

Step 2: Create an image

A virtual machine image is a single file that contains a virtual disk with a bootable operating system. Google allows you to define virtual machine images or use pre-defined images which can be used to create one or more virtual machine instances that look alike.

To create a new image for the gateway:

  1. On the left pane, from Compute Engine menu, click Images. Images list is displayed.
  2. Click Create Image. Create an image screen appears.
  3. Provide the following details:
    • Name: Enter a unique name for the gateway image.
    • Source: Select Cloud Storage file from the drop-down options.
    • Cloud Storage file: Select the gateway image file that is attached to the storage bucket.
    • Encryption: Google-managed key is selected by default.
  4.  Click Create. The new image appears in the images list.
Create an Image

Create an Image

Step 3: Create a VM instance

An instance is a virtual machine hosted on Google’s infrastructure. A virtual machine instance is created for the gateway using the gateway image.

To create a new VM instance:

  1. On the left pane, from Compute Engine menu, click VM Instances.
  2. Click Create Instance. Create an instance screen appears.
  3. Provide the following details and click Create.
    • Name: Enter a unique name for the gateway instance.
    • Region: Select US-central1 from the drop-down options.
    • Machine Type: Minimum requirement is 2 vCPU, 4GB.
    • Access scopes: Allow default access is selected by default.
    • Firewall: Ensure that port 22 and port 5480 are allowed on the gateway to access the Web and Serial user interface.
  4. Verify if the gateway is installed in Google Cloud Platform (GCP).
Gateway Installed

Gateway Installed

Gateway registration

Gateway registration includes the following steps:

  1. Creating a management profile
  2. Registering the gateway

For more information, view Registering a Gateway.