Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Cassandra on Microsoft Azure

This guide covers deploying Apache Cassandra on Microsoft Azure.

Use CaseVM SizevCPUsRAMNotes
DevelopmentStandard_D2s_v328GBTesting
Small ProdStandard_E4s_v3432GBSmall workloads
Standard ProdStandard_L8s_v2864GBNVMe storage
High PerfStandard_L16s_v216128GBHeavy workloads
# Managed Disk options
Premium_SSD:
iops: "Up to 20K"
throughput: "Up to 900 MB/s"
use_case: "General production"
Ultra_Disk:
iops: "Up to 160K"
throughput: "Up to 2000 MB/s"
use_case: "High performance"
# Lsv2 series includes NVMe
NVMe_local:
note: "Ephemeral, included with Lsv2"
# Terraform example
resource "azurerm_virtual_network" "cassandra" {
name = "cassandra-vnet"
address_space = ["10.0.0.0/16"]
location = var.location
resource_group_name = azurerm_resource_group.cassandra.name
}
resource "azurerm_subnet" "cassandra" {
count = 3
name = "cassandra-subnet-${count.index}"
resource_group_name = azurerm_resource_group.cassandra.name
virtual_network_name = azurerm_virtual_network.cassandra.name
address_prefixes = ["10.0.${count.index}.0/24"]
}
resource "azurerm_network_security_group" "cassandra" {
name = "cassandra-nsg"
location = var.location
resource_group_name = azurerm_resource_group.cassandra.name
security_rule {
name = "CQL"
priority = 100
direction = "Inbound"
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "9042"
source_address_prefix = "VirtualNetwork"
destination_address_prefix = "*"
}
security_rule {
name = "Internode"
priority = 110
direction = "Inbound"
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_ranges = ["7000", "7001"]
source_address_prefix = "VirtualNetwork"
destination_address_prefix = "*"
}
}
cassandra.yaml
# Note: Azure snitch is community-contributed
# Alternative: GossipingPropertyFileSnitch with manual config
endpoint_snitch: GossipingPropertyFileSnitch
cassandra-rackdc.properties
dc=azure-eastus
rack=zone1
Azure Availability Zone Deployment (East US)Azure Availability Zone Deployment (East US)Region: East USZone 1Zone 2Zone 3Node 1Node 2Node 3