Deployment shapes
Single-node dev
Docker Compose on your laptop. Gateway + in-memory ledger + Console. 5-minute setup.
Single-node prod
Docker Compose on a small VM. Postgres + Redis + gateway + Console. Suitable for small teams and pilots.
Multi-node prod
Kubernetes. Horizontally scaled gateways behind a load balancer, external Postgres, external Redis. Production SLA.
Managed (soon)
SINT Labs runs the stack for you. Subscription. Contact [email protected].
Docker Compose (prod)
Railway
Railway is the fastest path to a hosted deployment.Create a Railway project
Connect your fork. Railway detects the
railway.json and provisions gateway + Postgres + Redis.Kubernetes
Helm charts live indeploy/helm/. Install:
Key generation
Before first deploy, generate the gateway’s signing key:docs/operations/key-rotation.md in the repo).
TEE attestation (production)
For production deployments on Intel SGX, AMD SEV-SNP, or AWS Nitro Enclaves, enable TEE-signed ledger writes:docs/operations/tee-setup.md for provider-specific configuration.
Monitoring
Gateway exposes Prometheus metrics at/v1/metrics. Recommended alerts:
| Alert | Condition | Severity |
|---|---|---|
| High T0 latency | histogram_quantile(0.99, intercept_latency{tier="T0"}) > 5ms | Warning |
| Ledger write failure | rate(ledger_write_failures[5m]) > 0.001 | Critical |
| Hash chain broken | chain_verification_failures > 0 | Critical |
| Approval SLA breach | rate(approval_timeouts[5m]) > 0.01 | Warning |
| CSML drift | abs(csml_delta[1h]) > 0.15 | Info |
deploy/grafana/.
Backup
Evidence ledger entries are append-only and hash-chained. Recommended backup:- Postgres: daily logical backup, 30-day retention
- Ledger export: hourly incremental export of new events to S3 with object-lock
- Key material: encrypted backup of
SINT_GATEWAY_KEYin a hardware vault
chain_verify before accepting the restored state.
Upgrade
In-place upgrades are supported within the same major version. SeeCHANGELOG.md and docs/operations/upgrade-guide.md for version-specific steps.