GUIDE — reference deployment: standing up efficient, scalable managed infrastructure

Status: Draft — 2026-07-22. Operator runbook (user-facing, per the guides/ charter). Documents the target reference deployment for the managed-infrastructure pattern; per-role maturity flags mark what ships today vs. what rides the connectivity track. Consolidation of already-specced roles + the budget-tiered model — invents no protocol. Design basis: docs/research/explorations/EXPLORATION-FULL-STACK-DISCOVERY-INFRA-AND-ENTITY-CHAT.md

1. The governing principles (why this is cheap by design)

  1. No special infrastructure tier. Every infra role is an ordinary peer running one system handler (EXTENSION-REGISTRY §1: "registry is just a peer"; a CDN-hosted peer is a Mode-S relay). You are not running a bespoke server fleet — you are running peers.
  2. Resolve + introduce, don't discover. The deployment names peers (static registry) and introduces them (stateless tunnel); it does not run open discovery (a DHT). Skipping open discovery is what removes the one genuinely stateful, expensive component (ANALYSIS… Part A).
  3. The core path is near-stateless and storage-free; the two heavy roles are opt-in. Registry + reflector + signaling + punch establish a direct, transport-encrypted link with zero bulk storage and only seconds-long per-handshake state. Storage (mailboxes) and relay-bandwidth are à-la-carte fallbacks, each tied to one capability. Spend on them deliberately.
  4. Valid floor / graceful degradation. Every tier below is a valid deployment; dropping a tier drops a capability, never correctness. A budget deployment runs Tier 0, adds Tier 1 cheaply, and offers Tier 2 only as budget allows.

2. The deployment tiers (spend in this order)

TierYou runEnablesCost shapeMaturity
0 — Static reefa static-CDN registry (object storage + CDN): signed bindings + service-advertisement + optionally peers' trees (Mode-S static)name resolution; service discovery; publish/read apps (SITE); async pickup of statically-hosted mailboxesobject storage + CDN egress — essentially free, infinite scale, no serverShips (REGISTRY §7.4; Mode-S static)
1 — + Generic tunnela stateless STUN reflector + a signaling relay (one small commodity VM, horizontally scalable, no storage)direct P2P for the majority (online, cone NAT ~70–90%) → live chat/file/collab at zero infra storage1–few small VMs, CPU/RAM trivial, bandwidth tiny (addresses + ~KB offers)Reflector/signaling proposed (connectivity track)
2 — + Bounded fallbacksdata-relay (TURN/Mode C) for symmetric-NAT; inbox-relay (Mode S live) for offline deliverythe last ~10–20% of NATs; store-and-forward to offline peersbandwidth (data-relay) + storage (mailboxes) — the metered tier; bound itMode S ships; Mode C deferred

A minimal, budget-first deployment is Tier 0 + Tier 1 — a static reef plus one small tunnel VM. That already delivers live entity-chat between online peers. Add Tier 2 only for the two features (hard-NAT, offline) that justify their meter.

3. Per-role efficiency & scale playbook

3.1 Registry — the static reef (Tier 0)

3.2 STUN reflector — stateless echo (Tier 1, core path)

3.3 Signaling / rendezvous — transient tiny sessions (Tier 1, core path)

3.4 Data-relay (TURN / Mode C) — the bandwidth meter (Tier 2, fallback)

3.5 Inbox-relay (Mode S) — the storage meter (Tier 2, fallback)

4. The seed — what the distribution ships (ties it together)

A fresh peer is connected with zero live infrastructure via the preloaded seed (REGISTRY §7):

5. A worked budget deployment (the recommended minimum)

This deployment delivers live P2P entity-chat for the majority of users at object-storage + one-small-VM cost, degrades gracefully as budget flexes, and scales the cheap tiers effectively without bound.

References