Databases · head to head
Azure Cosmos DB vs etcd

Azure Cosmos DB
Databases
Globally distributed, multi-model database service from Azure
- From
- Free
- Free plan
- Yes

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Azure Cosmos DB lists global Distribution; only etcd lists raft consensus.
- Where Azure Cosmos DB falls short: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used.
How do Azure Cosmos DB and etcd differ?
Azure Cosmos DB and etcd differ on pricing model (Usage-based against Open-source), platforms (Web, Azure against Web) and year founded (1975 against 2013). Only the attributes on which Azure Cosmos DB and etcd actually diverge.
| Attribute | Azure Cosmos DB | etcd |
|---|---|---|
| Pricing model | Usage-based | Open-source |
| Platforms | Web, Azure | Web |
| Founded | 1975 | 2013 |
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Which features does each one have?
They share no listed features; 14 appear only for Azure Cosmos DB and 8 only for etcd. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Azure Cosmos DB
- Global Distribution
- Multi-model APIs
- Elastic Scaling
- Five Consistency Levels
- SLA-backed Latency
- Automatic Indexing
- Serverless
- Azure Functions
Only in etcd
- Raft consensus
- Linearizable reads
- Transactions
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
What is each one used for?
Azure Cosmos DB is most often brought in for running a globally distributed multi model database on Azure; etcd for coordinating failover in a clustered database, as Patroni does for PostgreSQL. The jobs each tool is most often brought in to do.
Azure Cosmos DB
- Running a globally distributed multi model database on Azurenot etcd
- Serving low latency reads and writes from multiple Azure regionsnot etcd
- Storing document, key value and graph data behind a managed servicenot etcd
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot Azure Cosmos DB
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot Azure Cosmos DB
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot Azure Cosmos DB
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot Azure Cosmos DB
Where do Azure Cosmos DB and etcd fall short?
Azure Cosmos DB's most cited limit: autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Azure Cosmos DB
- Autoscale provisioned throughput enforces a minimum of 1,000 RU/s, billed hourly whether or not the database is used
- Provisioned throughput is charged in every region the account is replicated to, so multi region accounts multiply the RU bill
- Storage charges cover data, indexes and backups in each replicated region
- Egress out of Azure and between regions is charged, though ingress is free
- The free allowance is one account per Azure subscription, limited to 1,000 RU/s and 25 GB
- RU/s rates vary by region and are only shown through the pricing calculator rather than a flat published rate
etcd
- It is sized for coordination data, not application data: the default backend quota is 2 GB and 8 GB is the documented recommended maximum, and exceeding it puts the cluster into a NOSPACE alarm where it accepts no writes until an operator compacts, defragments and clears the alarm by hand
- Every write is replicated and fsynced before acknowledgement, so cluster performance is bounded by the slowest disk in it; a member on network-attached storage with high fsync latency causes leader elections and cluster-wide latency spikes that look like network problems and are not
- Adding members increases availability but reduces write throughput, because each write must reach a larger quorum; you run three or five members for fault tolerance, and increasing capacity means faster hardware rather than more nodes
- There is no sharding and no multi-tenancy, so isolating workloads means running separate clusters, each with its own quorum, certificates, backup schedule and upgrade path, and that operational multiplication is often unexpected
- Running it yourself is a real job: periodic compaction and defragmentation, snapshot backups you have actually rehearsed restoring, and rotation of both peer and client TLS certificates, none of which happens automatically outside a managed Kubernetes service
- Losing quorum is not self-healing; recovering a cluster that has lost a majority means restoring from a snapshot and accepting that everything written since that snapshot is gone, which makes backup frequency a data-loss budget decision rather than a routine setting
How much do Azure Cosmos DB and etcd cost?
Azure Cosmos DB is free to use; etcd is free to use. Plan by plan below, from each vendor's own pricing page.
Azure Cosmos DB
Free- Free TierFree
- 1000 RU/s
- 25GB storage
- First 12 months
- ServerlessFree
- Pay per request
- Auto-scaling
- Event-driven workloads
etcd
FreeNo published plan breakdown. See the etcd review.
Which should you pick?
Choose Azure Cosmos DB if
- You need global distribution.
- You want to start without paying.
- You work on Web, Azure.
- You also want multi-model apis.
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Questions people ask
- Is Azure Cosmos DB or etcd better?
- It depends on the job. Azure Cosmos DB fits running a globally distributed multi model database on Azure; etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing. Azure Cosmos DB starts at Free and etcd at Free.
- Which is cheaper, Azure Cosmos DB or etcd?
- Azure Cosmos DB starts at Free and etcd at Free.
- Does Azure Cosmos DB or etcd run on more platforms?
- Azure Cosmos DB runs on Web, Azure. etcd runs on Web.
- Can I use Azure Cosmos DB for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Azure Cosmos DB best used for?
- Azure Cosmos DB is most often used for running a globally distributed multi model database on azure, serving low latency reads and writes from multiple azure regions, storing document, key value and graph data behind a managed service. Of those, running a globally distributed multi model database on azure and serving low latency reads and writes from multiple azure regions are not what etcd is typically brought in for.
- What can Azure Cosmos DB do that etcd cannot?
- Azure Cosmos DB covers Global Distribution, Multi-model APIs, Elastic Scaling, Five Consistency Levels. etcd covers Raft consensus, Linearizable reads, Transactions, Leases.
Answered from the vendors’ own pages
Azure Cosmos DB: Is there a free tier for Azure Cosmos DB?
Yes, Cosmos DB offers a free tier with 1,000 RU/s of throughput and 25 GB of storage per month for the lifetime of the account, available to new accounts.
Sourceetcd: Can I use etcd as an application database?
No. It is designed for metadata and coordination, with a recommended maximum store size of around 8 GB, no sharding and a write path deliberately optimised for durability rather than throughput. Application data belongs in a database built for it.
Azure Cosmos DB: How is Cosmos DB priced after the free tier?
Cosmos DB uses three billing models: provisioned throughput billed per request unit per second, vCore pricing for certain APIs, or serverless consumption pricing where you pay only for requests processed. Reserved capacity offers 20% discount for one year or 30% for three years.
Sourceetcd: How many members should a cluster have?
Three for most cases, five where you need to survive two simultaneous failures. Always an odd number, because an even-sized cluster gains no additional fault tolerance while making quorum harder to reach.
Azure Cosmos DB: Can I change my pricing model after choosing one?
No. Once you select a compute pricing model and API, they cannot be changed. This choice is permanent for that database.
Sourceetcd: What happens when the store fills up?
The cluster raises a NOSPACE alarm and stops accepting writes, becoming effectively read-only. Recovery requires compacting old revisions, defragmenting each member and then explicitly disarming the alarm, all done by an operator.
Azure Cosmos DB: Is there a trial period for Cosmos DB beyond the free tier?
Azure offers a 30-day free trial account for all Azure services. Additionally, Azure AI customers may be eligible for a 90-day free Cosmos DB subscription through the Azure AI Advantage program.
Sourceetcd: Why is my etcd cluster slow or unstable?
Almost always disk latency. Because every write is fsynced before acknowledgement, slow or shared storage causes heartbeat timeouts, leader elections and cascading latency. Local SSDs with low fsync latency are effectively a requirement.
etcd: How does it compare with Consul or ZooKeeper?
All three provide consensus-backed coordination. etcd has the simplest data model and the Kubernetes ecosystem behind it; Consul bundles service discovery, health checking and a service mesh; ZooKeeper is older, JVM-based and still common under Kafka and Hadoop-era systems.
Related pages
More on Azure Cosmos DB
Other head to heads
- Azure Cosmos DB vs Google Cloud Spanner
- Azure Cosmos DB vs DataStax
- Azure Cosmos DB vs MongoDB
- Azure Cosmos DB vs RavenDB
- Azure Cosmos DB vs Amazon DocumentDB
- Azure Cosmos DB vs CockroachDB
- Azure Cosmos DB vs Couchbase
- Azure Cosmos DB vs Firestore
- Azure Cosmos DB vs Dgraph
- Azure Cosmos DB vs LanceDB
- Azure Cosmos DB vs Ninox
- Azure Cosmos DB vs SurrealDB
- Azure Cosmos DB vs Teradata
- Azure Cosmos DB vs Timeplus
- Azure Cosmos DB vs Vitess
- Azure Cosmos DB vs MongoDB Atlas
- Azure Cosmos DB vs DynamoDB
- Azure Cosmos DB vs Amazon Neptune
- Azure Cosmos DB vs Redis
- Azure Cosmos DB vs Valkey
- Azure Cosmos DB vs Firebase Realtime Database
- Azure Cosmos DB vs Knack
- Azure Cosmos DB vs BigQuery
- Azure Cosmos DB vs TiDB
- Azure Cosmos DB vs Turso
- Azure Cosmos DB vs turbopuffer
- Azure Cosmos DB vs Apache HBase
- Azure Cosmos DB vs StarRocks
- Azure Cosmos DB vs Aiven
- Azure Cosmos DB vs Meilisearch
- Azure Cosmos DB vs Apache Airflow
- Azure Cosmos DB vs Apache Pulsar
- Azure Cosmos DB vs Cassandra
- etcd vs Google Cloud Spanner
- etcd vs DataStax
- etcd vs MongoDB
- etcd vs RavenDB
- etcd vs Amazon DocumentDB
- etcd vs CockroachDB
- etcd vs Couchbase
- etcd vs Firestore
- etcd vs Dgraph
- etcd vs LanceDB
- etcd vs Ninox
- etcd vs SurrealDB
- etcd vs Teradata
- etcd vs Timeplus
- etcd vs Vitess
- etcd vs MongoDB Atlas
- etcd vs DynamoDB
- etcd vs Amazon Neptune
- etcd vs Redis
- etcd vs Valkey
- etcd vs Firebase Realtime Database
- etcd vs Knack
- etcd vs BigQuery
- etcd vs TiDB
- etcd vs Turso
- etcd vs turbopuffer
- etcd vs Apache HBase
- etcd vs StarRocks
- etcd vs Aiven
- etcd vs Meilisearch
- etcd vs Apache Airflow
- etcd vs Apache Pulsar
- etcd vs Cassandra
