Copy link below in Cloud shell to install nested eve-ng vm:
gcloud compute images create nested-ubuntu-xenial –source-image-project=ubuntu-os-cloud –source-image-family=ubuntu-1604-lts –licenses https://www.google.com/compute/v1/projects/vm-options/global/licenses/enable-vmx
Once install type below commands:
wget -O – http://www.eve-ng.net/repo/install-eve.sh | bash -i
Deploying EVE-NG On Google Cloud Platform:
EVE-NG is a network emulation tool for building and configuring virtual network topologies (eve-ng.net). It is typically used for building networking labs for certification study purposes or for proof-of-concept testing.
Creating A Custom Nested Ubuntu Image
Google Compute Engine supports nested virtualization, which basically allows you to run one or more virtual machines inside of a Compute Engine Linux VM (in our case, an Ubuntu VM). In a nutshell, nested virtualization lets you run “VMs inside of VMs”.
Nested virtualization is supported on any Linux VM
In the “Create Instance” form, enter the following configuration details as shown in the figure below, and click on the “Create” button once done.
– Name: Specify a name for the VM (e.g. “eve-ng”).
– Region/Zone: The GCP region and zone where the VM will be housed (e.g. “northamerica-northeast1” / “northamerica-northeast1-a”).
– Machine configuration – Series: The machine type family for the VM (eg. “N1”).
– Machine type: Select from one of the predefined machine types for the VM (e.g. “n1-standard-8”), or specify your own with a custom number of vCPU cores and memory.
– CPU Platform: In order to ensure support for nested virtualization, be sure to select “Intel Haswell or later”.
– Deploy a container image to this VM instance: Be sure to leave this option unchecked.
– Firewall – Allow HTTP traffic: Select this option if using the Community version of EVE-NG.
– Firewall – Allow HTTPS traffic: Select this option if using the Pro version of EVE-NG.
– IP Forwarding: By default, a VM cannot forward a packet originated by another VM. Select “On” to enable IP Forwarding to get around this restriction.
– Boot disk: Click on the “Change” button and follow the instructions of videos.
source by NP tech-shot v.1