Databases · head to head
AWS KMS vs DynamoDB

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

DynamoDB
Databases
AWS-only managed key-value and document database with fixed per-partition throughput limits and no ad hoc queries.
- From
- Free
- Free plan
- Yes
The short version
- DynamoDB has a free plan, then $0.625/mo; AWS KMS starts at $1/mo.
- Only AWS KMS lists service integration; only DynamoDB lists predictable latency.
- 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 DynamoDB differ?
AWS KMS and DynamoDB differ on starting price ($1/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS KMS and DynamoDB actually diverge.
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 10 only for DynamoDB. 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 DynamoDB
- Managed and serverless
- Predictable latency
- On-demand or provisioned capacity
- Global secondary indexes
- Transactions
- DynamoDB Streams
- Global tables
- Point-in-time recovery
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. 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 DynamoDB
- Signing artefacts or JWTs with asymmetric keys that never leave the HSMnot DynamoDB
- Encrypting application secrets and data keys with envelope encryptionnot DynamoDB
- Separating key administrators from data users with key policies and audit logsnot DynamoDB
DynamoDB
- High-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and knownnot AWS KMS
- Traffic that spikes unpredictably, where on-demand capacity absorbs a burst without a capacity-planning exercisenot AWS KMS
- Serverless applications on Lambda, where an HTTP-based datastore avoids the connection pooling problem relational databases havenot AWS KMS
- Event or telemetry ingestion where writes vastly outnumber reads and each record is retrieved by a known identifiernot AWS KMS
Where do AWS KMS and DynamoDB 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
DynamoDB
- Access patterns must be designed into the key schema before launch; a query nobody anticipated needs a new global secondary index, which is a full extra copy of the projected attributes billed as storage and as writes, or an offline migration
- Global secondary indexes are eventually consistent and cannot be read strongly, so a read-after-write against an index can legitimately miss the item that was just written, and application code must be written to tolerate that
- Per-partition throughput is capped at roughly 3,000 read and 1,000 write units, so a hot key throttles even when the table has spare capacity overall, and the only real fix is changing the key design to spread the load
- Items are limited to 400 KB and query results paginate at 1 MB, so large or list-shaped data has to be split, offloaded to S3 with a pointer, or read through pagination loops that complicate every consumer
- It runs only on AWS and the API is proprietary rather than a standard, so moving the data layer means rewriting it; ScyllaDB's Alternator is the only meaningfully compatible target and it brings a much smaller ecosystem
How much do AWS KMS and DynamoDB cost?
AWS KMS starts at $1/mo; DynamoDB has a free plan, with paid plans from $0.625/mo. 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
DynamoDB
Free- On-Demand CapacityOn request
- Pay-per-request pricing with automatic scaling
- Read: 0.5 RRU per 4 KB (eventually consistent), 1 RRU per 4 KB (strongly consistent), 2 RRU per 4 KB (transactional)
- Write: 1 WRU per 1 KB
- Provisioned CapacityOn request
- Fixed hourly charges based on reserved capacity
- RCU rate: $0.00013 per hour (Standard)
- WCU rate: $0.00065 per hour (Standard)
- Standard Table Class Storage$0.25/per gb/month
- $0.25 per GB/month after free tier
- First 25 GB free per month (free tier)
- Standard-Infrequent Access Table Class$0.1/per gb/month
- $0.10 per GB/month
Which should you pick?
Choose DynamoDB if
- You need managed and serverless.
- You want to start without paying.
- You work on AWS.
- You also want predictable latency.
Questions people ask
- Is AWS KMS or DynamoDB better?
- It depends on the job. AWS KMS fits meeting a compliance requirement for customer-controlled encryption keys on S3 and RDS; DynamoDB fits high-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and known. AWS KMS starts at $1/month and DynamoDB at Free.
- Which is cheaper, AWS KMS or DynamoDB?
- DynamoDB has a free tier; the other does not. Paid plans start at $1/month for AWS KMS and Free for DynamoDB.
- Does AWS KMS or DynamoDB run on more platforms?
- AWS KMS runs on Web. DynamoDB runs on AWS.
- Can I use DynamoDB for free?
- Yes. DynamoDB 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 DynamoDB is typically brought in for.
- What can AWS KMS do that DynamoDB cannot?
- AWS KMS covers Customer managed keys, Service integration, Automatic rotation, Custom key stores. DynamoDB covers Managed and serverless, Predictable latency, On-demand or provisioned capacity, Global secondary indexes.
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.
DynamoDB: On-demand or provisioned capacity?
On-demand suits unpredictable or spiky traffic and removes capacity planning. Provisioned with autoscaling is considerably cheaper for steady high-volume workloads. Tables can be switched between them, though not arbitrarily often.
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.
DynamoDB: Can I run DynamoDB outside AWS?
No. DynamoDB Local exists for development and testing only. For a production-compatible alternative elsewhere, ScyllaDB's Alternator implements the DynamoDB API, but it is a different system with a different ecosystem.
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.
DynamoDB: Can I run ad hoc queries or analytics?
Not on the table itself. Scans are slow and expensive at scale. The usual pattern is to export to S3 or stream changes out and query them in Athena, Redshift or another analytical engine.
DynamoDB: Is single-table design necessary?
It is the pattern that gets the most from DynamoDB when access patterns are well known, because it lets related items be retrieved in one query. It also makes the model harder to evolve, so many teams reasonably choose multiple simpler tables and accept extra requests.
DynamoDB: What are the real limits I should design around?
400 KB per item, 1 MB per query or scan page, 100 items per transaction, roughly 3,000 read and 1,000 write units per partition, and eventual consistency on global secondary indexes.
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 ScyllaDB
- AWS KMS vs FaunaDB
- AWS KMS vs Couchbase
- AWS KMS vs MongoDB
- AWS KMS vs Elasticsearch
- AWS KMS vs Cassandra
- AWS KMS vs Azure Cosmos DB
- AWS KMS vs Firestore
- AWS KMS vs DataStax
- AWS KMS vs Aerospike
- AWS KMS vs BigQuery
- AWS KMS vs Dremio
- AWS KMS vs Immuta
- AWS KMS vs InfluxDB
- AWS KMS vs Knack
- AWS KMS vs QuestDB
- AWS KMS vs MongoDB Atlas
- AWS KMS vs Firebase Realtime Database
- DynamoDB vs HashiCorp Vault
- DynamoDB vs Baffle
- DynamoDB vs Enpass
- DynamoDB vs Mullvad VPN
- DynamoDB vs IVPN
- DynamoDB vs Passbolt
- DynamoDB vs LastPass
- DynamoDB vs Private Internet Access
- DynamoDB vs TunnelBear
- DynamoDB vs Eagle Eye Networks
- DynamoDB vs Rhombus Systems
- DynamoDB vs Genetec Security Center
- DynamoDB vs Proofpoint Core Email Protection
- DynamoDB vs Rapid7 Incident Command
- DynamoDB vs Scalefusion UEM
- DynamoDB vs ServiceNow Security Operations
- DynamoDB vs Silent Eight
- DynamoDB vs Sophos Firewall
- DynamoDB vs ScyllaDB
- DynamoDB vs FaunaDB
- DynamoDB vs Couchbase
- DynamoDB vs MongoDB
- DynamoDB vs Elasticsearch
- DynamoDB vs Cassandra
- DynamoDB vs Azure Cosmos DB
- DynamoDB vs Firestore
- DynamoDB vs DataStax
- DynamoDB vs Aerospike
- DynamoDB vs BigQuery
- DynamoDB vs Dremio
- DynamoDB vs Immuta
- DynamoDB vs InfluxDB
- DynamoDB vs Knack
- DynamoDB vs QuestDB
- DynamoDB vs MongoDB Atlas
- DynamoDB vs Firebase Realtime Database
