Deploy EVE-NG Pro to Google Cloud Platform (GCP)
Vložit
- čas přidán 18. 10. 2020
- Who wouldn't love to deploy EVE-NG Pro to a cloud platform? We can with GCP, and its not even that hard!
=======================================================
Enable nested virt command:
gcloud compute images create nested-ubuntu-bionic --source-image-family=ubuntu-1804-lts --source-image-project=ubuntu-os-cloud --licenses www.googleapis.com/compute/v1...
Install EVE-NG command:
wget -O - www.eve-ng.net/repo-bionic/in... | bash -i
Check the EVE-NG Pro Cookbook for more details starting on page 44:
www.eve-ng.net/index.php/docu...
============================================================
➡️Visit DataKnox: knoxhutchinson.com
➡️Need training? Check CBT Nuggets: learn.gg/dataknox
Training!
CBT Nuggets: learn.gg/dataknox
ENCOR: learn.gg/encor-knox
ENAUTO: learn.gg/enauto2
PowerShell 7: learn.gg/ps7-dataknox
*Below you will find what are known as affiliate links. Basically, links to really great stuff I use that, if you buy, I will receive a super small kickback that helps support this channel. Thanks!!*
(BOOKS, GEAR, and STUFF I USE)
Amazon Affiliate Store: amazon.com/shop/dataknox
Boson ENCOR Exams: bit.ly/3dRXDKr
Boson ENARSI: bit.ly/2Yvh0DS
Dell R720 2U server: ebay.to/2MUZZMP
Cisco 3750G Switch: ebay.to/2YsGuQQ
Cisco 3650 IOS-XE Switch: ebay.to/3fnVRkt
Cisco 3850 IOS-XE Switch: ebay.to/2XZ0ko2
Cisco ISR 1113 IOS-XE Router: ebay.to/2zNztSA
----------------------------------------------------------------------------------------------------------------
🤝🤝🤝JOIN THE Cisco Routing and Switching FACEBOOK STUDY GROUP: bit.ly/2A3vah0
🤝🤝🤝JOIN THE CCNA/CCNP Collaboration FACEBOOK STUDY GROUP: bit.ly/2FEE9aH
----------------------------------------------------------------------------------------------------------------
mcsa vcp mcse mta tshoot 300-135 az-900 az 900 az900 Microsoft Azure Devnet Associate
Cisco Devnet Associate
CCNP Enterprise
CCNP Security
CCNP Data Center
CCNP Service Provider
CCNP Collaboration
Cisco Certified Devnet Professional
Cisco Certified Network Professional
CompTIA Linux+
Linux+
Ethical Hacking
Hacking
#CBTNTrainer #ccna #eveng - Hry
This is awesome. I have been seeing this mentioned a lot lately.
Great tutorial, thank you for the time and work dear !
Thanks a lot for the videos, really appreciate the Eve-NG topics here. For GCP, I think I would try and secure my Eve-NG box to prevent it being hacked/taken over and used as a bot or something. I would try and restrict the firewall rules to my public IP at home/work, not the whole Internet and/or maybe install a jumphost of some kind to use from the Internet. I think GCP even has some reverse proxy services which can authenticate you based on your Google account but i haven’t had time to look at them. I love Eve-NG, but I don’t think the developers have a big focus on security based on the default root access. So I wouldn’t want this directly accessible to the whole Internet.
First of all, I want to thank you for sharing your knowledge with the rest of us. I find your videos very interesting and informative.
If possible could you please let me know how to use NET cloud with the internet capability on GCP deployed Eve-ng server ? I am struggling to configure that part.
Thank you
Thanks a ton finally worked .🥳
This is awesome Know.
Thanks a lot.. :)
thanks from the heart.
Great stuff as always thank you Data Knox. Question... can you get this to work using the Native Console when hosting EVE-NG in GCP?
As long as the right ports are open
Is very good for people who does not have place for servers. Interesting thnx knox
You bet!
Hey man, have you been able to use the management cloud on it?
I'm having trouble to get a SD-WAN lab going on it because I can't transfer files to the nested controllers inside the EVE-NG. Any thoughts?
The discription cuts off long links with "..." so I can't copy and paste any of those long commands
So Konx is it possible for multiple users to concurrently log into it for practice ?
If yes make a video on that or a link to teach me because I want to set this for my Cisco Class.
Great video! Two questions: (1) Can this be done with the Community version of EVE-NG? (2) What purpose do the Docker containers provide with EVE-NG? Thanks.
It can but it is a completely different process with a different disk image and install script. You may want to check my playlist for the Docker info czcams.com/play/PLIlpqyrKHrRPcRWKNSFo9qr2Oz307klT1.html
Hello Knox! THANK YOU SO MUCH AGAIN! :D
My laptop has 16gb of memory and it cannot run the SDWAN images or the CSR.
Do you think Google Cloud Platform will be able to run them?
Yes
@Data Knox - Thanks for great video, I am exactly following your steps, however after running bash script and command "shutdown -r now" my VM never connect to SSH, infact i can't even ping the public ip after shutdown. I am wondering what could be the issue here?
Is there any difference in deploying eve-ng in azure, aws or gcp?
Hey Knox, for you to know, the GCP grace period has change to 300$ for 90 days!
Good catch!
Hello Knox, I'm getting this error when I paste the shell command "ERROR: (gcloud.compute.images.create) unrecognized arguments:" what is the problem?
How do you add management 0 clouds to a GCP install of eveng pro? I can't seem to get it to assign dhcp addresses automatically
is there a way o do it with AwS as well? GCP Is giving me some troubles, and most of my stuff is already on AWS.
Great stuff but when I adding the images in eve got error eve-ng license host error (98) so what is the solution
Hello Knox. Your videos are very interesting. As I've seen that you imported Cisco CML images on Eve-NG Pro (as you paid for the Personal version in order to have legal licenses), I was wondering this: haven't you tried to use, instead of Eve-NG, Cisco CML directly on GCP? It would be very interesting from my point of view. No import process. In addition, CML supports KVM images so you can run also 3d parties hardware virtualized.
Thanks for your reply.
I haven’t explored running CML in GCP. I don’t have anything against CML - I think it’s a solid product. You may, however, want to check out my EVE-NG playlist to explore some of the main features of EVE-NG Pro that really impressed me, like this one czcams.com/video/1CyRtmfyv_8/video.html
@@DataKnox I'll have a look, thanks. If I get a bit of time, I could try to import CML OVF on GCP.
Great video to help me clarify the process I went through. My biggest unknown at the moment is exactly what size instance to be using. I know you mentioned what you selected as a min. What is your recommended "ideal" instance? I am wanting to get into bigger topo's and SD stuff. I currently choose N-1 w/ 16 vCPU and 60 GB of mem.
Yeah that’s the big question and it depends on the images you use. IOL images will use WAY less resources than IOSv, for instance. But as soon as you get into vManage, FMC, CSR1000v... those are big.
I have ran something similar on azure, any way we can install putty/wireshark etc on the server?
@@DataKnox well shouldn’t that be one benefit of running the lab in GCP. Shouldn’t the billing be based processing elasticity? I haven’t really really looked into it because, hey new toys! I do not have a physical machine that is powerful enough so this is a good solution that I will “optimizing” over the next few weeks!
@@ppiuz988 I dont see why not, its just a “regular” machine in the end. I installed Ansible on mine and working with automation concepts running from the server itself.
@@ppiuz988 unfortunately azure nor aws supports custom kernel for Linux VMs, therefore it is not supported for EVE
Hi Knox, I am unable to open wireshark of my local machine in cloud deployed eve-ng... it's showing me ab error is cmd as connection abonded..
Sounds very firewall-y
getting below error -
root@instance-1:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Jan 06 10:30:29 Jan 06 10:30:29 ERROR: Unlicensed
and not able to start the Nokia SROS inside qemu. While right clicking on icon and pressing start it shows no error; but the image is not starting.
Please guide how to fix it. Thanks in advance
i got the same error. any solution yet ?
hi Knox, what spec do you recommend to run the CCIE Lab?
32GB RAM if you want every node turned on at once
Hi Knox, how much RAM do you recommend if I would like to use Cisco 9000 Xrv 7.0.x for a topology consist of 10 nodes ?
alot
how can i delete node permanent on eve-ng
Question: What images go on which devices? And can you provide the link to the videos on how to add devices. I have the David Bombal ones
Do you mean something like this? czcams.com/video/yrj61SQGNfE/video.html Make sure to check out the full playlist for more info!
@@DataKnox I think that's it. I'll watch it tomorrow, thanks
please your help i have a error of 98 license error!
Can you do a CML2 GCP tutorial?
Knox, do I have to purchase Pro version to run monitoring,aaa server, dns/dhcp server, etc.?
It depends if you want to run them as Qemu or as a Docker
I have HTTPS and HTTP enabled but EVE-NG is only allowing HTTP. Is there something in EVE-NG we need to enable?
If you never figured it out, yes there is. It's in the EVE-NG cookbook, just required installing an SSL cert and updating some configs.
The management cloud of eve ng doesn't work in gcp.
But it works well in local machine.
I've been having the same problem here.
Any idea why? Is there something we could do?
I'm trying to get a SD-WAN lab going here, but I'm not able to upload the serial viptela files to register the vedges/cedges because of this problem
Mate , this solution isn't secure it keeps saying that cryptocurrency prob is there and kept stopping the VM , do you know how to secure the https connection ?
Does it do nested virtualization? Hard to tell from the video
Yes, that is what is going on
Hi. Nice video. Thank you.
So my question is how about licensing ? I didn't see you putting the license
I had a license already to use for recording
@@DataKnox Ok. Thanks
Hi Data Knox, thanks for the tuto but I need one more thing. Now the eve-ng is intalled and I have tried to add an Ubuntu vm in the topology connected to management0 to be able to connect outside but it does not work. I tested the same setup on-premise and it works fine.
I have the same issue. Also, I am using the pro version.
@@SamuelGermain97 I finally found the solution in that tuto czcams.com/video/-QAVBP8XFQQ/video.html
@@ngueletengonga
I have a strong feeling this is going to work! I just want to thank you so much in advanced!
Eve ng says license expired
ERROR: (gcloud.compute.images.create) unrecognized arguments:
--source-imagefamily=ubuntu-1804-lts (did you mean '--source-image-family'?)
--
To search the help text of gcloud commands, run:
gcloud help -- SEARCH_TERMS
pls resolve ,my issue sir
this what happen after I run the wget ???????
following packages have unmet dependencies:
eve-ng-pro : PreDepends: eve-ng-pro-guacamole (>= 2.0.6-14) but it is not going to be installed
PreDepends: eve-ng-janus but it is not going to be installed
PreDepends: netdata but it is not installable
Depends: eve-ng-pro-guacamole but it is not going to be installed
Depends: php
Depends: eve-ng-qemu (>= 4.0.1-35) but it is not going to be installed
from here I'm in repo hell .
I can get the community edition to work just not pro ?
Will it work for EVE-NG Community version in GCP ?
Community has a completely different setup and uses a different image. Check the cookbook
@@DataKnox Thank You very much
wonder how much money you make off that little miner you slipped in there .. However.. you know your still helping people so its not that big of a deal.. but it cost me a great deal of trouble having to reconfigure everything i had setup and put my stuff in a different project and zone in GCP ..
Hi Knox,
Thanks for the great tutorial on EVE-NG. I followed all your steps but when i request for permissions, i get below error. please help me to get fixed.
root@evengpro:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Jan 22 04:01:42 Jan 22 04:01:42 ERROR: Unlicensed
Looks like you need to purchase EVE-NG Pro and license it
@@DataKnox no shit sherlock
Hey Knox, thanks for making this video. any idea why I'm getting this error message after copying and pasting to "Enable nested virt command:":
Error message:
ERROR: (gcloud.compute.images.create) FAILED_PRECONDITION: Billing account for project '150169367105' is not found. Billing must be enabled for activation of service(s) 'compute.goog
leapis.com,compute.googleapis.com,compute.googleapis.com' to proceed.
Looks like a credit card problem to me
@@DataKnox yeah looks like I had to enable billing on my account. I’m trying to get this all setup today. Off hand Do you know how much eveng pro cost?
secure.avangate.com/order/checkout.php?PRODS=4721540&QTY=1&CART=1&CARD=1
~$115.75/yr it should be worth it so I can get this all fully setup. GNS3 gave me so many issues
E: Unable to locate package eve-ng-dockers
Hey Knox I got this error message after running the following command, apt install eve-ng-dockers . Any idea on how to resolve this? I bought the eve-ng pro license.
Getting a "E: Unable to locate package eve-ng-dockers" when attempting to run the command "apt install eve-ng-dockers". Any suggestions? Thanks.
Try sudo apt update first
@@DataKnox don't work :(
@@DataKnox that works for me. Thanks
works for me too #sudo apt update
apt update
Hello Knox, I did deploy EVE-NG pro to GCP using this video. I'm got this email from Google Cloud Platform/API Trust & Safety Team and my VM got suspended - We've detected that your Google Cloud Project My First Project (id: exalted-altar-3xxxxx) is engaging in cryptocurrency mining, resulting in the suspension of all project resources displaying this behavior. Do you know how to best secure the VM on google cloud?
I got the same issue, did you fix this, should we change firewall rules
Same issue bro. Any idea how to fix this problem ?