Workloads

Many fast VMs per tenant

Run FlashVMM inside an enclave for fast-starting VMs, still sealed off.

What it is

An enclave that runs lightweight VMs of its own.

The flashvmm enclave kind comes with FlashVMM built in. FlashVMM runs unchanged inside the enclave: fast-booting VMs, snapshots and restore, checkpoints, fork, sleep and wake.

Why it matters

A tenant often wants many small machines, not one big one. Each tenant gets their own VM fleet, and the fleet as a whole stays sealed inside their enclave.

  • Fast inside the enclave too. On our AMD test machine a FlashVM boots in 70 ms inside an enclave.
  • Also your own VMs. /dev/kvm is in every enclave, so QEMU with KVM works as well.

How it works

sudo fe enclave create myvms --image flashvmm --cores 4 --memory 8192 --ssh-key ~/.ssh/id_ed25519.pub

Log in, then start a FlashVM:

flash run --id vm1 --bundle /fv/bundle --vcpus 1 --mem-mib 256 --entry "uname -sr"

The result

A private VM platform per tenant, on shared hardware.