CockroachDB Self-Hosted
Self-hosted CockroachDB v26.x for resilient distributed SQL workloads needing serializable transactions and multi-zone survivability.
Medium — 100,000 to 400,000 writes per second and 1 to 5 million series
Monthly cost
$2,009.20
Annual cost
$24,110/year
| Compute | $1,397.95 |
| Storage | $611.25 |
| Other | $0.00 |
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Meta Node | 3 × Standard_D2s_v6 | 2 | 8 | 50 GB ssd |
| Data Node | 4 × Standard_D8s_v6 | 8 | 32 | 2 TB ssd |
This medium tier handles workloads between 100,000 and 400,000 writes per second alongside 1 to 5 million series for InfluxDB Enterprise on Azure westus3. Compute drives the monthly cost at 1,397.95 dollars out of the 2,009.20 dollar total, utilizing three meta-nodes and four data-nodes. Administrators must balance high availability requirements against quorum replication overhead across these dedicated node instances.
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 = "influxdb-enterprise-westus3-rg"
location = "westus3"
}
resource "azurerm_virtual_network" "workload" {
name = "influxdb-enterprise-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" "meta_node_1_nic" {
count = 3
name = "influxdb-enterprise-meta-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" "meta_node_1" {
count = 3
name = "influxdb-enterprise-meta-node-1-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
size = "Standard_D2s_v6"
zone = tostring((count.index % 3) + 1)
admin_username = "azureuser"
network_interface_ids = [azurerm_network_interface.meta_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 = "influxdb-enterprise"
role = "meta-node"
}
}
resource "azurerm_managed_disk" "meta_node_1_data" {
count = 3
name = "influxdb-enterprise-meta-node-1-data-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
storage_account_type = "StandardSSD_LRS"
create_option = "Empty"
disk_size_gb = 50
zone = tostring((count.index % 3) + 1)
}
resource "azurerm_virtual_machine_data_disk_attachment" "meta_node_1_attach" {
count = 3
managed_disk_id = azurerm_managed_disk.meta_node_1_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.meta_node_1[count.index].id
lun = 0
caching = "None"
}
resource "azurerm_network_interface" "data_node_2_nic" {
count = 4
name = "influxdb-enterprise-data-node-2-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" "data_node_2" {
count = 4
name = "influxdb-enterprise-data-node-2-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
size = "Standard_D8s_v6"
zone = tostring((count.index % 3) + 1)
admin_username = "azureuser"
network_interface_ids = [azurerm_network_interface.data_node_2_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 = "influxdb-enterprise"
role = "data-node"
}
}
resource "azurerm_managed_disk" "data_node_2_data" {
count = 4
name = "influxdb-enterprise-data-node-2-data-${count.index + 1}"
location = azurerm_resource_group.workload.location
resource_group_name = azurerm_resource_group.workload.name
storage_account_type = "StandardSSD_LRS"
create_option = "Empty"
disk_size_gb = 2000
zone = tostring((count.index % 3) + 1)
}
resource "azurerm_virtual_machine_data_disk_attachment" "data_node_2_attach" {
count = 4
managed_disk_id = azurerm_managed_disk.data_node_2_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.data_node_2[count.index].id
lun = 0
caching = "None"
}
Reference architecture: InfluxDB Enterprise for medium-rf2, version InfluxDB Enterprise v1 TSM sizing (with InfluxDB 3 Enterprise FDAP context), retrieved November 11, 2026.
https://docs.influxdata.com/enterprise_influxdb/v1/guides/hardware_sizing/
Pricing: Azure pricing snapshot, retrieved November 29, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on InfluxDB Enterprise v1 published hardware sizing guidelines normalized to cloud VM shapes.
Estimate excludes commercial InfluxDB Enterprise or InfluxDB 3 Enterprise licensing, object-store retention tiers, Kapacitor, and cross-zone network transfer.
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.