microsrv Overview
Fault-tolerant virtual machines powered by spot instances with live RAM migration, persistent storage, fixed private IPs, and active TCP socket preservation.
What is microsrv?
microsrv is an affordable, developer-friendly cloud platform: virtual machines (VMs) and isolated containers work out of the box with SSH, private networking, and a TLS gateway included — while running on interruptible spot capacity from major cloud providers at up to 25% savings versus their regular pricing.
Standard spot instances are subject to unexpected eviction by the cloud provider. The microsrv orchestrator turns these volatile instances into reliable, persistent virtual machines and stateful containers by:
- Proactively capturing provider host eviction signals.
- Performing seamless live migration of system memory (RAM) and active execution state of VMs and containers to standby hosts.
- Preserving in-memory state, persistent disks (Stateful OverlayFS for containers), internal IP addresses, and active TCP connections.
[!NOTE] Applications running on your VMs and containers continue operating smoothly without restarting, dropping memory caches, or losing network sessions during host transfers.
Key Architectural Highlights
1. Transparent Live Migration
When an eviction warning is received, microsrv instantly selects a candidate host within the same availability zone and streams memory pages. Your applications continue executing instructions without disruption.
2. Zero Public IP Security
In microsrv, guest VMs do not require public IP addresses.
- Terminal access goes through the SSH gateway:
ssh -A my-vm@msrv.space - Web applications and APIs are published through the HTTPS gateway with
<vm>.msrv.spacehostnames and TLS certificates.
3. High-Performance eBPF NAT
Every VM resides in an isolated Virtual Private Cloud (VPC) and retains outbound internet access for package updates, Git operations, and external API requests via kernel-level eBPF Outbound NAT.
[!TIP] eBPF routes and filters traffic directly inside the Linux kernel, ensuring near-bare-metal network performance and protection against IP/MAC spoofing.
Network Architecture & Traffic Topology
1. UNIFIED CLIENT ACCESS
[CLIENT] Developer terminal (SSH) & web users (HTTPS) connect via msrv.space edge DNS