Zitadel deployment and infrastructure

Production deployment choices for self-hosted Zitadel: Kubernetes, Docker Compose or binaries, PostgreSQL, caching, TLS, HTTP/2 proxies, domains and the masterkey.

Running Zitadel on Kubernetes with Helm in production

Moving from the Zitadel Helm quickstart to production: replacing the bundled PostgreSQL, ingress or Gateway API routing with h2c, cert-manager TLS, a real masterkey, separate Login deployment and resource requests.

Running Zitadel with Docker Compose

Deploying Zitadel with Docker Compose v2 for small production or staging: the API and login containers, PostgreSQL service, reverse proxy, masterkey and configuration files, and when to graduate to Kubernetes.

Running Zitadel as a Linux binary with systemd

Installing the Zitadel binary on Linux servers: init, setup and start phases as separate units, YAML configuration, an external PostgreSQL, TLS mode and upgrades by replacing the binary.

Adding a Redis or Valkey cache to Zitadel

Turning on Zitadel's beta object caches: Redis in standalone mode with a circuit breaker, PostgreSQL unlogged tables, in-memory caches for single servers, which objects to cache, and multi-region trade-offs.

Generating and protecting the Zitadel masterkey

Handling the 32-byte masterkey that encrypts Zitadel secrets at rest: generating it, storing it in a secrets manager or Kubernetes secret, passing it by file or environment, and why it cannot be rotated in place.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.