# Production checklist

Source: https://dropshelf.ai/docs/self-host/install/production-checklist

The checks to make on a dropshelf instance before real users arrive, each with a link to where it is explained.

Go through this list after you [install dropshelf with Helm](/docs/self-host/install/helm) and before
members start publishing. Each check links to the page that explains it.

## Release and data [#release-and-data]

- [ ] The chart is installed with a fixed `--version`, and `image.tag` is empty or names a release. See [Helm chart values: image](/docs/reference/helm-values#image).
- [ ] `migrations.mode` is chosen: `startup` in every pod, or `job` before each install and upgrade. See [Install with Helm](/docs/self-host/install/helm).
- [ ] `storage.driver` is `s3`, `gcs` or `azure`. On the chart, the `fs` driver loses every file with the pod. See [Object storage](/docs/self-host/configure/storage).
- [ ] Postgres is backed up on a schedule, and you have restored a backup once. See [Back up and restore](/docs/self-host/operate/backup).
- [ ] The bucket has versioning or replication if deleted drops must be recoverable. See [Back up and restore](/docs/self-host/operate/backup).

## Network and TLS [#network-and-tls]

- [ ] TLS covers `drop.example.com` and `*.drop.example.com`, and both answer over HTTPS. See [Domains and TLS](/docs/self-host/configure/domains-and-tls).
- [ ] `server.publicBaseURL` starts with `https://`. See [Configuration: server](/docs/reference/configuration#server).
- [ ] `server.trustedProxies` is your ingress controller's pod range, so the logs record client addresses. See [Configuration: server](/docs/reference/configuration#server).
- [ ] The ingress accepts bodies larger than `deploy.maxZipBytes`, 100 MiB by default. With ingress-nginx, `ingress.nginx.proxyBodySize` sets it. See [Helm chart values: ingress](/docs/reference/helm-values#ingress).
- [ ] The ingress read and send timeouts cover `server.timeouts.upload`, 15 minutes by default. With ingress-nginx, `ingress.nginx` sets them. See [Helm chart values: ingress](/docs/reference/helm-values#ingress).
- [ ] The ingress serves HTTP/2 if drop data is on. See [Turn on features](/docs/self-host/configure/features).

## Sign-in and secrets [#sign-in-and-secrets]

- [ ] `auth.admins.emails` lists at least one person. See [Identity provider](/docs/self-host/configure/identity-provider).
- [ ] `auth.oidc.requireVerifiedEmail` stays `true`; the server refuses to start with `false`. See [Identity provider](/docs/self-host/configure/identity-provider).
- [ ] `auth.oidc.assumeEmailVerified` is `true` only if your directory controls every address it admits, guests included. See [Identity provider](/docs/self-host/configure/identity-provider).
- [ ] Each session secret is at least 32 bytes. See [Install with Helm](/docs/self-host/install/helm).
- [ ] You have a schedule for rotating session secrets, including the pod restart that picks up a changed Secret. See [Rotate secrets](/docs/self-host/operate/rotate-secrets).

## Capacity and availability [#capacity-and-availability]

- [ ] At least two replicas run, and `podDisruptionBudget.enabled` is `true`. The chart renders no budget below two replicas. See [Helm chart values: podDisruptionBudget](/docs/reference/helm-values#poddisruptionbudget).
- [ ] `volumes.spool.sizeLimit` has room for concurrent uploads, including visitors' files if uploaded assets are on. See [Helm chart values: volumes](/docs/reference/helm-values#volumes).
- [ ] `config.cache.maxBytes` stays below `volumes.cache.sizeLimit`, and the two move together. See [Helm chart values: volumes](/docs/reference/helm-values#volumes).
- [ ] `resources.requests.ephemeral-storage` equals the two volume size limits together. See [Helm chart values: pods and scheduling](/docs/reference/helm-values#pods-and-scheduling).
- [ ] `terminationGracePeriodSeconds` is above `server.timeouts.shutdown`, 60 seconds against 50 by default. See [Helm chart values](/docs/reference/helm-values#pods-and-scheduling).

## Monitoring [#monitoring]

- [ ] Prometheus scrapes `/metrics` on port 9090, through the pod annotations or `metrics.serviceMonitor`. See [Monitor](/docs/self-host/operate/monitor).
- [ ] The pods' logs are collected, since each change writes one event line there. See [Monitor](/docs/self-host/operate/monitor).
