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
Extra Small — up to 25 peak logins per second
Region us-central1
Lowest monthly cost
$126.30
$1,516/year
| Compute | $92.30 |
| Storage | $34.00 |
| Other | $0.00 |
Component summary
Region us-east-1
$156.16
$1,874/year
| Compute | $140.16 |
| Storage | $16.00 |
| Other | $0.00 |
Component summary
Region westus3
$164.16
$1,970/year
| Compute | $140.16 |
| Storage | $24.00 |
| Other | $0.00 |
Component summary
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.
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.