FastVM
Beta45 starsSingle-host Cloud Hypervisor/KVM sandbox runtime in Go: OCI images boot as microVMs in about 0.6 s, idle sandboxes pause and page their memory to disk, and an inbound packet wakes them with the frame already queued in the guest's own virtio-net path.
- Boot rank
- #51 / 119
- 58% of published starts are slower
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Memory + processes retained
- Resume: Paused sandboxes resume in about 50-150 ms and dormant ones in about 50-300 ms, with the VMM and its device queue kept alive; the project calls these figures a design target being re-baselined after the Cloud Hypervisor migration
Overview
FastVM is a single-host sandbox runtime built around one idea: a sleeping sandbox should never be process-dead. A Go daemon launches one Cloud Hypervisor microVM per sandbox, pulls base disks directly from OCI registries, and clones a copy-on-write volume per sandbox. When a workload goes quiet the sandbox pauses and can go dormant, handing its guest RAM to a file-backed Cloud Hypervisor snapshot while the VMM, TAP and virtio-net device queue stay alive, so an inbound packet is enqueued in the guest's own receive path and wakes it without a proxy or a user-space replay. The rest of the surface is aimed at agent loops: fastvmctl for run, exec, pause, resume, snapshot and live resize, hotplug ceilings with a balloon, virtio-fs host mounts, published ports, egress allowlists, a .fvmfile config format, a Unix-socket JSON API with optional mTLS TCP, an OIDC web console and Prometheus metrics. Two caveats belong in the entry. The README says plainly that there is no stable release, that formats and APIs may change, and that it is not ready for production. And the threat model is a single trusted operator: per-sandbox network namespaces, a VMM jailer and hostile multi-tenancy are later milestones, snapshots are Cloud-Hypervisor-version and host specific, and the repository ships without a licence file.
Key capabilities
- Cloud Hypervisor/KVM microVM per sandbox with a pinned kernel
- About 0.6 s cold boot to guest-agent-ready (vendor measurement)
- Idle sandboxes pause, then page guest RAM to disk when dormant
- Wake on inbound packet, with the frame queued in the guest's virtio-net path
- OCI images pulled directly from registries and cloned copy-on-write
- Snapshots restore as independent sandboxes
- Live CPU and memory resize inside hotplug ceilings
- eBPF L2 switch with per-port isolation and egress allowlists
fastvmctlCLI, JSON API over a Unix socket or mTLS TCP, OIDC console- Snapshots and dormant images are Cloud Hypervisor-version and host specific
- No stable release; no licence file; not for hostile multi-tenancy
fastvm-quickstart.sh
# Linux x86_64 host with KVM, Cloud Hypervisor v54+ and virtiofsd
make build && make assets && sudo make install
sudo fastvmd --config hack/config.yaml # root daemon, eBPF or bridge datapath
fastvmctl run --image python:3-alpine -- python3 -c "print('Hello from a microVM!')"
fastvmctl run -d --net --image alpine --name app -- sh -c 'sleep infinity'
fastvmctl pause app --deep # dormant: guest RAM to a file
fastvmctl resume app # an inbound packet would wake it tooSimilar alternatives
Technical specifications
- Runtime architecture
- One Cloud Hypervisor process and one Linux kernel per sandbox on KVM; the VMM was moved from Firecracker to Cloud Hypervisor v54+
- Runtime notes
- Base disks are pulled straight from OCI registries (no Docker daemon), and each sandbox runs a copy-on-write reflink clone
- One eBPF L2 switch per host forwards frames, enforces per-port isolation and anti-spoofing, and emits the wake event; a Linux bridge with an AF_PACKET wake path is the fallback
- Host-directory volumes over virtio-fs, writable block volumes, and published guest ports
- Cold-start boot time
- About 0.6 s cold boot to guest-agent-ready on the reference host (vendor measurement); the pre-migration Firecracker build claimed about 100 ms
- Max vCPU
- Set per sandbox at boot with optional hotplug ceilings, then grown live with
fastvmctl modify; a virtio balloon is enabled by default - Max memory
- Set per sandbox at boot with a hotplug ceiling and resized live; the guest RAM image is what a dormant sandbox pages to disk
- Storage model
- A base-disk cache of pulled OCI images plus an ephemeral copy-on-write runtime volume per sandbox; there is no persistent user volume, disk snapshot or volume resize
- Network isolation
- Each sandbox is a KVM microVM, and a per-host eBPF switch forwards and isolates its L2 port. TAP interfaces share the daemon's network namespace, so isolation is enforced by the switch or bridge port isolation plus static neighbor and DNAT rules rather than separate netns.
--no-netremoves networking and--allow-hostlimits egress to named hosts. There is no VMM jailer, and host-directory mounts are allowlisted and treated as trusted.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Supported
- Instant forking
- Not supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Supported
- MCP protocol server
- Not supported
- REST API & SDKs
- Not supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Memory + processes retained
- Resume latency
- Paused sandboxes resume in about 50-150 ms and dormant ones in about 50-300 ms, with the VMM and its device queue kept alive; the project calls these figures a design target being re-baselined after the Cloud Hypervisor migration
- Session limit
- No published maximum; idle_window, pause_after, offload_after and destroy_after are configured per host, and destroy_after defaults to 0, so idle sandboxes are never destroyed automatically
Pricing model
Pending AuditRate read 25 Nov 2026.
No vendor price: FastVM is a daemon and CLI you build and run on a Linux x86_64 host with KVM, so a sandbox costs the hardware it runs on. The repository carried no LICENSE file and GitHub reported no licence on 2026-11-25, so the code is publicly readable without an explicit redistribution grant. There is no hosted tier, plan or rate card, so the absence of a vendor charge is Pending audit rather than a published commitment.