Introduction
In this video, we will introduce the topics that we will be discussing throughout the rest of our time together.
What is Virtualization?
In this video, we will introduce the concept of virtualization and explore how virtualization changes the paradigm of deploying services and hardware.
Knowledge Check
What do we call the server that runs the virtual machines when virtualization is implemented?
- AHypervisor
- BGuest
- CVirtual Machine
- DAggregator
Verify your team's readiness — Request a Demo to verify practice assessments, completion reporting, and CSV / SCORM exports on the Team plan.
Identifying the Benefits of Virtualization
In this video, we will take a look at some of the main benefits of running virtual machines in a datacenter environment.
Knowledge Check
Which of the following are benefits of virtualizing resources? (Choose three)
- AMore flexible workload deployments
- BEasier to scale infrastructure
- CReduced expenditures (CapEx/OpEx)
- DLess resource consumption on physical servers
- EIncreased physical footprint
Verify your team's readiness — Request a Demo to verify practice assessments, completion reporting, and CSV / SCORM exports on the Team plan.
Preparing Your Computer for Virtualization
In this video, we will explore the most beginner-friendly form of virtualization: running virtual machines on your local computer.
NOTE: With the acquisition of VMware by Broadcom, VMware Workstation Pro is now free for personal use. Follow this Broadcom article for updated instructions on downloading the hypervisor software from the Broadcom support portal.
Knowledge Check
In order to verify that the virtualization feature is enabled on your CPU, which line in Task Manager should you look at?
- AVirtualization
- BLogical Processors
- CBase Speed
- DAMD-V
Verify your team's readiness — Request a Demo to verify practice assessments, completion reporting, and CSV / SCORM exports on the Team plan.
Creating a Virtual Machine in Workstation Player
In this video, we will walk through the process of creating a virtual machine running Windows 11 inside of VMware's Workstation Player desktop hypervisor.
Knowledge Check
Place the following actions in order based on the sequence that we took in the video to create a Windows 11 virtual machine, starting at the top with "Launch VMware Workstation Player".
This interactive assessment is available in the full learning experience.
Verify your team's readiness — Request a Demo to verify practice assessments, completion reporting, and CSV / SCORM exports on the Team plan.
Installing the Operating System
In this video, we will install Windows 11 on the virtual machine that we created inside of Workstation Player and verify that the virtual machine is fully functional.
Knowledge Check
What did we install after the operating system was configured to provide guest integrations with the hypervisor software?
- AVMware Tools
- BVMware Guest Integrations
- CVMware Toolpack
- DVMware Extensions
Verify your team's readiness — Request a Demo to verify practice assessments, completion reporting, and CSV / SCORM exports on the Team plan.
View Transcript
Introduction
0:00Hey there everyone, what's up and welcome. I hope your day is going awesome. If
0:05you haven't met
0:05before, I'm Kelvin Tran and I remember when I was first learning virtualization
0:11. This must have been
0:12back in 2012 or somewhere near that. So a number of years back and I fired up
0:18my copy of Orco Virtual
0:21Box for no other reason than hey it was free. I went through the whole rigmar
0:27ole of creating a
0:28virtual machine. I set the virtual machine to use. It must have been Windows 7
0:34at the time I believe
0:35and I went through customizing the hardware for that virtual machine and I
0:41clicked finish
0:42and start and it just sat there on what I now know was the network boot screen
0:49because I didn't
0:50have an operating system because I clicked Windows 7 and thought hey that's
0:54just going to install
0:55Windows 7 for me. What's nice so file? No one ever said that I was a
0:59particularly smart 8 year old
1:01but then I got to thinking right now that if I had had some soup to dessert
1:07start to finish
1:09Zero to Hero guy on using virtualization and starting up virtual machines that
1:15could have been a
1:16heck of a lot easier of an experience and hey it's 2023. It's never been easier
1:23to start with
1:23virtualization. So that's what this series is going to be. Something that I
1:29could have used then
1:30and something that you can use now if you are just getting started with virtual
1:35ization and you
1:36haven't been exposed to it before. Now you might well have your eyes set on
1:41some more advanced goal
1:43like working with VMware vSphere or working with VMware NSX or some other kind
1:50of virtualization
1:51product out of the millions of applications there are for virtualization but
1:56the hum will be getting
1:58for all of that is going to be the virtual machine. So we're going to go ahead
2:03and kick this series
2:04off by talking about what virtualization is in general talking about some of
2:10the benefits that
2:11we get from using virtualization and then we're going to go ahead and take a
2:16look at deploying a
2:18Windows 11 based virtual machine on your own computer that way you can get
2:23started with virtualization
2:25get some practice with it get comfortable with the concept and then you can
2:29move on to some of your
2:31loftier virtualization goals. So I'll catch you in the next video where we talk
2:35about what virtualization
2:37really is. Let's go.
What is Virtualization?
0:00So if you've been in the IT industry for really any amount of time nowadays,
0:05there is a solid chance that you've heard of Katerm virtual machines and
0:11virtualization and maybe it was a co-worker saying, "Oh, I have to deploy a
0:17virtual machine today."
0:19Or, "God forbid, you get a priority one ticket that says, "Oh, no, everything's
0:24down because the virtual machines are down."
0:26And if you've ever asked, "Well, what's a virtual machine and why are they such
0:31a big deal?"
0:32You probably got the classic answer for what virtual machines are, which is,
0:38"Oh, it's just a computer inside of a computer."
0:41And then you have to go through the mental gymnastics of trying to figure out,
0:46"Wait, do I take off the side panel of one and then put one computer inside of
0:51the other?"
0:51Like, "How does that work?"
0:53And so in this video, because I actually think that the computer inside of a
0:59computer definition is a good start,
1:01because it gives you a nice mental image for sort of what we're doing with
1:05virtualization.
1:06But I think that we can do better.
1:08And so I want to go ahead and show you what virtualization really is, and more
1:13importantly,
1:13why the heck we care anyway? Let's go.
1:16So as we begin to talk about virtualization,
1:20I actually don't want us to think about technology right now.
1:23I want us to think about running a small business.
1:26So let's pretend that we're owners of a small store selling.
1:29You know what? I'll leave that part to your imagination, actually.
1:33But whatever it is that we're selling,
1:35we're going to have a lot of responsibilities inside of that store to help keep
1:39it running.
1:39So let's go ahead and just for simplicity for this example,
1:43let's condense it down to two main responsibilities.
1:47So the first one, let's go ahead and write this down here,
1:50is going to be customer service.
1:52So greeting customers, processing transactions,
1:57basically someone akin to a cashier.
1:59And then the second main responsibility here is going to be to restock the
2:05shelves,
2:06because let's say that we are just that popular of a store,
2:10items are just flying off the shelves,
2:13we need someone on the floor to make sure that every shelf stays populated.
2:19So how do we make sure that we have enough people on the store
2:24to handle these responsibilities right here?
2:26Well, there's a couple of options that we could take.
2:29The first option, the most logically intuitive probably,
2:33is going to be we've got two responsibilities here.
2:36So let's go ahead and hire two people, one free responsibility.
2:40So let's say that employee number one right here,
2:45this is a cashier, and then we're going to hire a second employee
2:50to be a stocker to keep the shelves populated.
2:54So on the surface, this seems like it would be a great system.
2:59You've got a dedicated cashier that's processing transactions
3:03and making sure that customers know where to go,
3:06and then you have a stocker that's roaming the floors,
3:09making sure that none of the shelves are empty.
3:12What's the problem?
3:13Well, in a larger store, you might actually see a division like this,
3:18where you have dedicated people for each of these roles.
3:21But what if you're not a bigger store?
3:24What if you're just a really small store,
3:27and it happens to be a really slow day?
3:30Well, what happens with the cashier?
3:32Well, if they have no one to process a transaction for,
3:35well, what happens when you just go out their phone
3:38and start scrolling and mind you, as a small business owner,
3:41you're paying them for that time.
3:43They just have nothing to do.
3:44And if it is a really slow day, and you have a stocker there
3:49who's roaming the floors, well, no one's buying any of these items,
3:52the shelves aren't going to be empty.
3:55You're also paying a second person here to not really do anything.
3:59Okay, well, you might argue then that, yeah, when it's slow,
4:04they're not going to be doing anything.
4:06But once the store starts picking up, once it gets busy,
4:10they're surely going to be pulling their own weight, right?
4:13Well, maybe.
4:14But here's the thing with something like a small store.
4:17Let's take a look.
4:17If we graph out the time against the number of customers
4:22that are in the store, they're not going to be busy all the time.
4:25That graph for an average small store is going to look,
4:29maybe something like this, right?
4:32Where you have these periods right here,
4:35of a lot of customers, a very, very busy time.
4:38And then you have these periods down here,
4:42where you don't have any customers at all.
4:45And during those periods down here,
4:48where you don't have a lot of customers,
4:51what if we could just have the cashier here,
4:54step away from the area of the cash register,
4:58and just restock the shelves themselves?
5:01In other words, what if we don't have someone
5:05who's only job is to stop the shelves,
5:08and instead just have this one cashier right here
5:12do both of those responsibilities?
5:15And as the owner of the store, you're probably like,
5:18"Actually, yeah, that makes a ton of sense."
5:22Assuming that it's not too burdensome on this one cashier
5:26to do both of these responsibilities at any given point in time,
5:30that means that you can save on staffing the second person,
5:35which means that you don't have to pay their salary,
5:38which means that you don't have to handle benefits
5:41and insurance and any of that,
5:43because the one thing that no small business owner
5:46has ever said is, "Hmm, you know what I wanna do today?
5:50"I wanna hire someone and staff them and pay their salary
5:54"just to get no real benefit out of it."
5:56So the key idea that I want you to keep in mind here
6:00is that instead of looking at this cashier
6:04as you're just a cashier,
6:06and the only thing that you can do is be a cashier,
6:10we look at this person instead as,
6:12"Hey, you're a staff member who works for the store."
6:16So as well as being a cashier,
6:19if you have room to fit some other responsibilities
6:22into your schedule, well, you're a person
6:25who works for the store and you're perfectly capable
6:28of, in this case, the second responsibility right here.
6:32So, simplified example out of the way,
6:35let's go ahead and take flat logic
6:38and move it into computing.
6:40So here's an example of a server rack right here.
6:44If you've ever had the privilege of being in a data center,
6:47you've probably walked down long rows of these
6:51that go on four days, and in these server racks,
6:55we might have networking equipment,
6:57we might have servers obviously,
6:59and we might have some storage equipment as well.
7:02So, a long, long time ago before I was even alive,
7:06the way that servers were typically deployed in data centers,
7:10it goes something like this.
7:12So, let's say that we had a physical 2U server
7:16right here in green, and this guy is serving
7:20as our domain controller.
7:21And then, let's go ahead and add in another server.
7:24Let's say this one, this one is a big boy
7:27for you if I can count correctly,
7:29that's for for you right here.
7:31And this guy is our file server.
7:34Let's go ahead and add some more servers.
7:37So, let's go ahead and add one more right here
7:40that is going to be a web server.
7:43And just for fun, let's go ahead and add in one more server.
7:47So, I'm gonna go over here now
7:49because I'm running out of space over there.
7:51So, let's go ahead and add another server.
7:55And we'll call this an email server
7:58because this is the 1990s,
8:00and we're still running email servers
8:01on-prem and Zav in the cloud.
8:03So, less again, is a system that seems
8:07like it would work just fine.
8:09But you remember in our previous example there,
8:12the problem came up when we were looking at a person
8:16and saying your role and your primary responsibility
8:20is less, therefore, the only thing
8:22that we're gonna task you to do is this.
8:25That was the problem over there.
8:27Over here, we have the exact same problem,
8:30except now it's servers.
8:32We're looking at a server and saying,
8:34this is your responsibility.
8:36You are a domain controller or you are an email server.
8:39And the only thing that you can do is serve email.
8:43Well, what if there's just not that much email
8:46to send right now?
8:47Actually, better yet, what if we had this web server right here
8:52and we had the graph from the last example
8:55where there were some times where there were a lot of people
9:00trying to get into a store, or in this case,
9:03visit the website, and then other times,
9:05it's not quite so busy.
9:07Well, during that up period of time with a lot of people,
9:12you have that web server utilizing maybe close
9:15to all of its hardware resources.
9:18And then during the other times where it's not that busy,
9:21well, you have that hardware that you paid for,
9:24that you paid thousands of dollars for sitting right there,
9:28not doing anything at all, just being a web server.
9:32So the way that we're gonna solve this problem right here
9:36in terms of the inefficiency is pretty much the exact same way
9:41that we solved the last problem that we had.
9:45But one catch, maybe we don't want a single operating system
9:50running, hmm, let's see, our domain controller,
9:54our email server, our file server, our web server.
9:58Well, what if the web server runs on Linux
10:01and the domain controller, because we're using Microsoft's
10:04Active Directory, we have to run it on a Windows server.
10:08What do we do there?
10:09How do we boot two separate operating systems
10:12at the exact same time?
10:14So what we're gonna wanna do here is firstly,
10:18scratch this out because it's no good.
10:21We don't wanna do things this way.
10:23What we can do instead is right here,
10:26we're gonna add a big server.
10:29This is going to be a server with a lot of CPU,
10:33a lot of memory, a lot of storage.
10:36And we're gonna make the server right here
10:39something called a hypervisor.
10:42You can also call it a host if you want.
10:45And if we just blow up our host right here,
10:48make it really big.
10:50What we can do is basically split this hosts
10:54or hypervisor's resources up between
10:58these four servers that we had.
11:01So what did we have?
11:02We had our domain controller right there.
11:06Let's go ahead and switch my colors.
11:07We had our file server, we had our web server.
11:12So whoops, www.
11:16And then we had our email server as well.
11:19And here's the cool part.
11:22These virtual servers right here
11:25are these virtual machines from the host's perspective.
11:30These VMs as we call them are just running basically
11:34as applications.
11:35If you're on your own personal computer
11:38and you open up your web browser, for example,
11:40it's gonna take up a certain amount of CPU,
11:43a certain amount of RAM, depending on what web browser,
11:46it's gonna be more RAM than some other browsers, wink wink.
11:49And these virtual machines right here
11:52will take up a certain amount of RAM,
11:54a certain amount of CPU, a certain amount of storage.
11:58But because they are separated within the host,
12:03we can run separate operating systems
12:05and separate applications and keep separate environments.
12:09So going back to our earlier point,
12:11that the main controller can run the Windows server,
12:14the file and the web and the email server,
12:17they can all run Linux and their own sets
12:20of applications and settings.
12:22But physically, we just have the one server right here.
12:27We don't have these separated physical servers.
12:30We're just running different applications,
12:33different virtual machines within this one
12:37physical hypervisor host.
12:39This is awesome.
12:41That's been a big picture look
12:43at why we would really want to use
12:46a virtualization in the first place.
12:49Throughout this entire video,
12:51throughout this entire series,
12:53and honestly, throughout your entire virtualization journey,
12:57it will always come down to one key word, efficiency.
13:02So with that in mind, in the next video,
13:06we're gonna go ahead and take a look
13:08at some of the benefits that we can net using virtualization.
13:13So I'll catch you over there for that.
13:15In the meantime, I hope this is informative for you,
13:17and I'd like to thank you for viewing.
Identifying the Benefits of Virtualization
0:00So in the previous video, we took a look at how virtualization
0:05actually works and the core idea that we're working with when we deploy virtual
0:11ization being, hey,
0:13we've got some hardware here. Instead of saying we can only use this hardware
0:18for one purpose,
0:19let's let our hardware
0:21multitask for us and fulfill multiple responsibilities in our environment.
0:27And so in this video, what I want to do is pick up where we left off there and
0:32take a look at the benefits of
0:34using virtualization. Let's go.
0:36So I've cleaned up the board a little bit here and I just want to take some
0:41time real quick to
0:42take a look at some of the benefits of doing things this way because there are
0:48a lot of benefits,
0:49but there's a few big ones. So the first main benefit is going to be reduced
0:56cost.
0:56So reduced TCL, TCL is an acronym that stands for total cost of ownership.
1:02And specifically, it's going to help us reduce both our CapEx and our OpEx.
1:10So how does it help us to reduce CapEx? Well, if you think about the fact that
1:16without virtualization,
1:18we'd have to buy four physical servers and with virtualization,
1:22we just have to buy one using the example that we did previously.
1:26Well, it's generally going to be cheaper. And by generally, I mean pretty much
1:31always going to be cheaper to buy one
1:34beefier server than it is going to be to buy four individual less high powered
1:41servers.
1:42Now that's going to be assuming that that one beefy server we buy is roughly
1:49equivalent in horsepower
1:51and resources to the four individual servers.
1:54But the point still stands that generally speaking, when you buy less servers,
1:59you spend less money.
2:01Now, in terms of CapEx, we also get other benefits as well because we have less
2:07servers.
2:07Well, that means that we don't have as much physical footprint.
2:11That means that we don't need as many racks, which reduces our cost there.
2:15And with less racks, that means that the building that contains those racks,
2:21your data center,
2:22doesn't have to be so big that reduces your cost of the building.
2:26I could go on and on, but compared to OpEx, the savings in CapEx are pretty
2:33obvious.
2:33The savings in OpEx are not so obvious.
2:36How would you save on your operational expenditures?
2:40Well, here's an example. Let's say that you don't have your own data center
2:46premises.
2:47What you're doing as a company is going out to a co-location provider.
2:53So this is a company that has built up a data center and they're basically
2:57leasing it out,
2:58like an apartment, but for servers.
3:00Well, generally in a co-location provider's facility, you're paying by rack
3:07unit.
3:07So the more rack units you take up in that co-location provider's racks,
3:13the more servers you have, the more you're going to pay that co-location
3:17provider.
3:18Ah, but we reduced our physical footprint by going with a virtualization
3:24approach.
3:25So less servers, less rack units, less cost going to that co-location provider.
3:31The other thing that you could save big on here is licensing.
3:37So we're going to talk more about how VMware handles licensing in a later video
3:43in this series.
3:44But even though you do have licensing for the actual hypervisor software
3:51that you're using to run those virtual machines,
3:54you have other licensing savings that come along the way.
3:58Let me give you a quick example.
4:00And I know that this is a VMware series, but Microsoft has a really easy
4:04example to reach to here.
4:06When you use a Windows server as a hypervisor, the feature is called HyperV.
4:11And you're using a Windows Server Data Center Edition server to run your VMs.
4:17Let's say you have a bunch of Windows Server virtual machines.
4:22There is a feature.
4:23It's called automatic virtual machine activation AVMA,
4:27where you can use your one Windows Server Data Center license for your hyper
4:33visor
4:34to activate and to license all of your Windows Server virtual machines.
4:38So whereas Microsoft would have you buy a license for every single server
4:45without virtualization with virtualization,
4:49you just have to buy that one license key for your Windows Server hypervisor
4:53and it'll license all of those virtual machines.
4:56And with the way that Microsoft handles licensing,
5:00trust me, that is a giant savings.
5:03Both in money and headaches.
5:05So that's one.
5:06What's another one?
5:08Well, you got the flexibility of virtualization as well.
5:12And while I'm at it, I'm actually going to go ahead and add scalability to this
5:17one as well
5:18because I can go ahead and knock these two points out in one.
5:21So how does this make our data center more flexible?
5:25Well, we can really just think of the hypervisor as a pool of resources
5:32because the job of the hypervisor is just to run our virtual machines
5:37that are serving as the actual web servers or email servers.
5:42We don't have to say this physical server is dedicated for any one of those
5:47specific jobs.
5:49We can say that this physical server exists to provide a giant pool,
5:54a giant bucket of CPU power, a giant bucket of RAM, a giant bucket of storage.
6:01And here's the key.
6:03We can take out of those buckets as we want.
6:06So we need a new web server.
6:08Yeah.
6:09Okay.
6:09That's fine.
6:10Pull some CPU out of the bucket, pull some RAM out of the bucket.
6:13That's cool.
6:14And the scalability piece of the puzzle comes into play when let's say we have
6:20a web server
6:21that has a lot of demand and we did not give that web server enough resources.
6:27Well, let's see.
6:28Let's look in the bucket for the CPU power.
6:31Yep.
6:31We've got some more CPU power left.
6:34Let's look in the bucket for RAM.
6:36Okay.
6:36We've got some RAM left.
6:38Let's pull some more CPU.
6:39Let's pull some more RAM and let's give that to a web server so that it can use
6:44it to provide that service
6:47and meet this new increase level of demand.
6:51And this concept is actually called elasticity.
6:55It comes into play when we talk about the cloud a lot, but with virtualization
7:01because we are doing a lot of the same things where we have a hypervisor.
7:05It's just a giant pool of resources.
7:07Once again, we can have a lot of the same conversations about elasticity as we
7:13would in the cloud.
7:14So if you take nothing else away from this video, the big thing to remember is
7:20that with virtualization, instead of dedicating physical
7:25resources, a whole physical server to run a particular service or to do a
7:30particular job.
7:32Now we've got physical equipment that we are turning into pools or buckets of
7:38resources and then provisioning these virtual machines, these virtual servers
7:44that we can pull resources from out of those buckets as we want.
7:48Now in the next video, we're going to go ahead and take a look at how you can
7:53actually start getting your feet wet in the world of virtualization and start
7:58practicing.
7:59Because the big thing that you might be saying to me right now is Kelvin, I don
8:06't live sleep in the data center.
8:08I don't know if you've noticed that or not.
8:11How am I supposed to practice when you need apparently all of this expensive
8:16data center gear?
8:18Well, you actually don't.
8:19In fact, if you're watching this on a computer, on a desktop or a laptop, you
8:24can start practicing virtualization right now.
8:28And we're going to take a look at how to do that in the next video.
8:31So I'll catch you over there.
8:32In the meantime, I'll listen to the forum for you and I'd like to thank you for
8:36viewing.
Preparing Your Computer for Virtualization
0:00So if your goal is to work with things like VMware's vSphere or ESXi product
0:07for data center virtualization eventually,
0:09one of the best ways that you can start practicing right now today is by
0:16running virtual machines on your local computer,
0:19getting it sent from scratch, creating a virtual machine, getting it all
0:23working,
0:24that is a very, very good source of practice to get comfortable with virtual
0:30ization.
0:30And fortunately for us, that's exactly what we're going to be doing.
0:34We're going to go ahead and in this video, take a look at a product from VMware
0:40called VMware Workstation.
0:42And that's what we call a desktop hypervisor.
0:45It's going to let us run virtual machines on our very own desktop or laptop
0:50computer.
0:51The one that you might very well be watching this video on right now.
0:56Let's go.
0:56So I have a web browser open right here, but we're actually not going to start
1:01off on the web browser.
1:03And before I go on, I do want to say that right now, let's go ahead and pull up
1:08my Windows version.
1:10I am running Windows 11.
1:13So this is really going to be applicable for any modern version of Windows.
1:18If you're running a Mac or you're running some distribution of Linux,
1:23the key things that you're trying to verify here are going to be the same as
1:28what I'm looking at.
1:29But the specific way that you're going to be verifying those things will differ
1:34.
1:34So if you need some guidance as to where you can actually find what we're
1:39verifying here
1:40on your specific operating system platform, just go ahead and Google your
1:45platform and then documentation
1:48how to find and then fill in what we're specifically looking for.
1:52So with that out of the way, let's go ahead and open up Task Manager on this
1:57Windows system here.
1:59Now, if you're running Windows as well, there's a couple of ways you can do
2:03this.
2:03You can either do a control of delete and then open Task Manager that way.
2:07Or you can do what I'm about to do, which is just to press Control, Shift,
2:12Escape on the keyboard
2:14and that will open up Task Manager.
2:16So it opened up on another monitor over here.
2:19So I'm just going to drag it right over here so you can see it.
2:22Let's go ahead and maximize this window right here.
2:26And for you, it might start up on processes.
2:30Just go ahead and click on the Performance tab right over here.
2:34If you do get on the Processes tab here, this is going to be where all of the
2:39information
2:40that we're looking for is going to be contained.
2:42So really, there are four things that we care about in this view here.
2:48There's potentially more, but we're just going to take a look at four key
2:52attributes
2:53of the system.
2:54So the first two have to do with your CPU.
2:58And the first one, we can take a look at a couple of places.
3:01So right here, you can see my core count and right down here, you can see some
3:06more information
3:08about the specifics of my processor.
3:11What we care about here is the quantity of our CPU resources.
3:18And what we really care about with our CPU resources is not necessarily this
3:25base speed
3:26here or this clock speed.
3:28So we do have to make sure that that's not too low for basic virtualization.
3:34But any reasonable processor made within the last 10 years or so should be fine
3:41for our
3:41purposes right now.
3:43But what we do care about are our cores right here and our logical processors.
3:50I will get to that distinction in a moment.
3:52So why do we care about those two specifications specifically, pun not intended
3:58?
3:58Well, the reason is because virtualization is what we call a highly parallel
4:03ized application.
4:05Wow, say that five times fast.
4:07And that is just a whole lot of technology mumbo jumbo to say that virtual
4:13ization benefits
4:15from having a lot of cores.
4:18Now how much is a lot do we need 16 cores like I have here?
4:23Is this not even enough?
4:24Well, the answer is we don't need a whole lot at all, not for what we're doing
4:29today.
4:30Now the more VMs that you have inevitably, the more CPU resources that you're
4:35going to
4:35need to use and the more cores you're going to benefit from.
4:39But for right now, because we're just running the one or maybe even a handful
4:44down the line
4:45if you want to keep practicing, but we're just running Windows 11 virtual
4:49machines here.
4:51We don't need a whole lot of CPU resources.
4:54Honestly, if you have at least a quad core, which a lot of systems made within
4:59the last
4:59few years are going to have, you are perfectly good to go here.
5:03But the thing that I do want to point out right here is that when we look at
5:09our cores,
5:10that's not actually what we care about here, our core count on this CPU right
5:15now is 16.
5:17Our logical processor count on the CPU however is 32.
5:22So it's list number right here that we actually care about for virtualization.
5:28Now you might be asking why are these two numbers different?
5:32Now on some lower NCPUs, they might not actually be different because those
5:38lower NCPUs, they
5:40don't have something called hyper threading.
5:42That's the name on the Intel side and then AMD calls it simultaneous multi
5:47threading or
5:48SMT.
5:49Basically, what that means is when we look at a CPU core, so the individual
5:55processing
5:56unit inside of your CPU inside of your processor, that core is going to be
6:03split up into two
6:05what we call threads.
6:07And those threads are actually what does the processing.
6:11Now when we look at it from the host's perspective, from our main computer, the
6:16main computer
6:17can tell the difference between full two thread cores and an individual thread.
6:24However, here's the big thing.
6:26When we talk about a virtual CPU, so that's a CPU core that we're giving to a
6:31virtual
6:32machine, that virtual machine thinks that the threads are cores.
6:38So when we go into VMware and we say, hey, this virtual machine gets four cores
6:43, what
6:44we're really saying is that it gets four threads.
6:48And in the context of this CPU right now, this is a higher NCPU, it's a Ryzen 9
6:53processor.
6:53So it has, in this case, simultaneous multi threading.
6:57That means that each core has two threads.
7:00So when I say that I'm giving a virtual machine four cores, I'm really just
7:05giving it two
7:07of these actual cores, but the virtual machine thinks it's four because again,
7:12it can't tell
7:13the difference between a thread and a core.
7:16So that's enough of that right there.
7:17Let me clear off our board a little bit here so we can talk about the second
7:22thing that
7:22we care about.
7:23And really, this is going to be just this one line right here.
7:28I don't want to draw a box around it because it's so small.
7:31I block off the text.
7:32This says virtualization.
7:34And in my case, it says enabled.
7:37So why is this important?
7:39Well, in a previous video, you might remember that I said that a virtual
7:43machine basically
7:45just runs as an application from a 10,000 foot view.
7:50Yes, that is true.
7:51From the host's perspective, it uses resources like any other application.
7:57But when you get down really close and look at the details of how the CPU
8:02actually treats
8:03virtualization, it's not necessarily the same as any other application like
8:09your web browser.
8:10For example, in fact, there are specific features that have to be enabled on
8:16your CPU in order
8:17for your CPU to support running virtual machines.
8:20Now the specific name of the feature is going to depend on your processor
8:26vendor.
8:27So on Intel, this is going to be called VT dash X and VTT.
8:35They do slightly different things, but they're complimentary features.
8:38So you should enable them together when you can.
8:41And then on AMD, this is just going to be something called AMD.
8:47So if you see the text enabled right here, as you do here, you're good to go.
8:53If you see this able, that means that you can't run virtual machines on this
8:58system.
8:59But that doesn't have to be a thing that goes on forever.
9:04In fact, if it says disabled right there, what that usually means if you have a
9:09reasonably
9:10modern CPU is not that it can't run virtual machines is that these features
9:16right here
9:18are disabled.
9:19So what you have to do, and this is a moment where you should Google
9:23motherboard, fill
9:24in your motherboard, how to enable virtualization.
9:28And what you usually have to do is boot into your BIOS or UEFI firmware
9:34interface and find
9:36options that say virtualization and those are going to be the options that let
9:41you enable
9:42these features right here.
9:44And then once you enable them and you reboot into windows, usually 99% of the
9:49time that
9:50clears this message right up.
9:51So that's it for the CPU tab here.
9:55Trust me, the memory and the storage is a lot more straightforward.
9:59So we go over to our RAM here, really the adage and virtualization is that the
10:05more RAM
10:06the better.
10:07But that's not to say that we can't have enough RAM for our purpose.
10:12So do you need 128 gigs like I have here?
10:16Absolutely not.
10:18In fact, if you have eight gigs of RAM, 16 gigs of RAM, that is perfectly
10:24sufficient to
10:25run a handful of virtual machines like we're going to want to do here.
10:29And then the last thing we want to go ahead and take a look at is our storage.
10:34Now I have a number of disks here.
10:36I'm just going to go ahead and take a look at my C drive just because that's
10:40where we're
10:40actually going to go ahead and store the virtual machine in this example.
10:44And really we mainly care about capacity.
10:49We also care about these attributes here.
10:52So response time or latency and speed do play a consideration.
10:56Again, this is one of those things where as long as you're running on
11:00preferably an SSD
11:02or even a mechanical drive that's reasonably modern, that's reasonably
11:07functional, these
11:09should not be too much of a problem.
11:11So really the main thing that you want to focus on is capacity.
11:15Do you have enough storage space to contain your virtual machines?
11:19And really whether you have enough is going to come down to how much storage
11:24you give
11:25your virtual machine and that's something that we'll go ahead and take a look
11:29at in the
11:29next video.
11:30So that's all we need to do in Task Manager.
11:33If you're like, I'm good to go.
11:35My computer can run virtual machines.
11:37It meets all the conditions that we talked about.
11:40Then awesome.
11:41We're going to have a lot of fun.
11:43If your computer can't quite do it or if you're watching along on something
11:47that's not
11:49a desktop or a laptop computer like an iPad or some other kind of mobile device
11:53, that's
11:54okay as well.
11:55You're not going to be able to deploy a virtual machine and go along with me
11:59here as we do
12:00it.
12:01But you can still watch along and see how we're deploying the virtual machine
12:05here in this
12:06demo and get your exposure that way.
12:08So just Google for VMware workstation right here and it enter and that should
12:15bring you
12:16to hopefully what is an up-to-date link to get to the workstation page.
12:23So this right here is showing us the workstation pro page, but this is the paid
12:29version of
12:30the software.
12:31I'm going to go ahead and go and click the back arrow here and I'm going to
12:35open a list
12:36up to a new tab.
12:38But here's what I'm looking for.
12:40Workstation player.
12:41You can see the big letters download for free.
12:44So let's click on VMware workstation player and that's going to bring us to
12:49this page here
12:50with those big letters free free free.
12:53Now here's the important thing to keep in mind about these two products here.
12:59Workstation player works.
13:00Again, no pun intended, but workstation pro, if you're running a lot of virtual
13:07machines
13:08by online, $200 I think is the price.
13:11Yeah, $200 for workstation pro.
13:14If you're running a lot of virtual machines, there are some nice creature com
13:18forts here
13:19that pro has that player doesn't have, but don't feel compelled to buy pro.
13:25If you're just a casual virtualization user, workstation player is perfectly
13:30functional.
13:32And actually, if you're on the edge here, if we X this tab here and go back to
13:37the main
13:38page, you can see here there's actually a download trial button.
13:42So you can evaluate workstation pro.
13:45So if you want workstation player, that button is right here, we're going to go
13:50ahead and
13:50take a look at how to download the trial for workstation pro that way you can
13:55install
13:56it.
13:57So I'm going to click on this download trial button right here and go down and
14:01here's
14:01some buttons that you can download for your platform.
14:04So Windows or Linux.
14:06Now if you're on the Mac, you can run VMware too.
14:10It's just a different product called VMware fusion.
14:13We're not going to take a look at it in this video, obviously because I can't
14:16install it,
14:17but you can go ahead and Google VMware fusion if you're on the map.
14:22And a lot of this is going to be the same between workstation and fusion, but I
14:28'm on
14:28Windows.
14:29So I'm going to go ahead and click on download now.
14:32And that's going to allow me to download this to my local file system.
14:36As you can see, I've already downloaded this here.
14:40And so I'm going to click on cancel and once that's downloaded for you, you can
14:45just go
14:45ahead and run that executable file, install VMware workstation.
14:50It's a pretty simple process to go through basically just like any other
14:53application.
14:54So I'm not actually going to run the installer for VMware workstation because
15:00it's not going
15:01to let me go through the process since I already have ta ta VMware workstation
15:07pro 17 installed
15:09on the system.
15:10Now, as well as installing workstation pro, when you run the installer for work
15:15station
15:16pro, it also installs ta ta workstation player.
15:21And this is the utility that we're going to go ahead and take a look at in the
15:25next
15:25video.
15:26So we're going to go ahead and dive into creating a virtual machine in this
15:30interface.
15:31So I'll catch you over there in the meantime, I'll just inform it for you and I
15:35'd like
15:35to thank you for viewing.
Creating a Virtual Machine in Workstation Player
0:00So in the previous video, we took a look at how to make sure that our computer
0:05was actually
0:06prepared to run virtual machines by first making sure that it had the
0:12specifications and the grunt and horsepower
0:15to actually run virtual machines and then we scoured around the VMware's
0:21website to find the
0:23download for VMware workstation, which is the software that we're actually
0:28going to be using on our computer, on our
0:30Windows-based computer that's important to keep in mind to run virtual machines
0:35.
0:35Well, here in this video, we're gonna go ahead and springboard off of where we
0:40left off there to
0:42actually create a virtual machine inside of workstation player running Windows
0:4711. Let's go.
0:48So we're back where we left off in our web browser here from the last video
0:53because there I
0:55actually forgot to mention a very important step. So we'll mention it now. You
1:01remember how in the intro of the series,
1:04I mentioned that when I was starting out with virtual
1:07virtualization that I didn't know you have to have an operating system
1:11installed disk. Well, that raises an important question.
1:15The operating system doesn't install itself. You need to provide an operating
1:20system disk and ISO file usually
1:22for that installation to happen. And so the question is where are we getting
1:28that install disk?
1:29Now the answer to that question depends on what operating system you're using.
1:34It was a lot harder in 2012, especially for Windows from Microsoft to get the
1:42ISO file.
1:43But now Microsoft just makes it available to anyone.
1:46So what we're gonna do is open up a new tab here and we're just gonna Google
1:53download Windows 11. This feels like it's shady and not legit, but I guarantee
1:59you,
2:00let's hit enter here. The first entry right here is from Microsoft.
2:05So let's click on this link here and
2:08scroll down and you do not know what I would have done in
2:132012 to have lists right here like that. So what we're gonna do here is click
2:20on select download.
2:22There's only one option, download now and select our language.
2:27So English US from that and here's our 64 bit download.
2:32So if we download that, here's our ISO file. Let's go ahead and save that and
2:36just like that, you have the installation media for Windows 11.
2:42It continues to blow my mind every time I press that button.
2:48So you can see right here that our download has finished.
2:52I can open up our folder location and you can see that ISO file right here in
2:58this folder right under our
3:00workstation installer executable from the previous video.
3:04So we've got all of the building blocks out of the way.
3:08Now it's time for what might be your very first virtual machine. Isn't this
3:13exciting?
3:14So I'm gonna go ahead and drag this folder out of the way here and put it in
3:20its place.
3:21The workstation 17 player window.
3:24So from here, what we do is we create a new virtual machine and there's a
3:31couple of options here.
3:33So one is you can use the installer disk.
3:37Now when they say disk, the reason that this is grayed out right here and it's
3:42probably gonna be grayed out for you as well
3:45is because installer disk refers to a physical CD or DVD. Yeah, you remember
3:52those.
3:52So if you had a physical CD that you can install the operating system from and
3:59an optical drive to put it in,
4:01then this would let you select the optical drive that you want VMware to read
4:07from.
4:08But in this case, we have a disk image file or ISO.
4:13So right here, we could put the ISO file in, but then it's gonna take us
4:19through something called the EZ install,
4:21which is a version of something called unattended deployment.
4:26So the idea is if you wanted to, you could put your ISO file right here,
4:32specify things like your product key,
4:34and then let VMware take care of the installation for you.
4:38I've never been a big fan of EZ install, so I always just go with I will
4:44install the operating system later
4:46and then handle it myself.
4:48Just know that that option is right there for you.
4:51So what we're gonna do here is click on next and it's gonna ask us what
4:57operating system we want to use.
5:00So if it doesn't select Windows 11 by default, that's okay.
5:04Just grow up to the very top right here and click on Windows 11 and we'll click
5:10on next.
5:11It's gonna ask us for the name of the virtual machine.
5:14So just for giggles, I'm gonna change this to CBT nuggets and then demo.
5:21So you can have spaces in this name if you want, because what the name of the
5:27virtual machine is really doing
5:29is it's naming a folder in the location on your physical hard drive or SSD
5:37where the VM is going to be stored.
5:40So by default, that's going to be in your user directory in your documents
5:46folder and then a folder called virtual machine.
5:49We'll take a look at that folder in a moment after we create this virtual
5:53machine.
5:54But with that, let's go ahead and continue and before I do actually, I should
5:59probably type W11 here
6:01just so we know what operating system this is running and then we'll click on
6:06next.
6:06And here is a special step for Windows 11.
6:10If you don't run Windows 11, if you choose to run Windows 10 or something else
6:16like that,
6:17you probably won't need to have this step right here.
6:20But we're running Windows 11 and Windows 11 and presumably successive additions
6:26in the future
6:27are going to have this requirement of a trusted platform module.
6:32So to be clear, this does nothing to encrypt the rest of the data on your host.
6:38Though we have a couple of options here.
6:42The default option is going to be to only encrypt the files that you need to
6:48support this trusted platform module.
6:51So this is the option that we're going to go ahead and go with.
6:55But if you want to be more secure, you can also choose to encrypt every file
7:01that's associated with this virtual machine.
7:04So again, that's not going to be any other data on your drive, just the files
7:09for this VM.
7:10So once you've got that option selected, we need to provide a password.
7:16Now word of caution, this password is going to protect the encryption keys that
7:22are stored on the TPM long story short.
7:26If you don't have the password, you cannot access those encryption keys, which
7:31means that you can't decrypt the data to access the virtual machine.
7:35So too long didn't read or didn't listen in this case, do not lose this
7:39password.
7:40So with the importance of this password in mind, we're going to pick the four
7:46knocks of passwords, capital P, a S S W O R D.
7:52Hey, it has a capital P. That means it's secure, right?
7:56And then we will confirm the password. So to be clear, if you're actually doing
8:08this for any important virtual machines, please, I beg you, don't use password
8:09for your password.
8:10Now, it'll also give you the option by default to remember the password in the
8:16Windows credential manager.
8:19In this case, I'm actually going to go ahead and deselect that you should keep
8:24it in there.
8:25If you plan to use this virtual machine long term, you can see that because we
8:31don't have remember the password selected, it'll say if you forget the password
8:36, your data will be lost in big letters.
8:40So it is giving you fair warning here, but because I'm just going to go ahead
8:46and destroy this virtual machine, pretty much right after I'm done recording
8:52this video, I'm fine with not having to deal with remembering the password.
8:57So I'm just going to go ahead and click OK now. It is important to note that if
9:09you are selecting this option or rather not selecting it with an actual long
9:10term virtual machine, you should have some plan to store the password in
9:15something like a password manager.
9:18That way, you don't have to rely on your own memory to remember that password,
9:23but with that out of the way, let's go ahead and continue on.
9:27And here's where we select how much storage we want to allocate to this virtual
9:33machine.
9:35So a couple of things. First, I always choose to store the virtual disk as a
9:41single file. So here it says that if you split the disk, it makes it easier to
9:47move the virtual machine.
9:49But if you have a larger disk, as it also says here, it may reduce performance.
9:55So I always choose to just store the virtual disk as a single file.
10:00You can split it if you want.
10:02I just don't generally recommend.
10:04And I'm fine with the 64 gigabyte capacity right here.
10:10If you want more, go ahead and give it just keep in mind that you actually have
10:15to have the physical storage capacity to back it up.
10:19So with that set, how you like it, let's go ahead and click on next and here's
10:24the finished screen.
10:25So here's the summary.
10:27We're naming this CBT Nuggets demo W 11.
10:30We're storing it in our documents folder.
10:33This is going to be a workstation 17 version virtual machine.
10:38It's running Windows 11.
10:40We've given it a 64 gigabyte hard drive and we've given it four gigabytes of
10:46memory as well as two CPU cores.
10:48Now, if there's anything that you don't like on the screen, for example, maybe
10:54you want to change the amount of RAM it has or maybe you want to change the
11:00amount of CPU cores that it has.
11:03There's a couple of ways that we can do that.
11:05So the first way is right here.
11:08We can click on customize hardware and this is going to give us this screen
11:15where we can change the virtual machines settings.
11:18I'm going to go ahead and close that out actually and click on finished to
11:23actually create the virtual machine.
11:26And in a moment, it's right there.
11:28Now, if you want to change the virtual machine settings after the fact, there's
11:34a couple of ways you can do that.
11:36The first way is to click on this edit virtual machine settings link right here
11:42.
11:42That takes us to the same screen that we saw earlier or if I click cancel right
11:48here, the other way to get to it is going to be to click the virtual machine
11:53right here to make it active.
11:55So make sure this is blue right here.
11:58Click on player, click on manage, click on virtual machine settings.
12:03You can see side note.
12:04There's a shortcut you can use.
12:06That's a third way.
12:07But if you click right here, that brings us to once again, the exact same
12:11screen that we saw earlier.
12:13So now that we're here, let's say we want to change the amount of RAM that we
12:19're making available to this virtual machine.
12:22Well, all we have to do is use our slider here.
12:25So let's say that we want to go up to eight gigabytes so we can slide up there.
12:31And once it hits 8192 megabytes, we know that we're at eight gigabytes.
12:36Alternatively, you can also just directly type in this box.
12:40So if you want to do eight gigabytes, actually, let's do four gigabytes here.
12:45You can see that once we enter right here, sorry, edit virtual machine settings
12:50.
12:50You can see that it went back down to four gigabytes.
12:53And then we can change this to 8192.
12:57You can see here that the slider is now back at eight gigabytes.
13:01If we go down to processors right here, you'll see that we have number of
13:06processor course.
13:07So remember, this is the number of threads, not the number of cores as it's
13:13really saying here.
13:14So this is actually a single processor core.
13:18So if I want to give it two processor cores, I'm going to give it four logical
13:22processors.
13:24Don't worry about either of these two check marks.
13:26These are more advanced features that we don't need right now.
13:29Now, if we hop on over to the heart this tab, here's some information about the
13:35heart this capacity.
13:37There's not much that we really need to do here other than to look at how much
13:43size it's actually taking up.
13:45Now, you might be saying eight megabytes.
13:48Wait, I gave it 64 gigabytes.
13:50And the reason is that by default, this is using something called thin
13:56provision.
13:57And what that means is that we gave it 64 gigabytes of storage to work with,
14:03but it's not going to take up 64 gigabytes on your actual file system in media.
14:08It's only going to take up that space as you start to use the virtual machine
14:14and put stuff onto its storage.
14:16Moving on down here in the CD DVD section, here's where we're going to want to
14:22insert
14:23that ISO image file that we downloaded from Microsoft's website right over here
14:28.
14:28So click on this radio button, click on browse.
14:32And right here, it's going to by default go to our virtual machine folder.
14:37So hot, I was actually going to show you separately.
14:40But here, here you can see, let's go ahead and click on all files.
14:45You can see what's in this folder right here.
14:48So we have a bunch of files.
14:50I'm not going to go into detail about what these files do.
14:54Just know that they all have to do with this virtual machine.
14:57So that wasn't unexpected detour.
15:00Let's go ahead and continue on to find our ISO file.
15:04So in this case, it's on my G drive and it's right here video demo folder and
15:11right here,
15:12Windows 11.
15:13So I'm going to click that and click on open and here you can see that now we
15:18're using this ISO file,
15:20which is great.
15:21So the other thing we need to make sure is that this checkbox right here,
15:25connect power on is checked when the virtual machine is off,
15:30this button right here is going to be grayed out because it's not on.
15:35And so once the virtual machine actually turns on,
15:39this radio button connected right here is going to first not be grayed out.
15:44And second, because we've checked the box to connect the optical drive at power
15:51on,
15:51it's going to be checked at power.
15:53So going on down the last thing that we really have to consider is the network
15:59adapter.
15:59And specifically, it's going to be the mode of our network connection.
16:05So there's two main ones that you should consider.
16:09The first is going to be a net and that's the default option.
16:15This works if the only thing that you care about is going out from your virtual
16:21machine
16:21to the outside world, like to the internet, for example.
16:25But if you need the network to be able to access the virtual machine directly
16:31without the virtual machine reaching out first,
16:34that's where you would use the bridge option right here.
16:38The difference in a nutshell is that with bridge,
16:41the virtual machine looks like any other computer on the network to other
16:47devices on that network.
16:49But with now, the other devices on the network never know that there's a
16:54virtual machine.
16:55Because to them, the traffic from the virtual machine looks like it's coming
17:01from list computers IP address.
17:04So the actual physical hosts IP address.
17:07So just for this demo to keep it simple, I'm going to go ahead and stick with
17:12now.
17:12So no changes need to be made.
17:15The connect at power on is good to go.
17:17So I'm going to click on OK to save my changes.
17:21So now that we have all of our virtual machine settings all dialed in where we
17:27want them to be,
17:28in the next video, we're going to go ahead and actually start it up,
17:32boot it up and install Windows and make sure that everything is working.
17:37So I'll catch you over in the next video where we do that.
17:40In the meantime, this is informative for you and I'd like to thank you for
17:44viewing.
Installing the Operating System
0:00So in the previous video, we created our virtual machine in VMware Workstation
0:07Player,
0:07and we mounted our Windows 11 installation media.
0:11And so now, all that's left to do is cross our fingers, if I can cross that
0:16finger right there,
0:17and pray that we can install Windows 11 on this virtual machine.
0:22Let's see if what we did actually work.
0:24So I've went ahead and maximized the Workstation Player window so that we can
0:31get a better view here.
0:32And what we're going to do is click right here to play virtual machine.
0:38And with this virtual machine selected, that's going to go ahead and boot up
0:43this virtual machine.
0:44And hopefully it's going to boot to our Windows 11 installation.
0:49So I'm going to click on play virtual machine and watch the magic happen.
0:54We can't watch too long though because with Windows, it's going to ask us to
0:59press any key
1:00to boot from the CD DVD.
1:02And I got a little excited there because it came a little faster than I
1:06expected.
1:07But now you can see that we're actually booting into Windows and there we are,
1:13the Windows setup.
1:15So this Windows installation, in fact I'm going to go through it right now as I
1:20'm talking,
1:21it thinks that we are running on a physical system.
1:24So installing the operating system is no different than if you popped the
1:30Windows
1:31installation into a physical computer and went through this exact same process.
1:36Select the addition, click next, agree to the license terms, click next, custom
1:41mode,
1:41click next to install it on the only drive that we have.
1:45And this is not going to do anything to the files that are actually on our
1:50system
1:51because it's just installing Windows onto that virtual drive.
1:56And here we are.
1:57So installing Windows just like any other installation of Windows,
2:03except now we can drag this window out of the way.
2:06And you can see here's my actual Windows 11 system.
2:11So I'm running Windows 11 as a window, no pun intended,
2:16inside of my real hosts Windows 11 environment.
2:21So now you can see that the Windows installation is proceeding,
2:26just like it does on a regular computer.
2:29And this might actually take a while for me because the ISO image that we're
2:35using
2:36is on a different drive than the VM is actually stored on.
2:41So it has to go between two drives.
2:43That might take a little while depending on the hardware that you have
2:48that you're running virtual machines on, it might take a few minutes to get the
2:53installation here.
2:54So fortunately with the power of video editing,
2:57I have the power to not bore you to death.
3:00And all righty.
3:02So now we're on the Windows desktop of our CBT Nuggets demo Windows 11 virtual
3:10machine.
3:10So just to prove that this is the virtual machines desktop that we're looking
3:16at,
3:16I'm going to drag this out of the way.
3:19So here's my host Windows environment.
3:22And here's the Windows environment of our virtual machine.
3:25And in hindsight, I should have made sure beforehand that the ISO image for the
3:33Windows installation,
3:35as well as the virtual machine files were on the same drive because boy did
3:42that take a while.
3:43I got through no live two episodes of a TV show I'm going through before that
3:49finished.
3:49Anyway, my life story aside, there's one last thing that I want to do here.
3:56And it has to do with less wonky screen resolution.
4:01So I've maximized the VMware window and the screen resolution here is really,
4:09really small.
4:10And the reason for that is because the operating system that's running in here,
4:16remember, this Windows 11 guest or virtual machine right here doesn't know
4:22about VMware at all.
4:24So it doesn't know that we've maximized the window here.
4:28So the way that we're going to fix that is by installing a program on this
4:34virtual machine
4:36called VMware tools, what that's going to do is it's going to allow our virtual
4:42machine here
4:43and the actual VMware hypervisor to communicate.
4:47And that's going to allow us to do things like fix the screen resolution issue
4:53that I just mentioned,
4:55because a VM with VMware tools installed can automatically adjust its screen
5:01resolution
5:02to match the size of the VMware window.
5:05Some of the other things that it can do include shared folders.
5:09So the host file system can be exposed to the virtual machine so that the
5:16virtual machine
5:17can copy files back and forth from the host's actual file system.
5:23And there's a bunch of other creature comforts.
5:26Basically, it comes down to this.
5:28If the operating system that you're running in your virtual machine supports
5:33VMware tools,
5:34which in this case, Windows does, there's basically no disadvantage to
5:39installing VMware
5:40tools. So we're going to go ahead and do that real quick.
5:42So the process for that is actually really simple.
5:47So what I'm going to do here is firstly control alt. So that key combination
5:53releases my cursor
5:55from the virtual machine and back to controlling the actual host's operating
6:01system.
6:02So what I'm going to do is go up here, click on this player menu, go to manage
6:08and click on
6:09install VMware tools. So after clicking that button, you can see that this
6:14autoplay window
6:15came up and it actually just disappeared here. What it did is it mounted an ISO
6:21image in the
6:22optical drive of this virtual machine with the actual installer that we need to
6:28install VMware
6:29tools. So the important thing to keep in mind here is that whatever CV or DVD
6:34was in there
6:35previously, so as you might remember, in our case, it was the Windows
6:39installation ISO,
6:41whatever was in there, it's going to eject it and then put in its place the
6:45VMware tools installer
6:47ISO. So with the autoplay window gone, all we have to do to access it is go to
6:53our file
6:54explorer here, go to the DVD drive, which as you can see is VMware tools. And
7:01we are going to run
7:02the setup 64 for 64 bit installation. Click on yes for the UAC. And you can see
7:09here that the
7:09installer is launching. There we go. So the VMware tools setup is here. So we
7:15're going to click
7:16through next and next and install. So the setup wizard has just completed. It
7:22was very fast,
7:24like 30 seconds. So when we click finish now, it's going to ask us to reboot
7:29because it installed
7:30a bunch of new drivers that have to take effect. So we'll click on yes to
7:34reboot the system.
7:35And while we're rebooting, it decided that now seems like a perfect time to
7:42apply Windows updates.
7:44Thanks, Windows. We'll be back when this is all done and dealt with. All right.
7:49So we are back
7:50here on the Windows login screen after a quick little reboot. So I'm just going
7:55to click here,
7:57type in our super secure password. I'm sure you can guess what the password is.
8:03All righty,
8:03let's go ahead and log it. So now we're back on the desktop here on our virtual
8:09machine. And
8:10let me go ahead and expand the tray here. So you can see here that VMware tools
8:16is installed and
8:17running. We can tell that because the icon for VMware tools is in our system
8:23tray here. It doesn't
8:24seem to be adjusting our screen resolution. Let me try something real quick.
8:29Let me try doing lists
8:30to readjust the window. And there we go. It just needed a little kick. So
8:36congratulations. If you've
8:38made it this far in your own environment, that means that you have a
8:42functioning Windows 11 virtual
8:45machine. So before we go on, give yourself a quick pat on the back. Now to
8:50verify that this virtual
8:52machine is actually set up the way that we want it to be set up, let's take a
8:57look at the resources
8:58that it has in task manager. Now normally you would control delete to get to
9:06task manager.
9:07But you don't want to do control delete on your actual keyboard because there
9:12is a chance that
9:13your host will intercept that control delete and give you the control delete
9:19for your actual host
9:20and not send it on to your virtual machine. So the way if you want to be safe
9:25that you should do a
9:26control delete in a virtual machine is a list button right here. So it's the
9:32button that's
9:32immediately to the right of the pause button here. And if we hover over it, you
9:38'll see what it does.
9:40It sends a control delete to the virtual machine. So if we go ahead and press
9:45this right now,
9:46it simulates a control delete keystroke inside of the VM. So from here, let's
9:52go ahead and click
9:53on task manager to open that up. And ooh, new task manager interface. I think
9:59this is my first time
10:00seeing the new interface. Anyway, let's go ahead and go to performance here to
10:05check out our
10:05specifications. We will maximize the task manager window. And I'm not sure if
10:10you can see that,
10:12but it says that our virtual processor count is two. If you remember, if I go
10:17here to player
10:19and manage and virtual machine setting, we gave this for processor cores. But
10:25do keep in mind,
10:26our socket count is two. So really, it's two CPUs that's thinking of it as, and
10:33two times two is
10:35four. So it does have the correct number of virtual CPU cores assigned to it.
10:41It just splits it
10:42across two different CPUs from the virtual machine's perspective. And if we hop
10:47on over to memory
10:49here, we'll see that this is a gigabytes of RAM, which is let's open back our
10:55virtual machine settings,
10:57what we saw earlier here, memory, eight gigabytes. And while we're here, we'll
11:03check out two things
11:04about our storage, the first being that it's NVMe. So it's being presented to
11:10the virtual machine
11:12as an SSD. And of course, our maximum capacity being 64 gigabytes. So let's
11:18close out of this
11:19window again, and hop on to storage here, we'll see that this is an SSD right
11:25down here. That's
11:27where it says type SSD. And our capacity is 64 gigabytes. The other way that we
11:34can verify our
11:35capacity is to go to file explorer, and this PC. And if we look at our C drive
11:42right there,
11:43you'll see 62.2 gigabytes is our total size. There's some file system overhead
11:48there. So it's
11:50basically 64 gigabytes. And then the last thing that we're going to want to
11:54test here is our network
11:56connectivity. So if you remember, I configured this using the NAT option, which
12:03means that when it
12:04goes from the VM to the outside world, it's going to be using the IP address of
12:11my physical host.
12:12So if I go ahead and open up Microsoft Edge here, my physical computer has
12:18access to the internet.
12:20So let's go ahead and enter Google.com. And you'll see that from this virtual
12:27machine. Again,
12:28here's the proof virtual machine right here. And our host environment right
12:33here from inside our
12:35virtual machine, we have access to Google, we have access to the internet.
12:39Everything is working
12:41splendidly. So that's how simple deploying a virtual machine can be. Heck, you
12:48just did it
12:49right now. Or at the very least, you followed along with me as we did it
12:53together. In the meantime,
12:55I'm Elle, this is informative for you,
12:57and I'd like to thank you for viewing.
12:59[BLANK_AUDIO]
Team training path
Turn this skill into assignable team training
This free skill is a preview of the courses your team can assign, track, and report on with CBT Nuggets.
$749
seat / year