Skip to content

enum1: turning machines into fleets of microVMs

Krishan Marco Madan2 min readEngineering

Short answer

enum1 is an orchestrator that turns machines into compute other people run code on. A machine joins with one pasted command carrying a short-lived signed token, lands on a private WireGuard network, and becomes either a fleet of Firecracker microVMs or a standalone target. A background pass keeps what is running in line with what should be.

Some of what we build runs code that is not ours: a tool an AI agent calls, a script a customer uploads, a job that needs a machine to itself. That code needs a box of its own, on hardware we control, that only we can reach. enum1 is the system that hands out those boxes.

One command to join

A machine joins enum1 with a single pasted command. The command carries a signed join token that expires quickly, and the token, not the machine's key, is the credential: a machine rebuilt from scratch with a fresh key is recognised as the same machine. The orchestrator never holds a machine's private key, only its public half.

Two private networks

Every machine is reached over WireGuard, on a private network the orchestrator owns. There are two networks, not one: the machines that host microVMs sit on one, and the microVMs on the other, so the two can never reach each other by accident. Addresses are computed from each machine's position instead of being stored, so they cannot drift out of date.

MicroVMs as the boundary

A fleet is a machine that runs Firecracker microVMs, the lightweight virtual machines AWS built for Lambda. Each microVM is the boundary between one tenant and the next. A plain VPS can join too: it becomes a fleet of one, with itself as its only target, and nothing downstream needs to tell the two apart.

Cleaning up, carefully

A background pass compares what should exist with what does, for every fleet and every microVM, and redoes whatever failed. Cleaning up is where systems like this usually hurt someone, so enum1 is careful. A microVM with no record might be abandoned, or might simply not have registered yet: it is destroyed only once it is older than any join token can live, measured on the machine's own clock, and an age that cannot be read is never acted on. No routine operation ever destroys a disk.

The end-to-end tests create and destroy real virtual machines on a lab server, so every join, every microVM and every clean-up is tested on real hardware, not on mocks.

Share