Databases · head to head
Amazon DocumentDB vs AWS KMS

Amazon DocumentDB
Databases
Managed MongoDB-compatible document database service on AWS
- From
- On request
- Free plan
- No

AWS KMS
Databases
Managed encryption key service used by most AWS storage and database services
- From
- $1/month
- Free plan
- No
The short version
- Amazon DocumentDB is a managed document database on AWS.
- AWS KMS starts at $1/mo; Amazon DocumentDB prices on request.
- Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only AWS KMS lists automatic rotation.
- Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
- 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 Amazon DocumentDB and AWS KMS differ?
Amazon DocumentDB and AWS KMS differ on starting price (On request against $1/month) and pricing model. Only the attributes on which Amazon DocumentDB and AWS KMS actually diverge.
| Attribute | Amazon DocumentDB | AWS KMS |
|---|---|---|
| Starting price | On request | $1/month |
| Pricing model | Usage-based | Per key per month plus per 10,000 requests |
Identical on both: free tier (No), platforms (Web).
Not yet recorded: category for AWS KMS.
Which features does each one have?
They share no listed features; 8 appear only for Amazon DocumentDB and 6 only for AWS KMS. 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 Amazon DocumentDB
- MongoDB driver and tool compatibility
- Managed patching, backups and monitoring
- Serverless capacity scaling
- Elastic clusters
- Global clusters across up to 10 AWS Regions
- I/O-Optimized pricing configuration
- CloudWatch, IAM and AWS Backup integration
- Zero ETL to Amazon OpenSearch Service
Only in AWS KMS
- Customer managed keys
- Service integration
- Automatic rotation
- Custom key stores
- CloudTrail logging
- Envelope encryption
What is each one used for?
Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; AWS KMS for signing artefacts or JWTs with asymmetric keys that never leave the HSM. The jobs each tool is most often brought in to do.
Amazon DocumentDB
- Migrating MongoDB workloads to AWSnot AWS KMS
- Content and catalogue document storesnot AWS KMS
- Serverless document databases for variable loadnot AWS KMS
- Multi region read replicas for disaster recoverynot AWS KMS
AWS KMS
- Meeting a compliance requirement for customer-controlled encryption keys on S3 and RDSnot Amazon DocumentDB
- Signing artefacts or JWTs with asymmetric keys that never leave the HSMnot Amazon DocumentDB
- Encrypting application secrets and data keys with envelope encryptionnot Amazon DocumentDB
- Separating key administrators from data users with key policies and audit logsnot Amazon DocumentDB
Where do Amazon DocumentDB and AWS KMS fall short?
Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. AWS KMS's: 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.
Amazon DocumentDB
- Runs only on AWS; it cannot run on premises or across cloud providers
- Compatible with MongoDB rather than identical, with no time series collection support
- Cost combines instance, storage, I/O and backup charges, which are harder to forecast
- Free tier allowance lasts 30 days for new accounts and is excluded in some regions
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
How much do Amazon DocumentDB and AWS KMS cost?
AWS KMS starts at $1/mo. Plan by plan below, from each vendor's own pricing page.
Amazon DocumentDB
On requestNo published plan breakdown. See the Amazon DocumentDB review.
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
Which should you pick?
Choose Amazon DocumentDB if
- You need mongodb driver and tool compatibility.
- You also want managed patching, backups and monitoring.
Questions people ask
- Is Amazon DocumentDB or AWS KMS better?
- It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS. Amazon DocumentDB starts at On request and AWS KMS at $1/month.
- Which is cheaper, Amazon DocumentDB or AWS KMS?
- Amazon DocumentDB starts at On request and AWS KMS at $1/month.
- Does Amazon DocumentDB or AWS KMS run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- What is Amazon DocumentDB best used for?
- Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what AWS KMS is typically brought in for.
- What can Amazon DocumentDB do that AWS KMS cannot?
- Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores.
Answered from the vendors’ own pages
Amazon DocumentDB: Is DocumentDB the same as MongoDB?
No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.
SourceAWS 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.
Amazon DocumentDB: How is DocumentDB priced?
Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.
SourceAWS 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.
Amazon DocumentDB: Is there a free tier?
New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).
SourceAWS 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.
Amazon DocumentDB: Can it run outside AWS?
No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.
SourceRelated pages
More on Amazon DocumentDB
Other head to heads
- Amazon DocumentDB vs Azure Cosmos DB
- Amazon DocumentDB vs MongoDB
- Amazon DocumentDB vs Couchbase
- Amazon DocumentDB vs PlanetScale
- Amazon DocumentDB vs Neon
- Amazon DocumentDB vs BigQuery
- Amazon DocumentDB vs Upstash
- Amazon DocumentDB vs ScyllaDB
- Amazon DocumentDB vs Tinybird
- Amazon DocumentDB vs Aerospike
- Amazon DocumentDB vs Percona
- Amazon DocumentDB vs Apache Ignite
- Amazon DocumentDB vs DbVisualizer
- Amazon DocumentDB vs EDB Postgres
- Amazon DocumentDB vs etcd
- Amazon DocumentDB vs Exasol
- Amazon DocumentDB vs Azure Synapse Analytics
- Amazon DocumentDB vs MongoDB Atlas
- Amazon DocumentDB vs HashiCorp Vault
- Amazon DocumentDB vs Baffle
- Amazon DocumentDB vs Enpass
- Amazon DocumentDB vs Mullvad VPN
- Amazon DocumentDB vs IVPN
- Amazon DocumentDB vs Passbolt
- Amazon DocumentDB vs LastPass
- Amazon DocumentDB vs Private Internet Access
- Amazon DocumentDB vs TunnelBear
- Amazon DocumentDB vs Eagle Eye Networks
- Amazon DocumentDB vs Rhombus Systems
- Amazon DocumentDB vs Genetec Security Center
- Amazon DocumentDB vs Proofpoint Core Email Protection
- Amazon DocumentDB vs Rapid7 Incident Command
- Amazon DocumentDB vs Scalefusion UEM
- Amazon DocumentDB vs ServiceNow Security Operations
- Amazon DocumentDB vs Silent Eight
- Amazon DocumentDB vs Sophos Firewall
- AWS KMS vs Azure Cosmos DB
- AWS KMS vs MongoDB
- AWS KMS vs Couchbase
- AWS KMS vs PlanetScale
- AWS KMS vs Neon
- AWS KMS vs BigQuery
- AWS KMS vs Upstash
- AWS KMS vs ScyllaDB
- AWS KMS vs Tinybird
- AWS KMS vs Aerospike
- AWS KMS vs Percona
- AWS KMS vs Apache Ignite
- AWS KMS vs DbVisualizer
- AWS KMS vs EDB Postgres
- AWS KMS vs etcd
- AWS KMS vs Exasol
- AWS KMS vs Azure Synapse Analytics
- AWS KMS vs MongoDB Atlas
- 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
