Cloud Development Environment Platform · View 08 of 21 · Structure
Decisions
- The control plane holds records, not content: a workspace registry, a prebuild index and an event log. No filesystem data, memory image or log transits control-plane storage (ADR-12).
- The host agent owns the microVM, the block overlay and the egress policy point, so the enforcement point is on the host rather than in the guest — the guest agent is advisory only.
- The secret broker and the workspace identity authority are separate from the control plane, so a management-plane outage cannot mint credentials and a broker compromise cannot change policy (ADR-05).
Assumptions
- PostgreSQL for the registry with synchronous replicas (RPO 0); Kafka for the lifecycle stream (RPO 1 min).
- One Firecracker microVM per workspace, 4 vCPU / 8 GB / 32 GB disk nominal, 40 per 128-core / 1 TB host at 4:1 memory oversubscription.
Risks
- The host agent is the most privileged component in the system and it is adjacent to untrusted code; its attack surface toward the guest is the vsock channel and nothing else.
- Oversubscription at 4:1 only holds while hibernation keeps working; a bug in idleness detection turns a cost assumption into a reliability incident.