Look at infrastructure as a service via Amazon Web Services.
- Virtualization has been around with us now for awhile, but it continues to amaze me in the way that it affects the entire IT industry. It wasn't that long ago that we began to see physical servers being replaced by virtual machines at individual locations. And we still see tons of that. But what starts to happen is when you take all of this hardware and virtualize it, companies that have a lot of money behind them can start to build up really big farms of virtual machines and can do all kinds of really cool things that allow us to pretty much just take all this away.
We don't even, in many cases, need to set up our own virtual machines. We can let other people take care of that for us. This manifests in a lot of different ways, but the first one I want to talk about is something called Infrastructure as a Service or IaaS. Infrastructure as a Service simply means that somebody far away will set us up a virtual infrastructure to do bazillions of things that would normally cost us a lot of money as we brought in servers and set up virtualization and did all the maintenance and had people who knew how to work it.
It's just craziness. There are people out there who will in essence rent you an entire infrastructure as a service. Let's take a look at that. Probably the best place to get started with Infrastructure as a Service is the famous Amazon Web Services. So if you take a look here on my screen, you see it says aws.amazon.com. Now if you go ahead and click in there, now I've already created an account. We can setup an infrastructure as a service. So I'm gonna go to my AWS Management Console.
And this my friends is most people's first exposure to IaaS. Now Amazon Web Services is a lot more than just infrastructure as a service. That's one of the small things that it does. But what we're gonna be doing here is we're gonna just set up a little web server. Now keep in mind, when I'm saying setting up a web server, we're gonna make a virtualized web server, we're gonna get it up and running, and we're gonna get it on the internet with a real public IP address, and it's gonna be firewalled and everything, okay.
So this isn't just one virtualized box. This is a complete infrastructure. Let's get started. Now just because I know how to do it here, we go to EC2. And EC2 is where we set up our infrastructure. Now if you take a look, if you look right here, you'll see it says I have Running instances. I actually already have a web server up and cooking so what I want to do here is we're gonna go through the process. I've already done this, but we're gonna do it again of actually setting up a web server from scratch. So here we go.
So first of all, you click on this button right here. It says Launch an instance. An instance is a virtual machine as far as Amazon's concerned. So we'll launch an instance. Now take a look at all of these different types of operating systems we can install. I mean if you want to install Linux, if you want to install Windows. I mean take a look here. They're all just here and you pick one. Now I don't want to actually have to pay for this. So you can actually do this for free. There's a lot of limitations so I'm gonna pick a free one. So for the Linus folks, there's plenty of those in here.
And what I'm gonna pick, just because I like Windows, is I'm gonna pick Microsoft Windows Server 2012 R2 Base. So it's just a real basic version of Windows Server. So I'm gonna select that. Now here I can actually start setting up some of the virtual hardware. Number of CPUs I want, how much memory, what type of storage I have. Notice that it's only the most basic one that's free. You see that free tier eligible. So I'm gonna stick to this because I want to use the free one. But if I wanted to spend some money, I could just click on one of these other ones.
Alright, now here is some of the details of how the infrastructure is gonna be set up. What you're having here is a network. You'll notice that it has an internal network ID of 172 31 00 and that's gonna be our internal IP addresses. There will also be a virtual router, a virtual switch. This will all be setup for us. The virtual router will have a public IP address that it can go ahead and use any way it wants. So here we can add storage and if you want it for free, you can get a 30 gigabyte.
It's really an SSD drive. Now this is an interesting little option here. It says Delete on termination. So basically if I shut it down, do I just wipe it out? And there are some situations where people would want that. I would uncheck that, but I believe that costs me money so I'm gonna leave it checked. The next one is tag instance. Keep in mind we're just setting up one little server here, but a lot of people use Amazon Web Servers and they have just hundreds of these virtual machines. So tag instance is just a way for them to identify their individual instances.
Next is security. Keep in mind that we've got a firewall that's given to us here. So we want to configure that firewall. Right now the way it's set up, and remember this is Windows, we're gonna configure and maintain this guy using Remote Desktop. So RDP is already setup from anywhere. Now if I wanted to, I could do something cool like this and say just to my IP. So this is actually for where I am right now. This is the IP address of where I'm at. So nobody's gonna be able to get to my server unless they're using RDP and they're doing it from my IP address here in the comfort of my house.
Now it's gonna be a web server so I want to add a rule here. In this case I'm just gonna add HTTP. So now it'll allow incoming HTTP from anywhere. So I think I like the way that looks. So I'm gonna review this and give it a launch. Now here's basically the are you sure screen. It says what you're setting up. It says how your security is set up, everything like that. What I'm gonna do here is let's just go ahead and click cancel because I've already got one of these running.
So let's instead go ahead and take a look at my existing running system. So here I'm just gonna click on Running Instances. And here's my up and running system. Now there's really not much to look at from this screen other than a few important things like for example here's my public IP address. I'm gonna copy that and you'll see why in just a minute. So this is my IP address. Here's it's internal IP address right here. And if you scroll down, there's a little bit more information.
But right now it's up and running. So if I want to actually administer this, I'm going to be running good ole remote desktop. So I was in there before so it remembered the address. So I'm gonna go ahead and hit connect. And it's gonna want a password. I got this password when I actually helped set all this up. We'll just hit okay.
And I am now in the Windows Server that I have just set up. So this thing's pretty much up and ready to cook. I even went so far earlier is I got IaaS running on here already. So all I really need to do at this point is let's go to a regular browser. Just open up a tab here. And if I've done this right...
I'm just gonna punch this password in. And I am on! Right now I am on the website that I just generated. Are you wrapping your mind around what just happened here? Infrastructure as a Service, in this case provided by Amazon Web Services, and AWS, they're probably one of the more popular ones, but they're certainly not the only provider out there, gave us the ability to create an infrastructure which included a web server running the operating system choice Windows, it set up a virtual switch.
It's got a virtual router set up in there that's doing NATS, we have internal IP addresses. It gave us a public IP address that we didn't have to beg from our ISP. There's a firewall pre-setup. We went in, did some configuration. And ta-da! We set up a website, a public website on the internet in what, not even four minutes. How long did it take? Did anybody time me? So you kind of need to wrap your mind around how incredibly powerful IaaS is.
It takes care of everything for us. For people who are developing websites for web applications, things like that, this is pretty much the go-to way of doing things. It's powerful. We don't have to worry about hard drives going down. We don't have to worry about our ISP going out. We don't have to worry about our router heating up at two in the morning. The entire infrastructure is provided to us at a surprising low price.
This Total Seminars course covers the exam certification topics. For information on additional study resources—including practice tests, lab simulations, books, and discounted exam vouchers—visit totalsem.com/linkedin. LinkedIn Learning members receive special pricing.
This course was created by Total Seminars. We are pleased to offer this training in our library.
We are a CompTIA Partner. As such, we are able to offer CompTIA exam vouchers at a 10% discount. For more information on how to obtain this discount, please download these PDF instructions.
- Implementing wireless security
- Threats to your wireless network
- Wi-Fi Protected Setup
- Installing a wireless network
- Cloud ownership and implementation
- Creating a virtual machine
- PaaS, SaaS, and IaaS
- Mobile networking
- Deploying mobile devices