Virtual machine (VM)

Definition
A Virtual Machine (VM) is a software-based simulation of a physical computer system. It runs an independent operating system (OS) and applications while sharing the physical hardware resources of the host machine. VMs are managed by a hypervisor, which allocates CPU, memory, storage, and networking resources across multiple virtualized environments.
VMs provide isolation, meaning that applications running inside them are separated from the host and other VMs. This makes them ideal for running multiple workloads on a single server, testing software in different OS environments, or consolidating hardware in enterprise data centers.
Advanced
From a technical perspective, VMs rely on hypervisors (Type 1 bare-metal or Type 2 hosted) to abstract hardware and present virtualized devices to guest operating systems. Each VM includes a virtual disk, virtual CPU, memory allocation, and virtual network interface. Snapshots and cloning enable rapid recovery and duplication of environments.
In enterprise IT, VMs support workload mobility, disaster recovery, and hybrid cloud deployments. They integrate with orchestration platforms for automated scaling, balancing, and failover. While containers offer lighter-weight alternatives, VMs remain crucial for workloads that require full OS-level isolation, legacy application support, or compliance-driven segmentation.
Why it matters
Use cases
Metrics
Issues
Example
A healthcare company runs its electronic medical record (EMR) system on virtual machines. This setup isolates sensitive applications, allows scaling without new hardware purchases, and provides snapshot-based recovery to meet regulatory compliance.