Skip to content

Production Deployment

Minimum production topology

RoleNode countNotes
INFRA1–3Prometheus / Grafana / DNS / package repo
ETCD3 or 5DCS (must be odd)
PGSQL3+1 primary + 2 replicas (satisfies HA)

Steps

  1. Plan — read architecture planning to decide node count, network zones, VIP strategy
  2. Prepare resources — follow the resource checklist for hosts, SSH, disks, firewalls
  3. Deployproduction install
  4. Validate in a sandbox — use the sandbox on Vagrant / VMs first
  5. Provision infrastructure (optional)Vagrant or Terraform

Reuse one of the production-ready templates:

  • trio.yml — three-node HA
  • full.yml — full production template
  • safe.yml — cross-AZ safety template
  • See config templates

Pre-launch checklist

  • [ ] etcd — all three nodes healthy
  • [ ] PG replication lag < 1s
  • [ ] pgBackRest — first full backup complete
  • [ ] Every Grafana dashboard has data
  • [ ] Alert webhook verified end-to-end
  • [ ] Performed one patronictl switchover drill
  • [ ] Firewall exposes only the business ports
  • [ ] All default passwords rotated

Going deeper

Released under the AGPL 3.0 License