Confluence Data Center
Self-managed Confluence Data Center 9.x for existing enterprise knowledge bases and collaborative editing ahead of the 2029 EOL.
Medium — 500 to 5,000 registered services with ingress and mesh gateways
Monthly cost
$716.07
Annual cost
$8,593/year
| Compute | $663.57 |
| Storage | $52.50 |
| Other | $0.00 |
Saves $202.36/mo (28%) across Standard_D2ps_v6.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Server | 5 × Standard_D2s_v6 | 2 | 8 | 100 GB ssd |
| Ingress Gateway | 2 × Standard_D2s_v6 | 2 | 8 | 50 GB ssd |
| Mesh Gateway | 2 × Standard_D2s_v6 | 2 | 8 | 50 GB ssd |
This tier supports workloads managing 500 to 5,000 registered services with ingress and mesh gateways across nine provisioned virtual machines in westus3. Compute dominates monthly expenses at $663.57 through nine Standard_D2s_v6 instances, while storage adds $52.50 for a total of $716.07. Operators must maintain a five-server deployment to preserve quorum during regional 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 = "consul-westus3-rg"
location = "westus3"
}
resource "azurerm_virtual_network" "workload" {
name = "consul-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" "server_1_nic" {
count = 5
name = "consul-server-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" "server_1" {
count = 5
name = "consul-server-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.server_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 = "consul"
role = "server"
}
}
resource "azurerm_managed_disk" "server_1_data" {
count = 5
name = "consul-server-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 = 100
zone = tostring((count.index % 3) + 1)
}
resource "azurerm_virtual_machine_data_disk_attachment" "server_1_attach" {
count = 5
managed_disk_id = azurerm_managed_disk.server_1_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.server_1[count.index].id
lun = 0
caching = "None"
}
resource "azurerm_network_interface" "ingress_gateway_2_nic" {
count = 2
name = "consul-ingress-gateway-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" "ingress_gateway_2" {
count = 2
name = "consul-ingress-gateway-2-${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.ingress_gateway_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 = "consul"
role = "ingress-gateway"
}
}
resource "azurerm_managed_disk" "ingress_gateway_2_data" {
count = 2
name = "consul-ingress-gateway-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 = 50
zone = tostring((count.index % 3) + 1)
}
resource "azurerm_virtual_machine_data_disk_attachment" "ingress_gateway_2_attach" {
count = 2
managed_disk_id = azurerm_managed_disk.ingress_gateway_2_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.ingress_gateway_2[count.index].id
lun = 0
caching = "None"
}
resource "azurerm_network_interface" "mesh_gateway_3_nic" {
count = 2
name = "consul-mesh-gateway-3-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" "mesh_gateway_3" {
count = 2
name = "consul-mesh-gateway-3-${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.mesh_gateway_3_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 = "consul"
role = "mesh-gateway"
}
}
resource "azurerm_managed_disk" "mesh_gateway_3_data" {
count = 2
name = "consul-mesh-gateway-3-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" "mesh_gateway_3_attach" {
count = 2
managed_disk_id = azurerm_managed_disk.mesh_gateway_3_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.mesh_gateway_3[count.index].id
lun = 0
caching = "None"
}
Reference architecture: Consul for five-server-medium, version Consul current production architecture guidance, retrieved April 13, 2026.
https://developer.hashicorp.com/consul/docs/architecture
Pricing: Azure pricing snapshot, retrieved November 29, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on Consul production architecture guidance and translated into VM-based planning tiers.
Estimate excludes application workload nodes, external L7 gateways, network transfer, and any HCP-managed alternatives.
Self-managed Confluence Data Center 9.x for existing enterprise knowledge bases and collaborative editing ahead of the 2029 EOL.
Self-managed Jira Data Center 10.x for existing enterprise issue tracking and service management estates ahead of the 2029 EOL.
Self-managed Kong Gateway 3.x LTS for high-throughput API ingress, AI gateway routing, and policy enforcement.