EVE-NG in the Cloud
I have been running GNS3 since last couple of years but when it comes to a large scale network simulation with high end devices my Laptop, the resources doesn’t support. This brought me to seeking a way to run EVE-NG on scalable and expandable resources.
Configuring Eve-NG on Google Compute Engine
In this tutorial I will walk-through on how to deploy Eve-NG on the cloud and more specifically on Google Compute Engine. I’ve tried Eve-NG on AWS and Azure but neither of them actually worked since nested virtualization isn’t supported. Google Compute Engine was also the cheapest option. It provide $300 free credit during registration which is valid for 12 Months. If you use the GCP VM only once required, the approximate uptime with variable resources are estimated below.
|CPU||RAM||Persistent Storage||Static IP||Uptime|
|8 vCPU||30 GB||50 GB||NA||$194.18/month (About 45 Days of continuous running)|
|1 vPCU||3.75 GB||50 GB||NA||$26/Month (About 11 Months of continuous running)|
|4 vPCU||4 GB||50 GB||NA||$78/Month (About 3.8 Months of continuous running)|
Go to https://cloud.google.com/products/calculator/ to estimate the cost.
- EVE-NG in the Cloud
- Configuring Eve-NG on Google Compute Engine
- Step 1: Connect to Google Cloud Platform (GCP)
- Step 2: Create new project.
- Step 3. Create a VM Instance.
- Step 4: Create a Compute Image for VM Instance.
- Step 4. Creating Virtual Machine
- Step 5. Pre-Installation Setup
- Edit sshd_config to allow “root” user to login
- Login with SSH Putty now using “root”
- Change interface name to “eth0”
- Step 6: EVE-NG installation
- Step 7: Dockers installation
- Step 7: Access TO EVE-NG
Step 1: Connect to Google Cloud Platform (GCP)
Step 2: Create new project.
Step 3. Create a VM Instance.
Step 4: Create a Compute Image for VM Instance.
gcloud compute images create nested-virt-ubuntu --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"
Step 4. Creating Virtual Machine
Step 5. Pre-Installation Setup
Edit sshd_config to allow “root” user to login
Login with SSH Putty now using “root”
Change interface name to “eth0”
shutdown -r now
Step 6: EVE-NG installation
Install GPG Key
apt-key add email@example.com
add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"
apt-get install eve-ng
apt-get install eve-ng
Step 7: Dockers installation
After EVE is rebooted, reconnect the SSH session:
!--Type command to become root:
!--Type command to update EVE:
!--Type command to Install Dockers:
apt install eve-ng-dockers
Step 7: Access TO EVE-NG
Use your public IP(External IP) for accessing EVE via https (Pro) or http (Community).