Softwr

Databases · head to head

Amazon DocumentDB vs Amazon ElastiCache

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Amazon ElastiCache logo

Amazon ElastiCache

Databases

AWS managed in-memory cache for Valkey, Redis OSS and Memcached

From
On request
Free plan
No

The short version

  • Amazon DocumentDB is a managed document database on AWS; Amazon ElastiCache is an AWS managed in-memory caching service compatible.
  • Amazon ElastiCache starts at $0.084/mo; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
  • Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
  • Prices and features on this page were last checked on 25 November 2026.

How do Amazon DocumentDB and Amazon ElastiCache differ?

Only the attributes on which Amazon DocumentDB and Amazon ElastiCache actually diverge.

On every field we record, Amazon DocumentDB and Amazon ElastiCache match. The differences are in what each one covers, below.

Identical on both: starting price (On request), pricing model (Usage-based), free tier (No), platforms (Web), category (Databases).

Which features does each one have?

They share no listed features; 8 appear only for Amazon DocumentDB and 8 only for Amazon ElastiCache. 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 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

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; Amazon ElastiCache for session and page caching for web apps. The jobs each tool is most often brought in to do.

Amazon DocumentDB

  • Migrating MongoDB workloads to AWSnot Amazon ElastiCache
  • Content and catalogue document storesnot Amazon ElastiCache
  • Serverless document databases for variable loadnot Amazon ElastiCache
  • Multi region read replicas for disaster recoverynot Amazon ElastiCache

Amazon ElastiCache

  • Session and page caching for web appsnot Amazon DocumentDB
  • Leaderboards using sorted setsnot Amazon DocumentDB
  • Caching LLM prompts and semantic resultsnot Amazon DocumentDB
  • Reducing load on primary databasesnot Amazon DocumentDB

Where do Amazon DocumentDB and Amazon ElastiCache fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Amazon ElastiCache's: 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 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

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

How much do Amazon DocumentDB and Amazon ElastiCache cost?

Amazon ElastiCache starts at $0.084/mo. Plan by plan below, from each vendor's own pricing page.

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Amazon ElastiCache

On request
  • Serverless Valkey data storage (per GB-hour)$0.084/hour

Which should you pick?

Choose Amazon DocumentDB if

  • You need mongodb driver and tool compatibility.
  • You also want managed patching, backups and monitoring.

Choose Amazon ElastiCache if

  • You need valkey, redis oss and memcached engines.
  • You also want serverless caching.

Questions people ask

Is Amazon DocumentDB or Amazon ElastiCache better?
Neither clearly leads. Amazon DocumentDB starts at On request and Amazon ElastiCache at On request, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Amazon DocumentDB or Amazon ElastiCache?
Amazon DocumentDB starts at On request and Amazon ElastiCache at On request.
Does Amazon DocumentDB or Amazon ElastiCache 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 Amazon ElastiCache is typically brought in for.
What can Amazon DocumentDB do that Amazon ElastiCache cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options.

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.

Source
Amazon ElastiCache: Which engines does ElastiCache support?

It supports Valkey, Redis OSS and Memcached.

Source
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.

Source
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.

Source
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).

Source
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.

Source
Amazon DocumentDB: Can it run outside AWS?

No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.

Source
Amazon ElastiCache: When did it launch?

ElastiCache launched on 22 August 2011 with Memcached, adding Redis in September 2013.

Source
Share

Related pages

Other head to heads