Keycloak: pricing & deployment
Upstream self-hosted server · Apache-2.0
Compare the cost of a managed offer with the machines and staff you would need to run Keycloak yourself.
Reviewed edition
Upstream self-hosted server · Apache-2.0. The managed offer below is separate from the cost of operating this edition.
Read the edition cost briefHosting estimate for this edition
Production footprint
Keycloak describes a typical production cluster as two or more instances behind a reverse proxy or load balancer, with a production database. Route traffic only to instances that are ready to accept it.
No comparable single-host price was verified for this configuration. Request a quote against the workload below.
Workload, sizing and limits
- Workload
- Single-cluster sizing example: three Keycloak pods share 45 password logins/s, 360 client credential grants/s and 360 token refreshes/s. Each pod requests 3 vCPU and 1,250 MB RAM; its limits are 7.5 vCPU and 1,360 MB.
- Measurement notes
- Per-pod requests and limits in scope; no VM or persistent disk size specified.
- Other services
- The example uses a separate multi-AZ Aurora PostgreSQL database for sessions. The guide suggests a db.t4g.large or db.t4g.xlarge DB instance depending on acceptable peak latency.
- Limits
- This is a worked traffic mix, not the minimum for a small realm. For password logins alone, the guide allocates 1 cluster vCPU per 15 logins/s before peak headroom. Hashing settings and the mix of login and token traffic matter.
Operator work
In Keycloak’s CloudNativePG example, budget object storage for both scheduled PostgreSQL backups and archived write-ahead logs. Set the backup schedule to match how much recent data the organization can afford to lose.
Separate managed offer
Phase Two Hosted Keycloak — Starter
USD 149 / instance / month. Per dedicated cluster on AWS in AMER, EU or APAC after a 30-day free trial; cancel anytime. No user cap: the 5,000-active-user sizing assumes 30 logins and 1,000 token refreshes per active user per month. Best-effort 95% uptime target, not an SLA; applicable purchase taxes are the buyer’s responsibility.
Budget the pilot
Connect two test applications, sign in as a fictional directory user and check whether opening the second requires another login.
Check before you commit. Realm exports omit persisted sessions, user and administrator events, workflow state and revoked tokens; they cannot replace backups.
Use your service or infrastructure quote, setup hours and operating time to estimate the first year. Time the initial setup, one upgrade and restore drill, and routine administration before budgeting staff hours.