azurerm_ cosmosdb_ cassandra_ cluster cost estimation
A managed Apache Cassandra cluster billed per node-hour by VM SKU. Three Standard_DS14_v2 nodes run ~$4,419/month, node count and SKU drive the whole bill.
An azurerm_
The bill is simply node_
The levers are node count (the replication/availability target, don't over-provision beyond your consistency and throughput needs) and SKU (right-size to the per-node workload). Managed disks attached to nodes add to it.
c3x prices the cluster from node_
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "azurerm_cosmosdb_cassandra_cluster" "main" {
name = "cassandra-cluster"
resource_group_name = azurerm_resource_group.main.name
location = azurerm_resource_group.main.location
delegated_management_subnet_id = azurerm_subnet.cassandra.id
default_admin_password = var.admin_password
sku = "Standard_DS14_v2"
node_count = 3
}Pricing dimensions
What you actually pay for when you provision azurerm_.
| Dimension | Unit | What's being charged |
|---|---|---|
| Cassandra nodes | per node-hour | node_ $2.018/node-hour for Standard_DS14_v2 → 3 nodes ≈ $4,419.42/month |
| Managed disks | per disk-month | Storage attached to each node bills per managed-disk tier, on top of the node-hours. |
Sample C3X output
Three Standard_DS14_v2 nodes, 24/7:
azurerm_cosmosdb_cassandra_cluster.main
└─ Cassandra nodes (Standard_DS14_v2 × 3) 2190 node-hours $4,419.42
Monthly $4,419.42Optimization tips
Common ways to reduce azurerm_ cost without changing the workload.
Right-size the node SKU
~$2,200/month switching DS14_v2 → DS13_v2 (3 nodes)DS14_
Match node count to replication needs
~$1,473/month per DS14_v2 node removedEach node is a full-price VM. Run the node count your replication factor, consistency, and throughput actually require, not extra nodes for headroom that sits idle.
Reserve nodes for steady clusters
Up to ~60% on steady nodesThese are Azure VMs under the hood, so a reservation on the node SKU (1-3 year) discounts an always-on cluster significantly.
Consider the Cosmos DB Cassandra API for smaller workloads
Large for sub-scale workloadsManaged Cassandra runs dedicated nodes with a high floor. For smaller or variable workloads, the Cosmos DB Cassandra API (RU-based, serverless option) can be far cheaper than a multi-node dedicated cluster.
FAQ
Why is Managed Cassandra so expensive?
It runs dedicated VM nodes billed per node-hour, and Cassandra's distributed design means multiple nodes (three is a common minimum). At ~$2.018/node-hour for Standard_
How do I lower the cost?
Right-size the node SKU (DS13_
Is this the same as the Cosmos DB Cassandra API?
No. This is Azure Managed Instance for Apache Cassandra, dedicated VM nodes. The Cosmos DB Cassandra API is the RU-based, serverless-capable option. For smaller or variable workloads the API is usually cheaper; for large self-managed-style Cassandra, the managed cluster fits.
How does c3x estimate the cost?
From node_
Related resources
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including azurerm_.