Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

Virtual machines and hypervisors

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

A computer inside a computer

You want to test a risky program. You do not want to harm your laptop. So you make a second computer inside the first one. You try the program. Then you delete the second computer, and your laptop is not changed.

This is a virtual machine: a computer made of software. People use it everywhere, from small labs to very large data centres. A data centre is a building full of servers.

Key words

WordWhat it meansExample
Virtual machineA computer made of software. It runs inside a real computer.A Windows computer inside a laptop
VirtualisationMaking a virtual version of a computer, or of its parts.Ten servers on one machine
HostThe real computer that runs the virtual machines.A powerful server
GuestA virtual machine running on a host.One virtual server
HypervisorThe software that makes and runs virtual machines and shares the host's parts between them.The software that starts each guest
Operating systemThe main program that runs a computer.Windows, Linux
CPUThe processor. It runs the instructions of a program.The brain of a computer
NetworkComputers joined together to share data.The college network
RouterA device that joins networks and sends data the right way.A home router
SnapshotA saved copy of a virtual machine at one moment. You can go back to it later.Before a risky change
EmulationMaking one computer act like a different one.An old games console on a laptop

The cells students fill in are left blank in this preview.

What can be virtual?

A virtual machine can be a client, such as a virtual PC for a student. It can also be a server, such as a web server.

The network parts can be virtual too. A virtual switch joins virtual machines together. A virtual router joins virtual networks. So a whole network, with computers, switch and router, can live inside one real computer.

Type 1 and type 2 compared

Type 1 (no operating system below it)Type 2 (hosted)
Runs onDirectly on the hardwareOn a normal operating system
SpeedFaster: fewer layersSlower: more layers
Used forData centres and serversLaptops, learning and testing
ExampleA server in a data centreA student laptop

The cells students fill in are left blank in this preview.

Quick check

Have a go

Quick check

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Extra: Real hypervisors

Type 1 (bare metal)Type 2 (hosted)
KVM, Xen, Hyper-V, VMware ESXiVirtualBox, VMware Workstation, Parallels

The cells students fill in are left blank in this preview.

Extra: Ask this lab what it is

Command
systemd-detect-virt

A command for the lesson’s lab terminal. It is shown here and not run.

The lesson goes on

9 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.