Setting up EVE-NG in Microsoft's Azure Cloud

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi everybody happy Saturday I am going to be showing you guys how to set up even Microsoft Azure cloud platform I originally started setting up Eve on my laptop then I moved to an actual piece of hardware that I bought for it but that's being utilized by a couple other friends for some more beefy lab purposes so I wanted to find a way that I could have a stable evm set up in the cloud accessible from everywhere to run some pretty lightweight rot switch topologies so I wanted to go ahead and make this information available to you guys I know a lot of you are probably pretty smart on the server side but maybe just haven't touched a sure or maybe you're new to this altogether but either way I just want to make a quick video to sort of walk you guys through how to do it so here we go so I will walk you guys over to let's just look it up so go to Google and search up Adger as you can see here it says my account portal sign in if you guys don't have one already you'll go to free account and then right here in the middle of the page you'll start for free and it's gonna ask you to sign in or sign up if you're if you already don't have a Microsoft account so you'll either need to create one or you can sign up with your current one so I'll let you guys take care of that I just wanted to show you where to find that free sign up for the portal so after you have your Microsoft account anyone can log in you'll just be able to sign in here up at the top right corner and I'll go ahead and do that for you guys and then I'll show you from there so I'm signed in and then you're gonna go ahead and click on portal so this is the Microsoft Azure dashboard as you can see it has a lot of of different options that can be pretty intimidating I started off with my sort of cloud expertise being an AWS but I've tried to deploy a couple different things in AWS that weren't really giving them me the functionality that I was looking for so I ventured out and started looking at the azure platform and it's been working out for the eave use case so I like it a lot it's pretty clean so I'm going to go click on virtual machines and as you guys can see I already have one running this is the one that i use for the demo but i'm gonna go ahead and show you guys how to add another one now just a quick bit of information when you sign up you actually get $200 for free to use as as far as your as as part of your free trial and then and then after that microsoft azure extends some resources that you can still spin up on a free trial basis but you can pretty much spin up whatever you want and you have that $200 free credit so that's pretty nice so for eve we're gonna go ahead and add a virtual machine and you see here a couple things for pretty straightforward subscription we're going to leave that on free trial we can leave the resource group the same that's sort of like a BPC for you AWS guys and let's go ahead and name this something so we'll just name it Azure Eve I believe it sounds good we'll leave it in East us the we're gonna look for Ubuntu server 1604 and let's go ahead and do a D 2 SP 3 that's why I have my other one running on but how did I come that image type right because there's tons of different image types and girls different lab purposes you might need different you might a different name different size to run certain different images and stuff so I just looked up into the documentation on creating a nested virtualization capable as your VM and basically all the v3m just support it so you can dig down into the different sizes and you know search up and see if there's resource requirements that specific VM is gonna it's going to support it but all the v3 ones that have v3 in the title are gonna support it so we're gonna go ahead and leave it at this one this gives us two V CPUs sorry I got a lisp and Invisalign and eight gigs of memory so that should be good guys just to keep things really basic we're gonna take off ssh public key and just see a username and password so for the purposes of this i'll go ahead and make the username eve and then i think that the password has to be pretty complex i think it's like 12 characters yeah so it says must have a lower case letter one uppercase letter one number and one special character and the value must be 12 characters long so go ahead and match that up okay cool we're all green for public inbound ports we're gonna want to be able to connect to this bad boy so let's go ahead and fire up HTTP HTTPS and ssh we're going to need ssh in order to connect to it and add images and and do the initial eve setup so that's gonna be pertinent [Music] over we'll just walk through save that we can leave all this the same this is a pretty easy setup guys you know we don't really need to get too far to the weeds it's on assigns it a public IP automatically so that's good we can leave all that stuff we've already identified the inbound ports that are allow accelerated networking and load balancing we can keep those the way they are let's see yeah all the management stuff go ahead and keep that the same this is going to be super easy and we'll go over to review and create as long as it is approved after the final validation we can go and create so it looks like it's passed and we will go ahead and create okay so the deployment is underway so we'll go back to home and virtual machines and we should see this coming up okay click on the actual VM page to take a look so it looks like it already has an IP address which is good and don't worry I am going to take this down before I post the video so you guys can hack into my my new VM image a little bit and copy that to the clipboard and we will see if this bad boy is ready to log into it should be alright so we'll just fire up a quick little putty session we will take that IP address and go ahead and open up an SSH connection to it so we are gonna go ahead and trust this yes we are ready Logan so guys just to remember we're gonna log in with those credentials that you just created so when I told you to move it from SSH public key to password authentication this is the credentials I'm talking about right here that we're gonna login for the initial time and we're gonna log in with that 12 character password cool beans so as you can see the hostname is just the username or the hostname is the the VM name that we created in Azure and then the username is what we just created for the authentication so in order for Eve to work we are gonna have to change some things so it's not a lot of things but it's it's a nice little list so I've put together a little list to keep us organized and I'm going to bring that up here and we're just gonna follow along I want to make this as simple as possible and if you guys want to message me for this list or you can access it online the actual how to's for eve but this should this should do it okay so it says the first step is rude up okay and then we are going to change the password for the root user and make it something that you will definitely remember or else you will be locked out and we are gonna do a text editor install it looks like it's already been installed so that's good that's Nana we're gonna need that edit some files so the first one that we're gonna edit is actually the host name because we need it to be Eve ng so as you can see here you can just go over delete that and then you're gonna hit ctrl o to write it you're gonna hit enter to save it and you see it says wrote one line and then ctrl X to exit and that's how you write and exit the Nano text editor the next one that we are and actually guys I know I know that you guys are thinking you didn't actually change the host name but it actually will change on the next reboot so the next one we're gonna do is the host file so you know UTC hosts and we looks like we already have the first line so we're gonna head and add the second line right that makes it okay and now we are going to need the root user to be able to SSH N and that is disabled by default so we are going to edit the SSH config and we are going down until we see promote permit root login and right now you can see it's set to prohibit password authentication so that would be a problem and we're just going to change that to yes control oh right and exit ok cool so let's go ahead and restart the SSH service cool now we need to exit this terminal and go back and grab that IP we're going to open up another pre-session like only this time we're gonna log in as a review sir okay so we are in his route have full control we're gonna do some editing over the grub and we have to add the network interface name to the interfaces file and you can see these are set to loop back so they need to be easy row in order for you to work we can leave changes looped back into each zero and then also we want this to be set up to DCP guys because as you're just gonna be handed that management address or that that uh that reachable address so we're gonna need about to happen back so ctrl o to write enter and exit and we are going to do a reboot we okay reboot so we're gonna lose connection for a second and guys they've actually made this pretty easy after that comes back all we're gonna do is this one command and this is going to install all of the even G packages that are necessary to run Eve after that you'll be able to access the web GUI let's go ahead and copy this address come back to my clipboard should you log back in here shortly it might take a few seconds and if it doesn't guys I will definitely fast-forward this all right here we go I was the wrong clip or item okay so we need to take this that you get come in here to download the packages cool looks like we're in the matrix right now I know it's a lot of stuff but pretty simple I think as long as you have the right directions and while this is going on I can actually show you guys where to get that all of those directions so if you actually just type in EVE tech ng net that will bring you to the home page of even G and they have a bunch of information about all their you know future releases they have some client pack so you guys can download for putty and another client type software that you would need to connect your instances but here you're gonna come to documentation and for installation for the azure instance I used to bear install since we are starting from a point of through bun to 1604 and that's what you need for the first step so you guys can actually go ahead and skip through all of this stuff right because you're starting off with that EVM after this video and we're bypassing all of this stuff right here so this is what we're actually doing right here is all of those directions are are right here pretty pretty straightforward so as long as you follow along you should be you should be good to go just make sure that you actually skip over the professional version stuff and don't install any of the Dockers so that's go ahead and take a look and see if this thing is making any progress all right guys it looks like it's finished up so we're gonna go back here after that is complete the next step was to reboot all right so we're back guys this is a really important part so we're going to type the root password in we're going to repeat it we can leave this as eve tech ng we can leave the dns name alone for now make sure this is DHCP and was this MTP we can leave that direct connection and we should lose a connection right now because we're creating some SSH keys so this was expected we will give it like one second it'll come right back up and we'll be able to connect in and at that moment in time guys I think we will be ready to connect to our new Microsoft Azure cloud instance of even G that's pretty exciting now we'll go ahead and try to restart this let's see if we're ready to connect this was so exciting when I first got it to work and it doesn't look like it's ready but when I first got this work it was pretty exciting because I knew that I was gonna have a reliable lab that I could get to from anywhere here we go guys so we'll go ahead and catch that log in and we are ready to rock so guys we'll go back to the azure dashboard and I want to show you guys something first so right now we could just go to the site P address we could just type that into our browser and we could get to this EVM no problem but I wanted to show you guys something so if you guys don't feel like remembering this or you're gonna share the instance with other people or or whatever you can go right in here after you click on the actual IP address itself and you can guys you guys as long as it's a it's a unique name across the the resource group in Azure you can set it up to be whatever you want so we're gonna set up this to be as your Eve let's just set it up to be yeah that's something simple so Eve one two three okay so I'll go ahead and validate that you'll get this green check that's unique across the resource group for East us and we will save and as soon as does take effect we should be ready to rock guys so Eve one two three we'll open up another tab and we will go to Eve one two three dot East us cloud up dot hazard and we are here so here's your web GUI here's everything we just set up pretty cool so we're gonna login the default credentials is admin eve to get into the web GUI and you are in the file manager from here you can check things like system status which is showing your resource utilization your user management where you can create other admins or other users people that you want to provide access to but from the main folder you would go in and create add lab and we will call this as your eve test save and we'll go on and open up the sandbox let me move this over just a tad so from here guys we'll be able to add all of our objects all of our pictures all of our boxes and circles and and cool notes and I can I can go over for a second and show you all the supported images the images are going to be up to you to provide and I can definitely add another video to show you guys how to get your images squared away in your even G server but a little bit of googling will help you but if you go back to the eve page they under their documentation they have a comprehensive list of all their supported images for the Community Edition so these can be things like Dynamite's images for cisco emulation IOL which is iOS on linux these are gonna be things that are for cisco internal use only so you know whatever you guys are doing make sure you're following the rules I don't want anyone to get in trouble with Cisco but here are all the key new versions that eve supports so if you're able to you know legally get your hands on any of these images for test and evaluation I encourage you to do so it's a pretty long list and you can build a pretty comprehensive lab environment with this they also have how to videos and how to's for most if not all of the image types that will walk you through step-by-step on how to prepare the image and how to import it into your EVM and how to get it spun up so guys I just wanted to thank you so much for watching this video and I hope it helped you guys out have a good one you
Info
Channel: Jon Spindler
Views: 4,234
Rating: undefined out of 5
Keywords: cisco, ccie, ccnp, ccna, ccent, lab, eve-ng, azure, study, networking
Id: qEmiri8w9MM
Channel Id: undefined
Length: 22min 29sec (1349 seconds)
Published: Sat Mar 02 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.