All workAndrew Cates.

Project 44 of 84

Hostinger Platform

Infrastructure-as-code (Terraform + Ansible) and operating record for moving the catesworks service portfolio off ~15 Render accounts (and Zitadel off Fly.io) onto self-managed Hostinger KVM VPSes running CapRover/Docker Swarm, plus the CI, secrets, backup and identity plumbing around them.

Status
Shipped
Area
Infra & Platform Ops
Last activity
2026
Stack
  • Hostinger KVM VPS
  • Ubuntu LTS
  • Docker Engine / Docker Swarm
  • CapRover
  • Ansible
  • Terraform
  • AWS ECR
  • 1Password

Highlights

  1. Consolidated services from 15 separate Render accounts onto a self-managed Hostinger VPS running CapRover, cutting over ~31 production APIs, workers, Redis and cron jobs service by service over 2026-09-16 to 09-18 using a reusable staged runbook (secrets to SSM, CI deploy with health gate, captain-subdomain verify, DNS flip, soak).
  2. Migrated the whole fleet (41 CapRover-managed services per the migration plan) from a CPU-bound KVM2 to a KVM4 box (Stage 4 complete 2026-09-19), and caught a fleet-wide gap where CI auto-deploy was still frozen on 20 repos after traffic moved, fixed by a ground-truth sweep and bulk re-enable.
  3. Built a schema-validated Ansible service catalog (74 entries) that drives CapRover apps, SSM-sourced env with pruning, domains, swarm secrets, encrypted overlay networks, named volumes and a hard-stop post-deploy health gate (HTTP or Docker HEALTHCHECK for origin-locked apps).
  4. Upgraded production Zitadel identity (id.fleetworks.dev) from v4.16.2 to v4.17.3 through a new arm / 24-hour veto / execute GitHub Actions workflow with a rehearsal stage, moving off versions with critical security advisories; later enabled native gRPC (h2c) through CapRover's nginx.
  5. Added a review-evidence CI gate that blocks merges on security-critical paths (Ansible, workflows, Zitadel config) until Architect and Critic approvals exist for the current head SHA, alongside schema, Python and Node test validation.
  6. Stood up a second, independent CapRover host for an AI-agent platform (AgentForge), isolated by Tailscale ACLs from the main fleet, with a persistent Postgres volume, nightly pg_dump into restic/Backblaze B2, a verified restore drill and Uptime Kuma push alerting.
  7. Ran self-hosted 1Password Connect tailnet-only and completed a 109-unit, 28-repo migration making 1Password the source of truth for backend, Vercel and mobile secrets; rotated all service-account tokens after an account sign-in change broke them.
  8. Declared and onboarded backends for seven new products (linkweave, formweave, bookweave, collectweave, dont-panic, uptimeloom, zitadel-emails) including STS signer/facade and MCP services, feeding each lesson back into a ~1,200-line onboarding skill; some entries were declared before being applied, so live state varies per service.
  9. Shipped an internal Docusaurus docs site with a manual, least-privilege Vercel deploy workflow on a dedicated self-hosted release runner group, keeping the deploy token out of install and build steps.