How much RAM does authentik need?
Self-hosted identity provider for single sign-on (SSO), with OAuth2/OIDC, SAML, LDAP and proxy providers. Official requirements, sourced, plus our own measurements.
Last updated: 2026-11-13
Pinned version: authentik 2026.8.5 (ghcr.io/goauthentik/server@sha256:602227a86455) + PostgreSQL 16 (postgres:16-alpine@sha256:f377d590e547)
Our measurement
866 MB idle RAM · 2331 MB disk (images 2248 + data 83) · server 481 MB, worker 314 MB, postgresql 72 MB
Official compose file with images pinned by digest (never latest). Docker socket mount removed from the worker (documented as optional). The admin account was created through the documented AUTHENTIK_BOOTSTRAP_PASSWORD and AUTHENTIK_BOOTSTRAP_TOKEN variables so the sample could use the API; no applications or providers were configured at idle.
Method: Compose file with image tags replaced by exact version+digest. Measured after a 5-minute settle as docker stats MEM USAGE, 3 samples 20 s apart (median). Disk = pulled image sizes + Docker volume after first start.
Host: 8 vCPU Intel Xeon VM, 16 GB RAM, Debian 13 (kernel 6.12), Docker 27.3.1 + Compose 2.40.2
Version: authentik 2026.8.5 (ghcr.io/goauthentik/server@sha256:602227a86455) + PostgreSQL 16 (postgres:16-alpine@sha256:f377d590e547) · Compose: source · Date: 2026-11-13
With sample data
866 MB idle RAM · 2376 MB disk · server 730 MB, worker 315 MB, postgresql 101 MB at the highest sample; settled at 1,131 MB (server 731 MB, worker 314 MB, postgresql 86 MB)
Peak RAM during processing: 1146 MB
Sample: Created 100 test users through the authentik API (each with a password), then logged each one in through the default authentication flow (identification and password stages) one after another. All 100 logins succeeded. No external applications or providers were connected.
The highest RAM sample was 1,146 MB and RAM had settled at 1,131 MB a minute after the last login: the server process kept most of the extra memory it used. Disk after the sample was 2,376 MB (2,248 MB images + 128 MB database volume). Real SSO traffic from many applications, LDAP/proxy outposts or large user directories will use more.
Method: Same setup and host as the idle measurement. Peak RAM = docker stats of all three containers (summed) polled about every 2 seconds from the first user creation until 60 seconds after the last login. Settled RAM = sum 60 seconds after the last login.
Version: authentik 2026.8.5 (ghcr.io/goauthentik/server:2026.8.5) · Date: 2026-11-13
Compare
What the official docs say
- The official Docker Compose installation page lists the requirement as a host with at least 2 CPU cores and 2 GB of RAM, and describes this method as for test setups and small-scale production setups.
- The official compose file runs three containers: PostgreSQL 16, the authentik server and the authentik worker. The worker mounts the Docker socket by default for automatic Outpost deployment; the docs say you can remove that mount and deploy outposts manually. We removed it for our test.
- By default authentik listens on port 9000 (HTTP) and 9443 (HTTPS). Initial setup is at http://<host>:9000, where you set the password for the akadmin user.
- The compose file references the latest release at download time (2026.8.5 on 2026-11-13); we pinned that version and the image digests.
Fits a 4GB server?
yesThe docs ask for 2 GB of RAM. We measured 866 MB idle and 1,146 MB at the highest sample while 100 users were created and logged in. Plus 512 MB for the OS that fits 4 GB. Plan more for many users, many applications or heavy flow use.
Sources
- Docker Compose installation (authentik docs) checked 2026-11-13
- Architecture (authentik docs) checked 2026-11-13
- authentik compose.yml checked 2026-11-13
- authentik version/2026.8.5 release checked 2026-11-13