CloudEstimate

Size Keycloak on Azure

Extra Small — up to 25 peak logins per second

Monthly cost

$164.16

Annual cost

$1,970/year

Line-item breakdown

Compute $140.16
Storage $24.00
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Keycloak 1 × Standard_D2s_v5 2 8 100 GB
Database 1 × Standard_D2s_v5 2 8 100 GB

Why this sizing

This Extra Small Keycloak deployment supports up to 25 peak logins per second on two Standard_D2s_v5 instances, with one acting as a warm standby. Compute costs, at $140.16 monthly, are the dominant factor, comprising 85% of the total. This configuration prioritizes cost efficiency for low-traffic scenarios by disabling high availability, meaning a single instance failure will cause downtime.

Export

Share the current URL or copy the launch Terraform baseline.

Open generic Azure 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: Azure pricing snapshot, retrieved May 6, 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 Azure