Deployment Options
- Docker Compose for simplicity and small teams
- Kubernetes for HA, scaling, and standardized ops
- Single VM for quick pilots; add backups and monitoring
Kubernetes Basics
- Run
Deployment + Service behind an Ingress with TLS
- Persist
/home/node/.n8n via PersistentVolumeClaim
- Configure resource requests/limits; enable liveness/readiness probes
Postgres & Queue (Optional)
- Use Postgres to centralize state in multi‑instance setups
- Add a queue (e.g., Redis/RabbitMQ) for worker scaling patterns
Observability
- Export metrics to Prometheus; logs to a central store
- Trace webhook → workflow execution for incident debugging
Backups & DR
- Snapshot volumes and DB daily; test restore procedures