CloudEstimate

Size Keycloak on AWS

Extra Small — up to 25 peak logins per second

Monthly cost

$156.16

Annual cost

$1,874/year

Line-item breakdown

Compute $140.16
Storage $16.00
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Keycloak 1 × m6i.large 2 8 100 GB
Database 1 × m6i.large 2 8 100 GB

Why this sizing

This Extra Small Keycloak deployment supports up to 25 peak logins per second using two m6i.large instances, one for Keycloak and one for the database. Compute instances are the primary cost driver, accounting for 90% of the total monthly cost. This configuration lacks high availability, meaning a single instance failure will result in downtime for the Keycloak service or its database.

Export

Share the current URL or copy the launch Terraform baseline.

Open generic AWS calculator
Google Cloud Terraform baseline
Terraform export is available for Google Cloud at launch. AWS and Azure are deferred to v1.5.

Related views

Sources

Reference architecture: Keycloak for single-node-small, version Keycloak current high-availability sizing guidance, retrieved April 13, 2026.

https://www.keycloak.org/high-availability/single-cluster/concepts-memory-and-cpu-sizing

Pricing: AWS pricing snapshot, retrieved May 9, 2026.

Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.

Not included in this estimate

  • Vendor licensing and support
  • Professional services
  • Network egress
  • Compliance controls
  • Backup storage
  • Monitoring

Based on Keycloak's official HA sizing concepts and translated into VM-based planning inputs for self-managed deployments.

Estimate excludes external IdPs, SMTP, user federation backends, separate caching infrastructure, and license costs for any commercial database choice.

Other workloads on AWS