Cloud & DevOps

What is Virtual Machine?

Quick answer

A software-based computer that runs its own operating system and applications on shared physical hardware.

Virtual Machine, explained

A virtual machine (VM) behaves like a separate physical computer, with its own virtual CPU, memory, storage, and network interface. A layer of software called a hypervisor divides a physical server's resources among multiple VMs and keeps them isolated from one another.

Virtualization transformed data centers by letting one powerful server replace many underused ones, and it is the foundation of cloud infrastructure services. Developers use VMs to test software on different operating systems, and security researchers use them to analyze malware safely. Compared with containers, VMs are heavier, since each includes a full operating system, but they provide stronger isolation. Popular hypervisors include VMware ESXi, Microsoft Hyper-V, KVM, and VirtualBox for desktops.

Related terms

Guides that mention Virtual Machine