Configuring an Azure Virtual Machine Walkthrough
Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or
Already have an account? Sign In »

Video Transcription
00:00
>> Hey everybody.
00:00
>> Welcome back.
00:00
>> In this lecture, we're going to be
00:00
walking through the process
00:00
that you would go through to set up
00:00
an Azure Virtual Machine.
00:00
As you can see, I'm logged into my Azure portal.
00:00
I'm going to navigate up here to the left-hand corner,
00:00
where I'm going to see this menu,
00:00
and under Favorites Services,
00:00
I'm going to open up Virtual Machines.
00:00
This right here is the dashboard that would display
00:00
any active or stopped virtual machines.
00:00
I say stopped because you can't start,
00:00
restart, and stop as you can see right here.
00:00
Theoretically, you could pause
00:00
the virtual machine running,
00:00
and you could see the various states,
00:00
the subscriptions the resource groups, their locations,
00:00
and their status is where you would
00:00
see whether it's stopped,
00:00
restarted, or stopped.
00:00
The operating system sizing and everything else,
00:00
all of those valuable information
00:00
that you would want to see
00:00
regarding all the VMs that you might have in
00:00
your directory at a higher level.
00:00
Since we don't have anything to display right now,
00:00
we're going to go ahead and add right here.
00:00
We're going to press "Add" and then add virtual machine.
00:00
Right here is where we would go through
00:00
the process of configuring
00:00
the virtual machine the way that we want.
00:00
First things first, for project details,
00:00
we want to make sure that we are
00:00
selecting the appropriate subscription.
00:00
I have two subscriptions.
00:00
The test sub was something that I
00:00
created early on when we were first
00:00
walking through the course and running through some
00:00
of the Azure Overview services.
00:00
But for the sake of this lesson,
00:00
we're just going to do Azure Subscription 1.
00:00
If you're following along in your own environment,
00:00
you can pick whichever subscription you would like.
00:00
You can create a new one, that's okay.
00:00
For resource group, I'm going to keep it and
00:00
myResourceGroup2 just because that's what
00:00
I've been using throughout most of
00:00
the videos in this course.
00:00
Then for the name, I'm going to create
00:00
a name and it's going to be myvirtualmachine1.
00:00
The checkmark indicates that we're okay,
00:00
so we're going to go ahead and move forward.
00:00
I like US East because I'm located here,
00:00
so I'll be able to access it quickly,
00:00
so I'm going to keep it there.
00:00
But if you want to change your region,
00:00
you have several options here.
00:00
They're again reflecting back
00:00
to an earlier conversation where we talked
00:00
about the regions and
00:00
the overall global infrastructure of Azure.
00:00
You have a lot of options and these are
00:00
the various locations where
00:00
you could spin up a virtual machine.
00:00
For images, just like with any type of virtual instance,
00:00
you're going to have different images,
00:00
which are basically just the operating system
00:00
that you're going to be installing
00:00
on the virtual machine.
00:00
Here are our basic options.
00:00
These are some of the popular ones that we have.
00:00
We have several Linux distros that we could use.
00:00
We have Oracle, or Oracle Linux actually,
00:00
and then we have lots of
00:00
Windows instances that we can deploy.
00:00
Now if you need additional,
00:00
I'm going to open this up real quick,
00:00
you have the marketplace.
00:00
Real quick, I want to
00:00
note here that if you're going to be selecting
00:00
a more proprietary operating system or maybe
00:00
just not something that you would typically install
00:00
that's Linux or Windows-based,
00:00
you may incur a little charge.
00:00
Notice here for LAMP certified Bitnami, this is free.
00:00
It starts at a frieze here.
00:00
But if we move over to say Selenium driver,
00:00
we're going to have a cost per hour.
00:00
If we move over to Cloud Management stack by SAP,
00:00
the cost per hour is a little different.
00:00
Depending on what you're selecting as you change,
00:00
your cost per hour will change here.
00:00
I do want to quickly note
00:00
the CIS Microsoft Windows Server 2016,
00:00
that's actually something that is typically used by
00:00
Cloud security engineers because we
00:00
want a hardened virtual machine.
00:00
CIS did a great job.
00:00
They're the de facto standard
00:00
for assessing virtual machines and coming
00:00
up with the guidelines on how
00:00
to harden virtual machines and servers in general.
00:00
But for those that are in
00:00
a hurry that don't want to go through the process
00:00
of discontinuing services that
00:00
are running in a VM environment,
00:00
you can actually just rent
00:00
the instance that they provide.
00:00
They do have images here.
00:00
They do charge two cents per hour,
00:00
which doesn't seem like a lot, but it does add up.
00:00
This is just their licensing cost,
00:00
so you will be paying for
00:00
the resources that you end up installing this on.
00:00
We'll go over this in a minute here,
00:00
but there's different types of
00:00
virtual machines that you can install.
00:00
Each one costs a little bit different.
00:00
It can cost less or more
00:00
depending on what you're getting in your resources.
00:00
This price is per hour for the license
00:00
of the CIS of Windows Server 2016,
00:00
but then you're going to add that on top of
00:00
the actual virtual machine itself.
00:00
Anyways, just wanted to
00:00
highlight that really quick. I'm going to go back.
00:00
Continuing on, let's go ahead and add myvirtualmachine1.
00:00
For the sake of this, we're going to keep this as
00:00
a Windows Server 2019 Datacenter Gen 1.
00:00
We'll keep this size.
00:00
Remember I was talking about
00:00
the different types of VM sizes you have.
00:00
This is one size.
00:00
Obviously, quite a hefty cost,
00:00
especially if you're not a corporation.
00:00
If you're just an individual like myself,
00:00
$137 a month for a VM,
00:00
I better have a good reason
00:00
for spending that kind of money.
00:00
But we're just doing it for example's sake.
00:00
If I wanted to see all of the different types
00:00
of sizes available here,
00:00
here are our options.
00:00
We do have these various tiers
00:00
or series and they each mean a different thing.
00:00
We have latest generation of D family sizes,
00:00
we have some for performance boosts
00:00
for processing workloads.
00:00
This is good for science processing
00:00
or crunching large amounts of numbers.
00:00
High-performance compute VMs.
00:00
We have some that deal with graphic
00:00
intensive and visualization workloads,
00:00
so good for those that might be meeting
00:00
some high intense 3D rendering or something like that.
00:00
They want to use cloud computing, you can do that.
00:00
You have a lot of options here and we'll be
00:00
talking more about as we move along in this course.
00:00
But this is where you would go to select
00:00
the VM size that you want to deploy.
00:00
They give you specifics, so they tell
00:00
you how many vCPUs,
00:00
your RAM, your data disks, and so forth.
00:00
Let's go ahead and drop back.
00:00
We're going to have to do this one more time here.
00:00
We're going to select myResourceGroup2,
00:00
myvirtualmachine1.
00:00
I'm going to be doing a Gen 1 datacenter. This is fine.
00:00
We're going to keep it as standard.
00:00
I'm going to set a username and password here.
00:00
So we're going to go ahead and type this out.
00:00
They do want you to have
00:00
12 characters because the 12 characters or more,
00:00
I believe, which is a big password.
00:00
Then we get to setup inbound ports.
00:00
We have several options.
00:00
Because this is a Windows environment,
00:00
we can't set up RDP.
00:00
If you're setting up a Linux,
00:00
it doesn't give you that option,
00:00
you'll just get HTTPS and the SSH.
00:00
We're going to do this HTTP and RDP,
00:00
and we can save up with
00:00
licensing costs if we already have
00:00
our own licensed by using the hybrid benefit.
00:00
I don't have that. That's okay though,
00:00
I'm not really going to worry about it,
00:00
and then we're going to go ahead and
00:00
hit "Review" and "Create."
00:00
Here's going to go ahead and run
00:00
through the final validation process.
00:00
This might take a few seconds here to
00:00
get this all set up before we hit that "Create" button.
00:00
It looks like the validation did
00:00
indeed pass, so we're okay.
00:00
We're going to go ahead and just review our details
00:00
here making sure that we got
00:00
the right subscription and resource group,
00:00
everything looks good,
00:00
and I'm going to go ahead and hit "Create".
00:00
This is going to take a little while to deploy,
00:00
but when it is live,
00:00
I'll go ahead and
00:00
pause this video and then get back here.
00:00
Again, if you have the time,
00:00
go ahead and go grab a cup of coffee,
00:00
go get yourself a drink, stretch your legs.
00:00
When this is live and deployed,
00:00
we'll continue back with this video.
00:00
As you can see here, the deployment has been completed.
00:00
Let's go ahead and navigate over to
00:00
the resource that was created here.
00:00
Here we are. Here's the details on our resource,
00:00
our virtual machine that we just created.
00:00
It tells us here subscription ID,
00:00
the subscription that we created this resource in.
00:00
We have a status so we know that it's running.
00:00
Here are the details.
00:00
This is a Windows Server 2019 Datacenter.
00:00
It's a D2SV3,
00:00
so we have some specifics there on the size,
00:00
the vCPUs, the gigabytes,
00:00
assigns at the disks, and what have you.
00:00
Here's our public IP and
00:00
private IP address information
00:00
in case we need to access that.
00:00
If we want to connect to it,
00:00
you're able to do so right here.
00:00
You can connect to it using RDP,
00:00
which we did open that port for it.
00:00
You could use SSH if we had opened that but we did not,
00:00
and Bastian is another option.
00:00
If you wanted to go ahead and connect to it,
00:00
here's your way of doing so.
00:00
You can download this RDP file information,
00:00
which I'm not going to do because it's
00:00
outside of the scope of this lesson.
00:00
But if you were to go ahead
00:00
and try to remote into this instance,
00:00
this would be the way to go about doing that.
00:00
That wraps up this lecture right here,
00:00
which just to summarize really briefly,
00:00
we wanted to walk through
00:00
the process of creating a virtual machine,
00:00
seeing what that looked like and
00:00
the different configurations that
00:00
you can put in place when you're building that out,
00:00
and then ultimately how you can go about finding
00:00
more information about the VM you just
00:00
set up where it sets,
00:00
how it interacts with other things
00:00
in the network and so forth.
00:00
Hope this was helpful,
00:00
and a little bit here you're going to
00:00
actually be walking through a lab
00:00
hands-on where you're going to be able to stand up
00:00
your own VM and learn by actually doing here.
00:00
If you have any questions, feel
00:00
free to reach out to me and if not,
00:00
I'll see you guys in the next lesson.
Up Next
Azure Infrastructure Solutions Lab
1h 45m
Manage Azure Resource Deployment by Using an Azure Resource Manager Template Lab
45m
Automate Deployment of Azure Virtual Machines Lab
1h
Similar Content