0% found this document useful (0 votes)
35 views14 pages

EVE Googlecloud

This document provides instructions for installing and configuring EVE-NG Professional on Google Cloud Platform (GCP). The steps include creating a GCP account, setting up a project, preparing an Ubuntu boot disk template, creating a VM instance, installing EVE-NG Pro on the instance, and configuring the management IP and firewall rules. Optional steps include reinstalling docker images and configuring firewall rules to allow native console access.

Uploaded by

Anousone Xomphou
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views14 pages

EVE Googlecloud

This document provides instructions for installing and configuring EVE-NG Professional on Google Cloud Platform (GCP). The steps include creating a GCP account, setting up a project, preparing an Ubuntu boot disk template, creating a VM instance, installing EVE-NG Pro on the instance, and configuring the management IP and firewall rules. Optional steps include reinstalling docker images and configuring firewall rules to allow native console access.

Uploaded by

Anousone Xomphou
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

EVE-NG Professional Cookbook

Version 5.1

Step 22: (Optional) If after dockers first install


Step 21: IMPORTANT After update, Step 20 (Step 21
is completed, continue with type: seeing some docker name in the list as
<none>,
apt install eve-ng-dockers
This can take some time depending on your
Internet connection and disk speed.
please run the command:
Your output after install must look like: apt install --reinstall eve-ng-dockers

NOTE: If you are installing EVE in the locked


environment and cannot install dockers
online, please contact with us: info@eve-
ng.net for offline dockers installation option.
dc images

Step 23: Continue to section 4 to obtain


your EVE-NG Professional license

IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 17

3.4 Google Cloud Platform

3.4.1 Google account


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.

3.4.2 Goggle Cloud project

used as well.

© EVE-NG LTD Page 40 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 3. Enter your project name,

This will take some time.

3.4.3 Preparing Ubuntu boot disk template

© EVE-NG LTD Page 41 of 268


EVE-NG Professional Cookbook
Version 5.1

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

gcloud compute images create nested-ubuntu-focal --source-image-


family=ubuntu-2004-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:

3.4.4 Creating VM
Step 1: Navigate: Navigation Menu/Compute Engine/VM Instances a

Step 2: Assign the name for your VM

Step 3: Set your own region and zone

© EVE-NG LTD Page 42 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 4: Edit your Machine Configuration. General-Purpose. Choose the series of CPU platform,
Preferred are Intel CPUs Skylake or Cascade.

Step 5: Choose your desirable CPU and RAM settings.

Step 6: Select Boot disk. Press Change

Step 7. Select Custom images, Select Project (EVE-test) and the custom boot images you
created previously. Choose HDD disk type and size. HDD size can vary depends of your
needs.

© EVE-NG LTD Page 43 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 8: Allow https traffic and create VM

3.4.5 EVE-NG Pro installation


Step 1: Click VM Instances to get access SSH to your VM, Connect to the VM with the first

© EVE-NG LTD Page 44 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 2: Launch installation with:

Type the below command to become root:


sudo -i

Start EVE-PRO installation


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

Step 3: Update and upgrade your new EVE-Pro


apt update

apt upgrade
Confirm with Y

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

Step 5: IMPORTANT: Setup IP


Once the IP wizard screen appears, press ctrl +c and type the below command to become root:
sudo -i

© EVE-NG LTD Page 45 of 268


EVE-NG Professional Cookbook
Version 5.1

Now follow the IP setup wizard.


IMPORTANT: set IP as DHCP!

Step 6: Reboot

Step 7: 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

3.4.6 Access to Google Cloud EVE-PRO


Use your public IP for accessing EVE via https.

© EVE-NG LTD Page 46 of 268


EVE-NG Professional Cookbook
Version 5.1

Default web login: admin/eve

3.4.7 Optional: GCP Firewall rules for native console use


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

Step 2: Create new firewall rule

© EVE-NG LTD Page 47 of 268


EVE-NG Professional Cookbook
Version 5.1

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

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

© EVE-NG LTD Page 48 of 268


EVE-NG Professional Cookbook
Version 5.1

Summary FW rules.

3.5 EVE Management IP Address setup

3.5.1 Management static IP address setup (preferred)

IMPORTANT NOTE: EVE Docker stations for html console access are using network
172.17.0.0/16. Please avoid use this network on the EVE management or other clouds or
interfaces.

The steps below will walk you through the network setup and assign a static management IP
for EVE.

Step 1: Log into the EVE CLI using the default Step 2: Retype your root password again
login root/eve After login, type your preferred and confirm with enter.
root password for EVE, default is eve.
Remember it for further use. Confirm with
enter

NOTE: Typed characters in the password


field are not visible.

© EVE-NG LTD Page 49 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 3: Choose your EVE VMs hostname. By Step 4: Type your domain name for your
default, it is eve-ng. You can leave it as it is. EVE VM. By default, it is example.com. The
Confirm with enter default value can be used as well.
Confirm with enter

Step 5: Using the arrow keys, select the Step 6: Type your desirable EVE
your selection with management IP. Confirm with enter.
the space key, followed by enter

© EVE-NG LTD Page 50 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 7: Type the subnet mask of your EVE Step 8: Type your networks gateway IP.
management network. Confirm with enter. Confirm with enter.

Step 9: Type your networks primary DNS Step 10: Type your network Secondary
IP. Confirm with enter. DNS IP. Confirm with Enter.
IMPORTANT: DNS must be reachable and IMPORTANT: DNS must be reachable and
resolve public addresses. resolve public addresses.

Step 11: Type your preferred NTP server IP. Step 12: Skip this step. By default, it is set
It can be left empty as well; in this case, your to direct connection (no proxy).
EVE VM will automatically assign the time
from its host. Confirm selection with enter. EVE will
reboot automatically.

NOTE: If required, the Proxy settings


can be configured later using EVE
WEB GUI System/System Settings
described in section 3.5.3

© EVE-NG LTD Page 51 of 268


EVE-NG Professional Cookbook
Version 5.1

IMPORTANT NOTE: If you are setting up your management IP for the first time (fresh
EVE installation), please return to the install section and complete installation Phase
3.

3.5.2 EVE Management IP address setup via DHCP

IMPORTANT NOTE: EVE Docker stations for html console access are using network
172.17.0.0/16. Please avoid use this network on the EVE management or other clouds or
interfaces.

The steps below will walk you through the network setup and assign a management IP for EVE
via DHCP.

Step 1: Log into the EVE CLI using the default Step 2: Retype your root password again
login root/eve After login, type your preferred and confirm with enter.
root password for EVE, default is eve.
Remember it for further use. Confirm with
enter

NOTE: Typed characters in the password


field are not visible.

Step 3: Choose your EVE VMs hostname. By Step 4: Type your domain name for your
default, it is eve-ng. You can leave it as it is. EVE VM. By default, it is example.com. The
Confirm with enter default value can be used as well.
Confirm with enter

© EVE-NG LTD Page 52 of 268


EVE-NG Professional Cookbook
Version 5.1

Step 5: Using the arrow keys, select the Step 6: Type your preferred NTP server IP.
dhcp It can be left empty as well; in this case, your
space key, followed by enter EVE VM will automatically assign the time
from its host.

Step 7: Skip this step. By default, it is set to


direct connection (no proxy).

Confirm selection with enter. EVE will


reboot automatically.

NOTE: If required, the Proxy settings


can be configured later using EVE
WEB GUI System/System Settings
described in section 3.5.3

© EVE-NG LTD Page 53 of 268

You might also like