Google Cloud Install

 

1. Google Cloud Platform

Step 1: Connect to Google Cloud Platform (GCP)

https://console.cloud.google.com/getting-started

Step 2: Sign into GCP. Create a new GCP account if you do not already have one.

2. Create new project. By default, GCP will offer you a project named “My First Project”. It can be used as well.

Step 1. GCP top bar, click on “My First Project”

Step 2. Next pop up window, click “NEW PROJECT”

Step 3. Enter your project name, and confirm “CREATE”

This will take some time.

Step 4. Navigate: Navigation Menu/Compute Engine/VM Instances

Step 5. Navigate: top bar and select your Project

Preparation of your Project can take some time. Wait until the VM Instance window finishes deployment and then press the “Create button.”

3. Preparing Ubuntu boot disk template.

Step 1: Open the google cloud shell and press: “START CLOUD SHELL”

Step 2: create a nested Ubuntu 16.04 image model. Copy and paste the below command into the shell. Use copy/paste. crtl +c/ctrl +v. It is single line command. Confirm with “enter”:

gcloud compute images create nested-ubuntu-xenial --source-image-family=ubuntu-1604-lts --source-image-project=ubuntu-os-cloud --licenses https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx

You will get the following output when your image is ready:

4. Creating VM.

Step 1: Navigate: Navigation Menu/Compute Engine/VM Instances and press “Create”

Step 2: Edit your VM settings. Use your own region and zone. Choose your desirable CPU and RAM settings.

IMPORTANT: “Deploy a container image” must be UNCHECKED.

Step 3: Select Boot disk. Press Change

Step 4. Select the custom boot images you created previously. Choose HDD disk type and size. HDD size can vary depends of your needs

Step 5: Allow https traffic and create VM

5. EVE-NG installation

Step 1: Connect to the VM with the first option “Open in browser window”

Step 2: Launch installation with 2.1 or 2.2:

Jump to root:

sudo -i

2.1 For EVE-NG Professional start EVE-PRO installation:

wget -O - https://www.eve-ng.net/repo/install-eve-pro.sh | bash -i

2.2 For EVE-NG Community start EVE-NG Community installation

wget -O - https://www.eve-ng.net/repo/install-eve.sh | bash -i

Step 3: Update and upgrade your new EVE-NG

apt update

apt upgrade

Confirm with Y

Step 4. Reboot EVE. Allow some time for reboot and then press “Reconnect”

Step 5: IMPORTANT: Setup IP

Once the IP wizard screen appeares, press ctrl +c and type the below command to become root:

Now follow the IP setup wizard.

IMPORTANT: set IP as DHCP!

(EVE Community install must skip step 6)

Step 6: Dockers installation. After EVE is rebooted, reconnect the SSH session:

Type command to become root:

sudo -i

Type command to update EVE:

apt update

Type command to Install Dockers:

apt install eve-ng-dockers

6. Access TO EVE-NG

Use your public IP for accessing EVE via https (Pro) or http (Community).

Default web login: admin/eve

7. Optional: GCP Firewall rules for native console use

Step 1: Navigate: Navigation menu/VPC Network/Firewall rules

Step 2: Create new firewall rule

Step 3: Create an ingress FW rule; allow TCP ports 0-65535

Step 4: Create an egress FW rule; allow TCP ports 0-65535

Summary FW rules.