Installing CDV on a GCP virtual machine - Adaptive Applications - BlueCat Gateway - 22.2.2

Cloud Discovery & Visibility Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.2.2

If you use Google Cloud Platform (GCP) as a resource provider, you can deploy Cloud Discovery & Visibility (CDV) on a virtual machine (VM) running in the GCP environment.

To set up CDV to run on a VM on GCP:

  1. In Google Cloud Platform, create a virtual private cloud (VPC) that will host CDV.

    Typically, you can do so from the Google Cloud Platform dashboard. Click VPC networks in the navigator on the left, then click Create VPC Network.

  2. Create the virtual machine as follows:
    1. In the navigator on the left, click Compute Engine, then select VM instances.

      Tip: You might need to go to a higher level in the navigator to find the Compute Engine item.
    2. Click the Create Instance button, then select New VM instance.

    3. In the Identity and API access page, select the service account and access scopes needed for CDV:
      • In Service account, select Compute Engine default service account.
      • In Access scope, select Allow full access to all Cloud APIs.
      • Click to select the Allow HTTP traffic and Allow HTTPS traffic checkboxes. Doing so will automatically create a firewall and open standard ports 80 and 443 on your machine.
    4. Complete the rest of the details based on needs of your organization. When you're done, click the Create button.
  3. Open the SSH port as follows:
    1. Within Google Cloud Platform, within in the VPC network, click Firewall in the navigator on the left.

    2. Configure a firewall rule for your VM. Fill in details and choose options as needed for your organization.

      In addition, make sure you configure the following:
      • For the rule's Network, select the same network as the virtual machine.
      • For Source IPv4 ranges, add: 0.0.0.0/0
      • Under Protocols and ports, select Specified protocols and ports. Then, select the tcp checkbox and enter 22 for the tcp port.
      When you're done, click Create.
  4. Open an SSH shell in the virtual machine as follows:
    1. Within Google Cloud Platform, in the Compute Engine page, click the VM instances tab.

    2. In the list of instances, find the virtual machine instance that you just created. In that entry's Connect column, click the drop-down arrow next to SSH and choose View gcloud command.

    3. In the gcloud command line window that appears, click the Run in Cloud Shell button (at the bottom).

    4. Install docker. You can use the following command to do so:
      sudo apt update && sudo apt install docker.io 
  5. Continue with the standard procedure for setting up a CDV image.

    For more details, see Installing the Cloud Discovery & Visibility Docker image.

    Tip: When setting up authentication for CDV in GCP, you can tell CDV to use the VM instance's credentials (instead of specifying and uploading them manually). For more details, see GCP Service Account.