Files
docs/COST_PLAN.md
T
Sharang ParnerkarandClaude Fable 5.1 c696be31ce
ci / shared (pull_request) Failing after 4s
docs: 2026-09 revision — single platform cluster, no embedding, ERP link, first-line products
Mirror of the Collectives specs (canonical) after the 2026-09-11 revision:

- PLATFORM_ARCHITECTURE: two clusters (core + breakpilot-platform), stage and
  prod on separate Hetzner VMs, fixed hosts with path-based tenants, Keycloak
  realms breakpilot-stage/prod on core, tenant-registry as entitlement
  authority, always-on ERPNext link, CLI licence model, first-line products
  Prüfwerk (+Werkbank), Werkpilot, Firmwerk
- INFRASTRUCTURE: Hetzner topology, per-node ingress (HTTP-01), stage
  isolation rules, backups, SLAs, failure scenarios, risks
- IMPLEMENTATION_PLAN: M-MIG-0 … M-MIG-9 migration milestones replace M0–M19
- PRODUCT_INTEGRATION_SPEC: contract 2.0 (standalone | headless | cli,
  registry entitlement check, usage event push, ladder statuses, licence
  contract, gap analysis for the four products)
- COST_PLAN: Hetzner, no commitments
- README: deployment table for app[-stage].breakpilot.com; links repointed

Removed: SysEleven, three-cluster split, PowerDNS/DNS-01, Stalwart,
Orca-Proxy container, web-component/widget contract, cdn.breakpilot.com,
custom domains, Stripe/Polar.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-11 12:26:09 +02:00

4.9 KiB
Raw Blame History

Cost Plan — Hetzner Infrastructure

Companion to INFRASTRUCTURE.md and IMPLEMENTATION_PLAN.md. Revised 2026-09-11: replaces the SysEleven plan (DUS2, 4 VMs / 3 clusters). The company runs on Hetzner Cloud already; the platform adds one Hetzner VM now (staging) and one later (production). All prices net EUR, exclusive of 19% VAT. Hetzner list prices change; every figure marked "≈" must be re-checked in the Hetzner console at booking time.


1. TL;DR

Item Now (staging only) After prod go-live
Core cluster (2 existing VMs, already paid) unchanged unchanged
bp-platform-stage — CX43/CPX41 class, 8 vCPU / 16 GB, 1 IPv4 ≈ €25–30 ≈ €25–30
bp-platform-prod — ≥ 16 GB, dedicated cores (CCX23/CCX33 class), 1 IPv4 — ≈ €40–65
Hetzner Volume for prod data (100 GB, €0.05/GB) — ≈ €5
Object Storage (backups + seed + exports, ~300 GB) ≈ €3–6 ≈ €6–12
Snapshots (2 VMs × ~40 GB, €0.012/GB) ≈ €1 ≈ €2
Strato domain + mail (existing) unchanged unchanged
Platform delta, net / month ≈ €30–40 ≈ €80–125

No commitments, no upfront payments: Hetzner bills hourly, monthly capped. Compare: the SysEleven plan was €307–549/mo plus €6,912 upfront.


2. What to use / what to skip

Service Use? Why
Cloud Servers (CX/CPX shared, CCX dedicated) Yes Shared vCPU is fine for staging; dedicated cores for prod (scan workloads, Chrome, Mongo).
Primary IPv4 per VM Yes Per-node ingress needs one public IPv4 per node (≈ €0.50–1/mo each).
Private Network Yes (free) Master ↔ agent Orca traffic; never expose 6880/6881 publicly.
Cloud Firewall Yes (free) Per-VM rules in §3 of INFRASTRUCTURE.md.
Snapshots Yes Weekly snapshot of each platform VM before prod; nightly for prod.
Volumes Later Attach when local NVMe > 60 %; dsms data on prod.
Object Storage (nbg1) Yes Already in use for core (bp-* buckets); one more bucket per cluster.
Load Balancer Later (Tier D) Only when a second prod app node exists.
Hetzner DNS No Zone stays at Strato (mail, existing records). Revisit only if Strato record limits bite.
Managed Kubernetes / any managed service No Orca orchestrates.
GPU servers No LiteLLM routes to external providers; add only for a paying dedicated-inference customer.

3. Sizing

Staging — bp-platform-stage (booked in M-MIG-3)

Committed memory of the full first-line stack ≈ 13 GB (INFRASTRUCTURE.md §2): portal, tenant-registry + Postgres, ERPNext mock, Prüfwerk (agent, dashboard, MCP, docs, Mongo, browserless/Chrome, soft-PLC, PLC-sim), Werkbank runner, Firmwerk cloud + Mongo, OTel agent, plus the Orca master itself. 16 GB is the floor; 8 GB would force dropping browserless and the PLC targets from staging. 8 vCPU keeps Rust builds of demo targets and Chrome-based scans from starving the portal.

Production — bp-platform-prod (sized in the production plan)

Same stack minus the mock, plus headroom for real scans and, after M-MIG-9, the dsms project (Postgres 17, IPFS, Qdrant, Ollama embed ≈ +6 GB). Start at 16 GB dedicated (CCX23 class) if dsms stays on the stage node for a while; otherwise 32 GB (CCX33 class). Decide at prod planning with 4 weeks of staging metrics from SigNoz.

Storage

Local NVMe of the flavors (80–160 GB) covers launch. Object storage grows with backups (30-day retention of nightly dumps ≈ 30 × dump size) and exports.


4. Growth tiers

Tier Customers Topology delta Platform compute ≈ €/mo
A ≤ 50 stage CX43 + prod CCX23/33 65–95
B 50–200 prod flavor bump; small control VM (CX23 class) as Orca master; prod Volume 110–160
C 200–500 split prod into app node + db node; Keycloak to its own core node 200–300
D 500+ second prod app node + Load Balancer; second S3 provider 350–500

5. Cost per customer

At Tier A the platform delta is ≈ €80–125/mo; one PLT-CORE-CLD-STD tenant (€290/mo) covers it. From Tier B onward infrastructure is < 3 % of revenue at the SKU-sheet prices; LLM passthrough (LiteLLM) and on-call time dominate the cost of goods, not compute.


6. Things to validate at booking

  • Exact flavor names and prices in the console (CX43 / CPX41 / CCX23 naming changes between generations).
  • Location: fsn1 or nbg1 — keep the platform in the same location as the core master for latency to Keycloak; Object Storage is nbg1 regardless.
  • IPv4 availability and price per primary IP.
  • Whether the company Hetzner project (the one holding the core servers and the bp-* buckets, migrated 2026-09-10) is used — it must be, for one invoice and one firewall set.

End of document. Revised 2026-09-11; re-check prices before each booking.