Elasticsearch Self-Managed
Self-managed Elasticsearch 8.16+ / 9.x (AGPLv3 / Elastic License) for full-text search, log analytics, and hybrid vector retrieval.
Medium — 100 GB to 1 TB hot data on a cluster with dedicated cluster managers
Monthly cost
$2,072.12
Annual cost
$24,865/year
| Compute | $1,674.62 |
| Storage | $397.50 |
| Other | $0.00 |
Saves $508.37/mo (25%) across Standard_E8ps_v6, Standard_D2ps_v6, Standard_D4ps_v6.
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Data Node | 3 × Standard_E8s_v6 | 8 | 64 | 1 TB nvme |
| Cluster Manager | 3 × Standard_D2s_v6 | 2 | 8 | 100 GB ssd |
| Coordinating Node | 2 × Standard_D4s_v6 | 4 | 16 | 100 GB ssd |
This sizing fits OpenSearch workloads managing 100 GB to 1000 GB of hot data on Azure in westus3. Compute drives the monthly cost at this tier, totaling $1674.62 out of $2072.12. The architecture provisions three Standard_E8s_v6 data nodes, three Standard_D2s_v6 cluster managers, and two Standard_D4s_v6 coordinating nodes on-demand.
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 = "opensearch-westus3-rg"
location = "westus3"
}
resource "azurerm_virtual_network" "workload" {
name = "opensearch-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 = "opensearch-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 = "opensearch-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 = "opensearch"
role = "data-node"
}
}
resource "azurerm_managed_disk" "data_node_1_data" {
count = 3
name = "opensearch-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" "cluster_manager_2_nic" {
count = 3
name = "opensearch-cluster-manager-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" "cluster_manager_2" {
count = 3
name = "opensearch-cluster-manager-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.cluster_manager_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 = "opensearch"
role = "cluster-manager"
}
}
resource "azurerm_managed_disk" "cluster_manager_2_data" {
count = 3
name = "opensearch-cluster-manager-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" "cluster_manager_2_attach" {
count = 3
managed_disk_id = azurerm_managed_disk.cluster_manager_2_data[count.index].id
virtual_machine_id = azurerm_linux_virtual_machine.cluster_manager_2[count.index].id
lun = 0
caching = "None"
}
resource "azurerm_network_interface" "coordinating_node_3_nic" {
count = 2
name = "opensearch-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 = "opensearch-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 = "opensearch"
role = "coordinating-node"
}
}
resource "azurerm_managed_disk" "coordinating_node_3_data" {
count = 2
name = "opensearch-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"
}
Reference architecture: OpenSearch for dedicated-cluster-manager-medium, version OpenSearch 3.x cluster tuning and sizing guidance, retrieved November 11, 2026.
https://docs.opensearch.org/docs/latest/tuning-your-cluster/
Pricing: Azure pricing snapshot, retrieved November 29, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on OpenSearch 3.x official cluster tuning guidance normalized to cloud VM shapes.
Estimate excludes OpenSearch Dashboards hosts, Data Prepper ingestion fleets, warm/cold remote-backed storage, and snapshot buckets.
Self-managed Elasticsearch 8.16+ / 9.x (AGPLv3 / Elastic License) for full-text search, log analytics, and hybrid vector retrieval.
Self-managed Confluent Platform 8.x (Apache Kafka 4.x KRaft) for durable event streaming, schema governance, and Connect pipelines.
Self-managed ClickHouse columnar OLAP and observability analytics cluster with ClickHouse Keeper coordination.