Free tech learning for everyone, from basics to pro

Start hereCloud & virtualisationBasics

Virtualisation and virtual machines for beginners

In short: Virtualisation lets one physical computer run several virtual computers (VMs), each with its own operating system. It powers the cloud and is the easiest way to build a safe practice lab.

The simple idea

A virtual machine (VM) is a computer made of software. A program called a hypervisor shares one physical machine's processor, memory and storage between several VMs, and each one thinks it's a real computer.

Many computers on one machineVirtual machinesWindows, Linux, test VMHypervisorshares out the hardwarePhysical computerprocessor, memory, storage
Figure 1. A hypervisor sits on one physical computer and shares its resources between several virtual machines, like flats sharing one building.

Two types of hypervisor

TypeRuns onTypical use
Type 1 ("bare metal")Directly on the server hardwareData centres and the cloud
Type 2 ("hosted")As an app on your normal operating systemLaptops, learning and testing (for example VirtualBox)

Why it's so useful

  • Save money and space: one server can do the work of many.
  • Snapshots: save a VM's state and roll back if something breaks.
  • Isolation: a problem in one VM doesn't affect the others.
  • Speed: create a new server in minutes instead of ordering hardware.

Virtual machines vs containers

Containers are lighter. They share the host's operating system kernel and package just an app and what it needs. VMs include a whole operating system. Both are used widely; containers are popular for modern apps.

Build your own practice lab

  1. Install a free type 2 hypervisor on your computer.
  2. Create a Linux VM and a Windows evaluation VM.
  3. Connect them on an internal virtual network and practise ping, file sharing and firewall rules.
  4. Take a snapshot before each experiment so mistakes cost nothing.

Real-world example: three old servers become one

A small office has three ageing server boxes humming in a cupboard: one for files, one for the accounts software and one for the door-entry system. Each sits mostly idle, uses electricity and needs its own repairs.

The IT supporter buys one modern server, installs a type 1 hypervisor, and moves each old server across as a virtual machine. The cupboard is now quieter and cooler, and there is one box to look after instead of three.

A month later, an accounts software update goes wrong and the program will not start. Because a snapshot was taken just before the update, the VM is rolled back in a few minutes and staff carry on working. The file server and door-entry VMs were never affected, because each VM is isolated from the others.

Try this: on a Windows PC, open Task Manager, go to Performance and select CPU. Look for "Virtualization: Enabled". If it says disabled, it can usually be switched on in the computer's firmware settings before you build a home lab.

Key takeaways

  • A VM is a software computer running on real hardware.
  • Hypervisors share hardware between VMs.
  • Snapshots make experiments safe.
  • A VM lab is the cheapest way to practise.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.