Virtualization has been around with us now for a while but it continues to amaze me in the way that
it affects the entire I.T. 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 as a lot of different ways.
But the first one I want to talk about is something called infrastructure as a service or I A-S infrastructure
as a service simply means that somebody far away will set us up a virtual infrastructure to do Brazilian's
of things that would normally cost us a lot of money as we brought in servers instead of virtualization
and did all the maintenance that had people who knew how to work at is it's craziness.
There are people out there who will in essence read you an entire infrastructure as a service.
Let's take a look at that.
Probably the best place to get started with infrastructure's this service is a famous Amazon Web Services
So if you take a look here on my screen you see it says AWOS Scott Amazon.com com.
Now if you go ahead and click in there now I've already created an account.
We can set up an infrastructure as a service so I'm going to go to my AWOS management console and this
my friends is most people's first exposure to I am 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 where we're going to be doing here is we're going to just set up a little web server.
Now keep in mind what I'm say setting up a web server we're going to make a virtualise web server.
We're going to get it up and running and we're going to get it on the internet with a real public IP
address and it's going to be firewalled and everything OK.
So this isn't just one virtualise box.
This is a complete infrastructure.
Let's get started.
Now just because I know how to do it here we go to easy to and easy to 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 in cookand So what I want to do here is we're going to go through
the process.
I've already done this.
We're going to do it again of actually setting up a web server from scratch so here we go.
So first of all you click on this but right here it says launch an instance an instance is a virtual
machine as far as Amazon is concerned so we'll launch it instance.
Now take a look at all of these different types of operating systems we can install and see if you want
install Linux if you want install windows I mean take a look here they're all just here and you pick
one now.
I don't want to have to actually pay for this.
So you can actually do this for free.
There's a lot of limitations.
So I'm going to pick a free one.
So for the Linux folks there's plenty of those in here.
And what I'm going to pick just be cause I like Windows as I'm going to pick Microsoft Windows Server
2012 are today so it's just a real basic version of Windows server so I'm going to select that now.
Here I can actually start setting up some of the virtual hardware I can number of CDs I want how much
memory what type of storage I have noticed that it's only the most basic one that's free.
You see that free tier eligible.
So I'm going to 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.
All right now here is some of the details of how the infrastructure is going to be set up.
What you're having here is a network.
You'll notice that it has an internal net work ID of 172 31 0 0 and that's going to be our internal
IP addresses.
There will also be a virtual router virtual switches will all be set up for us.
The virtual router will have a public IP address that it can go ahead and use any way at once.
So here we can add storage and if you want it for free you get a 30 gigabyte.
It's really an SSD drive.
Now this is an interesting little option here it says delete on terminations.
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 going to 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 observes and
they have just hundreds of these virtual machines.
So this 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 going to configure and maintain this
guy using remote desktop so RTP is already set up 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 is going to be able to get to my server unless they're using RTP and they're doing it from
my IP address here in the comfort of my house.
Now it's going to be a web server so I want to add a rule here.
In this case I'm just going to add a TDP.
So now it all out incoming DDP from anywhere.
So I think I like the way that looks.
So I'm going to review this and give it a launch.
Now here's basically the.
Are you sure screen shows what you're setting up.
It says how your security set up.
Everything like that.
What I'm going to 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 take a look at my existing running system so here I'm just going to click
on running instances and here's my.
Up and running system.
Now there's really not much to look at from the screen other than a few important things like for example
here's my public IP address.
I'm going to cut.
I'm going to copy that and you'll see why in just a minute.
So this is my IP address.
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 old remote desktop.
So I was in there before so it remembered the address.
I'm going to go ahead and hit connect and it's going to want a password.
I got this password when I actually helped set all this up.
Well just hit OK.
And I am now in the Windows server that I had just set up.
So this thing's pretty much up and ready to cook.
I even went so far earlier
is I got I guess 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 the tab here and if I've done this right.
I'm just going to punch his password in and I am on right now I am on the website that I just generated
are you wrap your mind around what just happened here.
Infrastructure as a service.
In this case provided by Amazon Web Services and they W-S they're probably one of the most 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 that.
So we have an 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-set up.
We went in did some configuration and Teta we set up a Web site a public Web site on the Internet and
what not even four minutes how long did it take.
By the time me.
So you need to wrap your mind around how incredibly powerful I am is it takes care of everything for
us for people who are developing web sites 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 worry about our router heating up at 2:00 in the morning.
The entire infrastructure is provided to us at a surprisingly low price down
in
an.