Cloud Hypervisor vs Firecracker

Cloud Hypervisor is a virtual machine monitor for cloud workloads. Firecracker is a virtual machine monitor from AWS. The main difference is PCI passthrough. Cloud Hypervisor documents it, and Firecracker does not.

Updated

Cloud Hypervisor

An open-source monitor from the Linux Foundation.

Type
MicroVM
Own kernel
Used by
Northflank Sandboxes, Solari

Firecracker

A virtual machine monitor from AWS.

Type
MicroVM
Own kernel
Used by
Krova Cloud, Zipbox, Lizard Sandboxes, Shellbox, DigitalOcean MicroVMs, Mosaic Sandbox, Runtime, Oblien Workspace, CreateOS Sandbox, Fly.io Sprites, Collimate, EQVPS Sandboxes, Prized Sandboxes, Shardflux, DigitalOcean Harness Runtime, Together Sandbox, MIOSA, Declaw, E2B, HopX, InstaVM, Leap0, Superserve, Thunder Sandboxes, PandaStack Sandbox, LangSmith Sandboxes, Caged, Tensorlake Sandboxes, Cloudflare Sandbox, OpenPond Sandboxes, AWS Lambda MicroVMs, Deno Sandbox, Vercel Sandbox, Maritime, RemoteHost, Unikraft Cloud

How they differ

6 fields, side by side

Cloud Hypervisor
Firecracker
Language
Cloud Hypervisor: Rust
Firecracker: Rust
Governance
Cloud Hypervisor: Open project under the Linux Foundation
Firecracker: Built by developers at AWS
Device model
Cloud Hypervisor: Paravirtual devices such as virtio
Firecracker: Five emulated devices, such as virtio net, block and vsock
PCI passthrough for GPUs
Cloud Hypervisor: Yes, through VFIO
Firecracker: Not documented
CPU and memory hot-plug
Cloud Hypervisor: Yes
Firecracker: Memory yes. CPU not documented.
Snapshot and restore
Cloud Hypervisor: Yes, not across different versions
Firecracker: Yes, only on an identical host and CPU setup

When the difference matters

Cloud Hypervisor passes PCI devices, such as a GPU, to a guest through VFIO. Firecracker emulates five devices and does not document PCI passthrough. Both support snapshots, and each has its own limits on hosts and versions.

Which one to look for

Check which virtual machine monitor the provider uses. Check whether the provider lists GPU or PCI passthrough. Read the snapshot limits in the provider's own docs.

Providers using each

List price per vCPU-hour

Related terms

All glossary terms

Related