MicroVM
A microVM is a virtual machine with a minimal device model, built to start fast and run in large numbers on shared hosts.
A microVM is a virtual machine stripped down to the few devices that a Linux guest needs. It starts fast and costs little memory, but it keeps the hardware isolation of a full virtual machine. The guest still runs its own kernel, so a hypervisor rather than a shared kernel separates it from the host. The name describes the size of the virtual hardware, not a limit on what runs inside.
A general-purpose virtual machine carries firmware and many emulated devices that most server workloads never use. A microVM keeps only a few virtio devices for disk and network, enough to run a Linux guest. The guest kernel is usually built to match, with drivers for only those devices. Leaving out the rest removes the time that firmware and the kernel spend probing for hardware at boot. It also leaves less monitor code for an attacker to target.
The small size makes it practical to give each request or user a kernel of its own. For this reason, microVMs are a common way to run untrusted code in large numbers on shared hosts. Firecracker and Cloud Hypervisor are two widely used monitors of this kind, and both run on KVM. Serverless functions were the first large use, where each short request needs its own machine. Code that AI agents write and run is a newer use with the same needs.
Related terms