CockroachDB Self-Hosted
Self-hosted CockroachDB v26.x for resilient distributed SQL workloads needing serializable transactions and multi-zone survivability.
Medium — 20 to 100 TB usable capacity on a four-node erasure-coded cluster
Monthly cost
$22,518.75
Annual cost
$270,225/year
| Compute | $2,118.75 |
| Storage | $20,400.00 |
| Other | $0.00 |
Saves $21.02/mo (0%) across c4a-standard-16.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Storage Node | 4 × n4-standard-16 | 16 | 64 | 30 TB nvme |
This four-node MinIO architecture on Google Cloud supports usable storage capacities between 20 and 100 terabytes in the us-central1 region. Storage is the primary cost driver at this tier, totaling $20400.00 per month across four n4-standard-16 nodes. High availability is disabled, meaning a simultaneous node failure risks temporary data unavailability within the erasure-coded cluster topology.
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" "storage_node_1_data" {
count = 4
name = "minio-storage-node-1-data-${count.index + 1}"
type = "hyperdisk-balanced"
zone = local.zones[count.index % length(local.zones)]
size = 30000
}
resource "google_compute_instance" "storage_node_1" {
count = 4
name = "minio-storage-node-1-${count.index + 1}"
machine_type = "n4-standard-16"
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"
}
attached_disk {
source = google_compute_disk.storage_node_1_data[count.index].id
mode = "READ_WRITE"
}
labels = {
app = "minio"
role = "storage-node"
}
}
Reference architecture: MinIO for four-node-erasure-coded, version MinIO / AIStor erasure-coded reference topologies (post-Feb 2026 CE archive), retrieved November 11, 2026.
https://min.io/docs/minio/linux/operations/installation.html
Pricing: Google Cloud pricing snapshot, retrieved November 29, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on MinIO erasure-coded deployment topologies and public reference hardware guidance, translated into VM-based object-storage planning tiers.
Estimate excludes commercial AIStor subscription fees, raw-to-usable parity overhead, cross-site replication, and high-bandwidth egress charges.
Self-hosted CockroachDB v26.x for resilient distributed SQL workloads needing serializable transactions and multi-zone survivability.
Self-managed Couchbase Server Enterprise for distributed JSON data, caching, and full-text search workloads.
Self-managed EDB Postgres Advanced Server for enterprise PostgreSQL workloads with optional primary-standby HA.