Databases · head to head
AWS KMS vs etcd

AWS KMS
Databases
Managed encryption key service used by most AWS storage and database services
- From
- $1/month
- Free plan
- No

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
- etcd is free; AWS KMS starts at $1/mo.
- Only AWS KMS lists customer managed keys; only etcd lists raft consensus.
- Where AWS KMS falls short: every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests.
How do AWS KMS and etcd differ?
AWS KMS and etcd differ on starting price ($1/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS KMS and etcd actually diverge.
Identical on both: platforms (Web).
Not yet recorded: category for AWS KMS, founded for AWS KMS.
Which features does each one have?
They share no listed features; 6 appear only for AWS KMS 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 AWS KMS
- Customer managed keys
- Service integration
- Automatic rotation
- Custom key stores
- CloudTrail logging
- Envelope encryption
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?
AWS KMS is most often brought in for signing artefacts or JWTs with asymmetric keys that never leave the HSM; etcd for coordinating failover in a clustered database, as Patroni does for PostgreSQL. The jobs each tool is most often brought in to do.
AWS KMS
- Meeting a compliance requirement for customer-controlled encryption keys on S3 and RDSnot etcd
- Signing artefacts or JWTs with asymmetric keys that never leave the HSMnot etcd
- Encrypting application secrets and data keys with envelope encryptionnot etcd
- Separating key administrators from data users with key policies and audit logsnot etcd
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot AWS KMS
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot AWS KMS
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot AWS KMS
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot AWS KMS
Where do AWS KMS and etcd fall short?
AWS KMS's most cited limit: per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS KMS
- Cost grows with key count, so organisations that create one key per tenant or per object class pay $1 per month for each one, including the keys they forgot
- Every decrypt call is a billed request, and workloads that call KMS for each record can accumulate millions of billable requests
- Per-account request quotas can throttle high-volume workloads, forcing data key caching or architectural workarounds
- Keys are tied to AWS, so using the same keys with other clouds or on-premises systems needs external key stores or a separate tool such as HashiCorp Vault
- Key policies and grants interact with IAM in non-obvious ways, and a misconfigured policy can lock administrators out of a key
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 AWS KMS and etcd cost?
AWS KMS starts at $1/mo; etcd is free to use. Plan by plan below, from each vendor's own pricing page.
AWS KMS
$1/month- Customer managed key$1/mo
- $1 per key per month, prorated hourly
- Same price for symmetric, asymmetric, HMAC and multi-Region keys
- First and second rotation each add $1 per month
- RequestsOn request
- $0.03 per 10,000 requests
- 20,000 free requests per month
- $0.15 per 10,000 for most asymmetric requests, $12.00 per 10,000 for RSA GenerateDataKeyPair
etcd
FreeNo published plan breakdown. See the etcd review.
Which should you pick?
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Questions people ask
- Is AWS KMS or etcd better?
- It depends on the job. AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS; etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing. AWS KMS starts at $1/month and etcd at Free.
- Which is cheaper, AWS KMS or etcd?
- etcd has a free tier; the other does not. Paid plans start at $1/month for AWS KMS and Free for etcd.
- Does AWS KMS or etcd run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use etcd for free?
- Yes. etcd has a free tier, so you can try it without paying. AWS KMS starts at $1/month.
- What is AWS KMS best used for?
- AWS KMS is most often used for meeting a compliance requirement for customer-controlled encryption keys on s3 and rds, signing artefacts or jwts with asymmetric keys that never leave the hsm, encrypting application secrets and data keys with envelope encryption, separating key administrators from data users with key policies and audit logs. Of those, meeting a compliance requirement for customer-controlled encryption keys on s3 and rds and signing artefacts or jwts with asymmetric keys that never leave the hsm are not what etcd is typically brought in for.
- What can AWS KMS do that etcd cannot?
- AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores. etcd covers Raft consensus, Linearizable reads, Transactions, Leases.
Answered from the vendors’ own pages
AWS KMS: How much does AWS KMS cost?
$1 per month per customer managed key, $0.03 per 10,000 requests, and a free tier of 20,000 requests per month, per the AWS pricing page.
etcd: 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.
AWS KMS: Are AWS managed keys free?
Keys that AWS services create on your behalf (AWS managed keys) have no monthly fee; usage charges for requests may still apply as shown on the pricing page.
etcd: 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.
AWS KMS: What is the difference between KMS and CloudHSM?
KMS is a multi-tenant key service integrated with AWS services. CloudHSM gives you dedicated single-tenant HSMs, and in the AWS example a two-HSM cluster costs $1.60 per HSM per hour.
etcd: 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.
etcd: 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
Other head to heads
- AWS KMS vs HashiCorp Vault
- AWS KMS vs Baffle
- AWS KMS vs Enpass
- AWS KMS vs Mullvad VPN
- AWS KMS vs IVPN
- AWS KMS vs Passbolt
- AWS KMS vs LastPass
- AWS KMS vs Private Internet Access
- AWS KMS vs TunnelBear
- AWS KMS vs Eagle Eye Networks
- AWS KMS vs Rhombus Systems
- AWS KMS vs Genetec Security Center
- AWS KMS vs Proofpoint Core Email Protection
- AWS KMS vs Rapid7 Incident Command
- AWS KMS vs Scalefusion UEM
- AWS KMS vs ServiceNow Security Operations
- AWS KMS vs Silent Eight
- AWS KMS vs Sophos Firewall
- AWS KMS vs Redis
- AWS KMS vs Valkey
- AWS KMS vs DynamoDB
- AWS KMS vs Timeplus
- AWS KMS vs Firebase Realtime Database
- AWS KMS vs Knack
- AWS KMS vs BigQuery
- AWS KMS vs TiDB
- AWS KMS vs Turso
- AWS KMS vs Dgraph
- AWS KMS vs turbopuffer
- AWS KMS vs Apache HBase
- AWS KMS vs Fivetran HVR
- AWS KMS vs Grafana Mimir
- AWS KMS vs IBM Informix
- AWS KMS vs Marqo
- AWS KMS vs Google Cloud Spanner
- AWS KMS vs IBM watsonx.data
- etcd vs HashiCorp Vault
- etcd vs Baffle
- etcd vs Enpass
- etcd vs Mullvad VPN
- etcd vs IVPN
- etcd vs Passbolt
- etcd vs LastPass
- etcd vs Private Internet Access
- etcd vs TunnelBear
- etcd vs Eagle Eye Networks
- etcd vs Rhombus Systems
- etcd vs Genetec Security Center
- etcd vs Proofpoint Core Email Protection
- etcd vs Rapid7 Incident Command
- etcd vs Scalefusion UEM
- etcd vs ServiceNow Security Operations
- etcd vs Silent Eight
- etcd vs Sophos Firewall
- etcd vs Redis
- etcd vs Valkey
- etcd vs DynamoDB
- etcd vs Timeplus
- etcd vs Firebase Realtime Database
- etcd vs Knack
- etcd vs BigQuery
- etcd vs TiDB
- etcd vs Turso
- etcd vs Dgraph
- etcd vs turbopuffer
- etcd vs Apache HBase
- etcd vs Fivetran HVR
- etcd vs Grafana Mimir
- etcd vs IBM Informix
- etcd vs Marqo
- etcd vs Google Cloud Spanner
- etcd vs IBM watsonx.data
