GCPGoogle Cloud Platform Setup Guide

Table of Contents

Deploying in Google Cloud Platform (GCP)

Before you begin, please ensure you have been added to the Google Group: Exabeam_GoogleCloudPlatform. To do so, you can contact Exabeam Customer Success by opening a case via Community.Exabeam.com.

The following instructions are for creating hosts using the Google Cloud SDK (command-line tool) command gcloud. Please see Google Cloud SDK for more information.

  1. Connect in to your Google Cloud Platform using gcloud.

  2. Create templates for host instances based on your deployment needs. Please consult an Exabeam technical representative, if you are unsure which host configuration to implement.

    Note

    If launching in a non-default network for project, you may need to supply network arguments when creating the templates. (For more information, consult GCloud documentation.)

    Execute the following commands for your host type:

    Template for EX-2000 Equivalent Host

    gcloud compute instance-templates create ex2000 --boot-disk-size 150 --boot-disk-type pd-ssd --create-disk=auto-delete=yes,size=894GB,type=pd-ssd --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --machine-type custom-20-131072 --image-project exabeam-images --image-family exabeam-centos-7 --no-address --can-ip-forward
    

    Template for EX-4000 Equivalent Host

    gcloud compute instance-templates create ex4000 --boot-disk-size 150 --boot-disk-type pd-ssd --create-disk=auto-delete=yes,size=894GB,type=pd-ssd --create-disk=auto-delete=yes,size=894GB,type=pd-ssd --create-disk=auto-delete=yes,size=894GB,type=pd-ssd --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --create-disk=auto-delete=yes,size=1860GB,type=pd-standard --machine-type custom-40-262144 --image-project exabeam-images --image-family exabeam-centos-7 --no-address --can-ip-forward

    Template for EX-3000 Equivalent Host

    gcloud compute instance-templates create ex3000 --boot-disk-size 240 --boot-disk-type pd-ssd --create-disk=auto-delete=yes,size=2000GB,type=pd-ssd --create-disk=auto-delete=yes,size=2000GB,type=pd-ssd --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --create-disk=auto-delete=yes,size=2000GB,type=pd-standard --machine-type custom-20-131072 --image-project exabeam-images --image-family exabeam-centos-7 --no-address --can-ip-forward
  3. Instantiate your host from a template.

    gcloud compute instances create --source-instance-template [host_template] [hostname]

    To instantiate multiple hosts with the same template, separated hostnames by space.

  4. Create an SSH key.

    1. Enter the following command

      ssh-keygen -t rsa
    2. Enter the file in which you want to save the SSH key

      (/home/exabeam/.ssh/id_rsa): key.pem
    3. You will be asked to generate a passphrase. Skip this by hitting "enter" on your keyboard twice.

    4. Enter the following commands.

      chmod 400 key.pem
      sudo mkdir -p /opt/exabeam_installer/.ssh
      sudo mv key.pem* /opt/exabeam_installer/.ssh/
      cat /opt/exabeam_installer/.ssh/key.pem.pub
  5. Copy the entire output content (generated in the previous step).

  6. Add the SSH key.

    1. WIthin your Google Cloud account, navigate to the Exabeam project > Compute Engine > Metadata > SSH Keys.

    2. Click Edit.

    3. Click Add Item.

    4. Paste the entire contents of the SSH key (copied in the previous step) to the input box.

    5. Click Save.

  7. Log in to the instance using SSH and <username>@<external ip>.

  8. Change user to use the Exabeam account with "sudo su exabeam".

  9. Download the .sxb to the /home/exabeam directory.

  10. Run chmod +x <release>.sxb, replacing <release> with the name of the .sxb file you are installing. (Download the release you need from the Exabeam Community)

You are now ready to install.