Operations → Runtime Infrastructure
Virtual Machine
A software-defined computer that runs an operating system on virtualized hardware.
Motivation
A virtual machine solves the problem of running an isolated computer-like environment on shared physical hardware.
Where it fits
It belongs to runtime infrastructure and cloud computing.
Mental model
A VM behaves like a full machine with its own OS, while a hypervisor multiplexes the underlying hardware.
Important details
VMs provide strong isolation and compatibility, but are usually heavier than containers.
Common mistakes
- Confusing VMs with containers.
- Ignoring image maintenance and patching.