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 (staging VM CPX32), 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
4.9 KiB
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 — CPX32 (4 vCPU / 8 GB, booked 2026-09-11), 1 IPv4 |
≈ €12–16 | ≈ €12–16 |
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 | ≈ €17–25 | ≈ €65–110 |
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 (CPX32, booked 2026-09-11)
Decision: CPX32 (4 vCPU / 8 GB) instead of the 16 GB class. Consequence: staging runs the first-line stack with tight caps (≈ 6.1 GB committed, INFRASTRUCTURE.md §2) and without browserless/Chrome, soft-PLC and PLC-sim; the Werkbank runner is started only for runner tests. Scan types that need Chrome or the PLC targets are exercised on the production node later. If staging needs the full scan matrix, resize to CPX42/CX43 (a Hetzner rescale keeps the disk; ~5 min downtime).
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:
fsn1ornbg1— keep the platform in the same location as the core master for latency to Keycloak; Object Storage isnbg1regardless. - 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.