Databases · head to head
Amazon ElastiCache vs DynamoDB

Amazon ElastiCache
Databases
AWS managed in-memory cache for Valkey, Redis OSS and Memcached
- From
- On request
- 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
- Amazon ElastiCache is an AWS managed in-memory caching service compatible.
- DynamoDB has a free plan, then $0.625/mo; Amazon ElastiCache starts at $0.084/mo.
- Only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines; only DynamoDB lists predictable latency.
- Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
How do Amazon ElastiCache and DynamoDB differ?
Amazon ElastiCache and DynamoDB differ on starting price (On request against Free), free tier (No against Yes) and platforms (Web against AWS). Only the attributes on which Amazon ElastiCache and DynamoDB actually diverge.
| Attribute | Amazon ElastiCache | DynamoDB |
|---|---|---|
| Starting price | On request | Free |
| Free tier | No | Yes |
| Platforms | Web | AWS |
Identical on both: pricing model (Usage-based), category (Databases).
Not yet recorded: founded for Amazon ElastiCache.
Which features does each one have?
They share no listed features; 8 appear only for Amazon ElastiCache 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 Amazon ElastiCache
- Valkey, Redis OSS and Memcached engines
- Serverless caching
- Global Datastore cross-Region replication
- Durability options
- Semantic and prompt caching for AI workloads
- Encryption at rest and in transit
- IAM access control and VPC isolation
- Reserved nodes and Savings Plans
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?
Amazon ElastiCache is most often brought in for session and page caching for web apps. The jobs each tool is most often brought in to do.
Amazon ElastiCache
- Session and page caching for web appsnot DynamoDB
- Leaderboards using sorted setsnot DynamoDB
- Caching LLM prompts and semantic resultsnot DynamoDB
- Reducing load on primary databasesnot DynamoDB
DynamoDB
- High-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and knownnot Amazon ElastiCache
- Traffic that spikes unpredictably, where on-demand capacity absorbs a burst without a capacity-planning exercisenot Amazon ElastiCache
- Serverless applications on Lambda, where an HTTP-based datastore avoids the connection pooling problem relational databases havenot Amazon ElastiCache
- Event or telemetry ingestion where writes vastly outnumber reads and each record is retrieved by a known identifiernot Amazon ElastiCache
Where do Amazon ElastiCache and DynamoDB fall short?
Amazon ElastiCache's most cited limit: runs only inside AWS, so it is not usable on premises or in other clouds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon ElastiCache
- Runs only inside AWS, so it is not usable on premises or in other clouds
- Partial hours are billed as full hours for on-demand nodes
- Redis OSS Extended Support carries an 80% premium in years 1 and 2
- Reserved node discounts are not available with Serverless
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 Amazon ElastiCache and DynamoDB cost?
Amazon ElastiCache starts at $0.084/mo; DynamoDB has a free plan, with paid plans from $0.625/mo. Plan by plan below, from each vendor's own pricing page.
Amazon ElastiCache
On request- Serverless Valkey data storage (per GB-hour)$0.084/hour
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 Amazon ElastiCache if
- You need valkey, redis oss and memcached engines.
- You also want serverless caching.
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 Amazon ElastiCache or DynamoDB better?
- It depends on the job. Amazon ElastiCache fits session and page caching for web apps; DynamoDB fits high-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and known. Amazon ElastiCache starts at On request and DynamoDB at Free.
- Which is cheaper, Amazon ElastiCache or DynamoDB?
- DynamoDB has a free tier; the other does not. Paid plans start at On request for Amazon ElastiCache and Free for DynamoDB.
- Does Amazon ElastiCache or DynamoDB run on more platforms?
- Amazon ElastiCache 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. Amazon ElastiCache starts at On request.
- What is Amazon ElastiCache best used for?
- Amazon ElastiCache is most often used for session and page caching for web apps, leaderboards using sorted sets, caching llm prompts and semantic results, reducing load on primary databases. Of those, session and page caching for web apps and leaderboards using sorted sets are not what DynamoDB is typically brought in for.
- What can Amazon ElastiCache do that DynamoDB cannot?
- Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options. DynamoDB covers Managed and serverless, Predictable latency, On-demand or provisioned capacity, Global secondary indexes.
Answered from the vendors’ own pages
Amazon ElastiCache: Which engines does ElastiCache support?
It supports Valkey, Redis OSS and Memcached.
SourceDynamoDB: 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.
Amazon ElastiCache: How is ElastiCache priced?
Options are on-demand nodes billed per node-hour, serverless billed by GB-hours of data and ECPUs, Database Savings Plans, and reserved nodes with 1 or 3 year terms. There is no minimum fee for on-demand or serverless.
SourceDynamoDB: 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.
Amazon ElastiCache: Is there a free tier?
For accounts created before 15 July 2025, 750 hours a month of cache.t3.micro for up to 12 months. Newer accounts choose a Free or Paid Plan that includes 100 dollars in credits.
SourceDynamoDB: 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.
Amazon ElastiCache: When did it launch?
ElastiCache launched on 22 August 2011 with Memcached, adding Redis in September 2013.
SourceDynamoDB: 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
More on Amazon ElastiCache
Other head to heads
- Amazon ElastiCache vs Valkey
- Amazon ElastiCache vs Memcached
- Amazon ElastiCache vs Redis
- Amazon ElastiCache vs Dragonfly
- Amazon ElastiCache vs Readyset
- Amazon ElastiCache vs SAP HANA
- Amazon ElastiCache vs SingleStore
- Amazon ElastiCache vs PlanetScale
- Amazon ElastiCache vs Neon
- Amazon ElastiCache vs Aiven
- Amazon ElastiCache vs MongoDB Atlas
- Amazon ElastiCache vs Chroma
- Amazon ElastiCache vs Microsoft SQL Server
- Amazon ElastiCache vs Redpanda
- Amazon ElastiCache vs Trino
- Amazon ElastiCache vs Upstash
- Amazon ElastiCache vs Apache Flink
- Amazon ElastiCache vs OpenSearch
- Amazon ElastiCache vs ScyllaDB
- Amazon ElastiCache vs FaunaDB
- Amazon ElastiCache vs Couchbase
- Amazon ElastiCache vs MongoDB
- Amazon ElastiCache vs Elasticsearch
- Amazon ElastiCache vs Cassandra
- Amazon ElastiCache vs Azure Cosmos DB
- Amazon ElastiCache vs Firestore
- Amazon ElastiCache vs DataStax
- Amazon ElastiCache vs Aerospike
- Amazon ElastiCache vs BigQuery
- Amazon ElastiCache vs Neo4j
- Amazon ElastiCache vs TiDB
- Amazon ElastiCache vs Typesense
- Amazon ElastiCache vs Apache Doris
- Amazon ElastiCache vs Apache Solr
- DynamoDB vs Valkey
- DynamoDB vs Memcached
- DynamoDB vs Redis
- DynamoDB vs Dragonfly
- DynamoDB vs Readyset
- DynamoDB vs SAP HANA
- DynamoDB vs SingleStore
- DynamoDB vs PlanetScale
- DynamoDB vs Neon
- DynamoDB vs Aiven
- DynamoDB vs MongoDB Atlas
- DynamoDB vs Chroma
- DynamoDB vs Microsoft SQL Server
- DynamoDB vs Redpanda
- DynamoDB vs Trino
- DynamoDB vs Upstash
- DynamoDB vs Apache Flink
- DynamoDB vs OpenSearch
- 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 Neo4j
- DynamoDB vs TiDB
- DynamoDB vs Typesense
- DynamoDB vs Apache Doris
- DynamoDB vs Apache Solr
