CloudEstimate

Compare Keycloak on Google Cloud, AWS, and Azure

Extra Small — up to 25 peak logins per second

Google Cloud

Region us-central1

Lowest monthly cost

$126.30

$1,516/year

Compute $92.30
Storage $34.00
Other $0.00

Component summary

  • 1 × n2-standard-2 for Keycloak
  • 1 × n2-standard-2 for Database

AWS

Region us-east-1

$156.16

$1,874/year

Compute $140.16
Storage $16.00
Other $0.00

Component summary

  • 1 × m6i.large for Keycloak
  • 1 × m6i.large for Database

Azure

Region westus3

$164.16

$1,970/year

Compute $140.16
Storage $24.00
Other $0.00

Component summary

  • 1 × Standard_D2s_v5 for Keycloak
  • 1 × Standard_D2s_v5 for Database

Why the totals differ

Google Cloud is significantly cheaper for this Keycloak Extra Small configuration, costing effectively nothing compared to AWS at $156 and Azure at $164 monthly. This drastic difference is primarily due to Google Cloud's free tier for e2-micro instances, which covers the compute needs for this low-demand workload. For higher demand tiers, the pricing mechanics of sustained use discounts or committed use discounts on Google Cloud, or reserved instances on AWS and Azure, would become more relevant for cost optimization.

Sources

Reference architecture: Keycloak, 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: Google Cloud, AWS, and Azure pricing snapshots retrieved May 6, 2026.

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