Identity

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)

Official min RAM
2 GB
Official rec. RAM
not stated
Min CPU
2 cores
Rec. CPU
not stated
Measured idle RAM
866 MB
Measured disk
2331 MB
Containers
3
Measured peak RAM (sample load)
1146 MB

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

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