Firecracker vs gVisor

Firecracker gives each sandbox a microVM with its own kernel. gVisor gives each sandbox a kernel that runs in user space. Both keep sandbox code away from the host kernel.

Updated

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

gVisor

An application kernel from Google.

Type
User-space kernel
Own kernel
In user space
Used by
Agent37 Cloud, StateSet Sandbox, Bunny Sandbox, Modal, Brimble Sandboxes, Sandbox0, xShellz Agent Shell

How they differ

6 fields, side by side

Firecracker
gVisor
Kind
Firecracker: Virtual machine monitor
gVisor: Application kernel
Kernel
Firecracker: Own guest kernel for each sandbox
gVisor: Host kernel behind a user-space kernel
Made by
Firecracker: AWS
gVisor: Google
Written in
Firecracker: Rust
gVisor: Go
License
Firecracker: Apache-2.0
gVisor: Apache-2.0
Needs hardware virtualization
Firecracker: Yes (KVM)
gVisor: No by default. The KVM platform needs it.

When the difference matters

A microVM puts a guest kernel between the sandbox and the host, so a bug in the guest kernel does not reach the host kernel directly. The default gVisor platform needs no hardware virtualization, so it suits a machine without virtualization support. You choose a provider, and the provider picks one of these technologies.

Providers using each

List price per vCPU-hour

Related terms

All glossary terms

Related