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
$16,753.52
Annual cost
$201,042/year
| Compute | $2,353.52 |
| Storage | $14,400.00 |
| Other | $0.00 |
Saves $712.48/mo (4%) across Standard_D16ps_v6.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Storage Node | 4 × Standard_D16s_v6 | 16 | 64 | 30 TB nvme |
This four-node erasure-coded MinIO deployment on Azure westus3 supports workloads ranging from 20 to 100 terabytes of usable capacity with high availability disabled. Storage drives the monthly cost at fourteen thousand four hundred dollars out of a total sixteen thousand seven hundred fifty-three dollars and fifty-two cents. Compute provisioned via four Standard_D16s_v6 instances costs two thousand three hundred fifty-three dollars and fifty-two cents monthly. Disabling high availability reduces redundancy risks, requiring manual intervention during node failures.
Share the current URL or copy the Azure Terraform / OpenTofu baseline.
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
required_version = ">= 1.6.0"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 4.0"
}
}
}
variable "ssh_public_key" {
description = "SSH public key installed on Linux virtual machines."
type = string
default = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG5vplaceholderreplacebeforeapply00000000000 azureuser@example"
}
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "workload" {
name = "minio-westus3-rg"
location = "westus3"
}
resource "azurerm_virtual_network" "workload" {
name = "minio-vnet"
address_space = ["10.42.0.0/16"]
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
}
resource "azurerm_subnet" "workload" {
name = "workload-internal"
resource_group_name = azurerm_resource_group.workload.name
virtual_network_name = azurerm_virtual_network.workload.name
address_prefixes = ["10.42.1.0/24"]
}
# Generated for Azure (westus3) from the current estimate state.
resource "azurerm_network_interface" "storage_node_1_nic" {
count = 4
name = "minio-storage-node-1-nic-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
ip_configuration {
name = "internal"
subnet_id = azurerm_subnet.workload.id
private_ip_address_allocation = "Dynamic"
}
}
resource "azurerm_linux_virtual_machine" "storage_node_1" {
count = 4
name = "minio-storage-node-1-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
size = "Standard_D16s_v6"
zone = tostring((count.index % 3) + 1)
admin_username = "azureuser"
network_interface_ids = [azurerm_network_interface.storage_node_1_nic[count.index].id]
admin_ssh_key {
username = "azureuser"
public_key = var.ssh_public_key
}
os_disk {
caching = "ReadWrite"
storage_account_type = "StandardSSD_LRS"
disk_size_gb = 50
}
source_image_reference {
publisher = "Debian"
offer = "debian-12"
sku = "12-gen2"
version = "latest"
}
tags = {
app = "minio"
role = "storage-node"
}
}
resource "azurerm_managed_disk" "storage_node_1_data" {
count = 4
name = "minio-storage-node-1-data-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
storage_account_type = "Premium_LRS"
create_option = "Empty"
disk_size_gb = 30000
zone = tostring((count.index % 3) + 1)
}
resource "azurerm_virtual_machine_data_disk_attachment" "storage_node_1_attach" {
count = 4
managed_disk_id = azurerm_managed_disk.storage_node_1_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.storage_node_1[count.index].id
lun = 0
caching = "None"
}
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: Azure 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.