Keycloak
Self-managed Keycloak for identity, authentication, SSO, and federation across internal and customer-facing apps.
Medium — regional production Vault or OpenBao cluster with moderate dynamic lease churn
Monthly cost
$1,536.72
Annual cost
$18,441/year
| Compute | $1,324.22 |
| Storage | $212.50 |
| Other | $0.00 |
Saves $13.14/mo (1%) across c4a-standard-8.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Vault Server | 5 × n4-standard-8 | 8 | 32 | 250 GB nvme |
This regional production sizing fits moderate dynamic lease churn workloads using a five-node cluster deployed in Google Cloud. The n4-standard-8 compute instances drive the monthly cost, totaling $1,324.22 out of $1,536.72. High availability is disabled in this configuration, requiring external redundancy mechanisms to maintain regional uptime during node failures.
Share the current URL or copy the Google Cloud Terraform / OpenTofu baseline.
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
required_version = ">= 1.6.0"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 6.0"
}
}
}
variable "project_id" {
description = "Google Cloud project ID for this deployment."
type = string
default = "replace-with-project-id"
}
provider "google" {
project = var.project_id
region = "us-central1"
}
locals {
zones = ["us-central1-a", "us-central1-b", "us-central1-c"]
}
# Generated for Google Cloud (us-central1) from the current estimate state.
resource "google_compute_disk" "vault_server_1_data" {
count = 5
name = "vault-vault-server-1-data-${count.index + 1}"
type = "hyperdisk-balanced"
zone = local.zones[count.index % length(local.zones)]
size = 250
}
resource "google_compute_instance" "vault_server_1" {
count = 5
name = "vault-vault-server-1-${count.index + 1}"
machine_type = "n4-standard-8"
zone = local.zones[count.index % length(local.zones)]
boot_disk {
initialize_params {
image = "projects/debian-cloud/global/images/family/debian-12"
size = 50
type = "hyperdisk-balanced"
}
}
network_interface {
network = "default"
access_config {}
}
attached_disk {
source = google_compute_disk.vault_server_1_data[count.index].id
mode = "READ_WRITE"
}
labels = {
app = "vault"
role = "vault-server"
}
}
Reference architecture: HashiCorp Vault / OpenBao for raft-five-node-standard, version Vault / OpenBao Integrated Storage (Raft) reference architecture, retrieved November 11, 2026.
https://developer.hashicorp.com/vault/tutorials/day-one-raft/raft-reference-architecture
Pricing: Google Cloud pricing snapshot, retrieved November 22, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on HashiCorp's published Integrated Storage (Raft) reference architecture (3- and 5-voter topologies).
Estimate excludes Vault Enterprise licensing, cloud KMS auto-unseal API calls, HSM appliances, and SIEM audit log storage.
Self-managed Keycloak for identity, authentication, SSO, and federation across internal and customer-facing apps.
Self-hosted Teleport for infrastructure identity, privileged access, Kubernetes access, and audited remote sessions.
Self-managed Confluent Platform 8.x (Apache Kafka 4.x KRaft) for durable event streaming, schema governance, and Connect pipelines.