CloudEstimate

Size Elasticsearch Self-Managed on Azure

Medium — 100 GB to 1 TB hot data on a dedicated master cluster

Monthly cost

$2,072.12

Annual cost

$24,865/year

Line-item breakdown

Compute $1,674.62
Storage $397.50
Other $0.00
Arm64 option (Azure Cobalt 100 (Dv6/Ev6 Arm)) $1,563.75/mo

Saves $508.37/mo (25%) across Standard_E8ps_v6, Standard_D2ps_v6, Standard_D4ps_v6.

Components provisioned

Role Instance vCPU GB RAM Storage
Data Node 3 × Standard_E8s_v6 8 64 1 TB nvme
Master Node 3 × Standard_D2s_v6 2 8 100 GB ssd
Coordinating Node 2 × Standard_D4s_v6 4 16 100 GB ssd

Why this sizing

This Elasticsearch self-managed medium deployment fits workloads with one hundred gigabytes to one terabyte of hot data on a dedicated master cluster in Azure westus3. Compute drives the monthly cost at seventeen hundred seventy-four dollars and sixty-two cents out of the twenty-hundred seventy-two dollar and twelve cent total. The architecture relies on three Standard_E8s_v6 instances to provide adequate memory and local NVMe storage for data nodes.

Export

Share the current URL or copy the Azure Terraform / OpenTofu baseline.

Open generic Azure calculator
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     = "elasticsearch-oss-westus3-rg"
  location = "westus3"
}

resource "azurerm_virtual_network" "workload" {
  name                = "elasticsearch-oss-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" "data_node_1_nic" {
  count               = 3
  name                = "elasticsearch-oss-data-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" "data_node_1" {
  count                 = 3
  name                  = "elasticsearch-oss-data-node-1-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_E8s_v6"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.data_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  = "elasticsearch-oss"
    role = "data-node"
  }
}

resource "azurerm_managed_disk" "data_node_1_data" {
  count                = 3
  name                 = "elasticsearch-oss-data-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         = 1000
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "data_node_1_attach" {
  count              = 3
  managed_disk_id    = azurerm_managed_disk.data_node_1_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.data_node_1[count.index].id
  lun                = 0
  caching            = "None"
}

resource "azurerm_network_interface" "master_node_2_nic" {
  count               = 3
  name                = "elasticsearch-oss-master-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" "master_node_2" {
  count                 = 3
  name                  = "elasticsearch-oss-master-node-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.master_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  = "elasticsearch-oss"
    role = "master-node"
  }
}

resource "azurerm_managed_disk" "master_node_2_data" {
  count                = 3
  name                 = "elasticsearch-oss-master-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         = 100
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "master_node_2_attach" {
  count              = 3
  managed_disk_id    = azurerm_managed_disk.master_node_2_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.master_node_2[count.index].id
  lun                = 0
  caching            = "None"
}

resource "azurerm_network_interface" "coordinating_node_3_nic" {
  count               = 2
  name                = "elasticsearch-oss-coordinating-node-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" "coordinating_node_3" {
  count                 = 2
  name                  = "elasticsearch-oss-coordinating-node-3-${count.index + 1}"
  location              = azurerm_resource_group.workload.location
  resource_group_name   = azurerm_resource_group.workload.name
  size                  = "Standard_D4s_v6"
  zone                  = tostring((count.index % 3) + 1)
  admin_username        = "azureuser"
  network_interface_ids = [azurerm_network_interface.coordinating_node_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  = "elasticsearch-oss"
    role = "coordinating-node"
  }
}

resource "azurerm_managed_disk" "coordinating_node_3_data" {
  count                = 2
  name                 = "elasticsearch-oss-coordinating-node-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         = 100
  zone                 = tostring((count.index % 3) + 1)
}

resource "azurerm_virtual_machine_data_disk_attachment" "coordinating_node_3_attach" {
  count              = 2
  managed_disk_id    = azurerm_managed_disk.coordinating_node_3_data[count.index].id
  virtual_machine_id = azurerm_linux_virtual_machine.coordinating_node_3[count.index].id
  lun                = 0
  caching            = "None"
}

Related views

Sources

Reference architecture: Elasticsearch Self-Managed for dedicated-master-medium, version Elasticsearch 9.x self-managed production settings (AGPLv3 restored in 8.16+), retrieved November 11, 2026.

https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html

Pricing: Azure pricing snapshot, retrieved November 29, 2026.

Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.

Not included in this estimate

  • Vendor licensing and support
  • Professional services
  • Network egress
  • Compliance controls
  • Backup storage
  • Monitoring

Based on Elastic's published self-managed heap, master quorum, and hot-tier operational guidance.

Estimate excludes Elastic commercial subscriptions, warm/cold/frozen searchable-snapshot tiers, Kibana hosts, ML nodes, and snapshot object storage.

Related workloads on Azure