Softwr

Databases · head to head

Amazon ElastiCache vs Memcached

Amazon ElastiCache logo

Amazon ElastiCache

Databases

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

From
On request
Free plan
No
M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes

The short version

  • Amazon ElastiCache is an AWS managed in-memory caching service compatible.
  • Memcached is free; Amazon ElastiCache starts at $0.084/mo.
  • Only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines; only Memcached lists in-memory key-value cache.
  • Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
  • Prices and features on this page were last checked on 25 November 2026.

How do Amazon ElastiCache and Memcached differ?

Amazon ElastiCache and Memcached differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon ElastiCache and Memcached actually diverge.

Attributes where Amazon ElastiCache and Memcached differ
AttributeAmazon ElastiCacheMemcached
Starting priceOn requestFree
Pricing modelUsage-basedOpen source, no licence fee; managed cloud billed separately
Free tierNoYes
PlatformsWebLinux, macOS, Windows, Self-hosted

Identical on both: 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 4 only for Memcached. 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 Memcached

  • In-memory key-value cache
  • Multithreaded
  • Client-side sharding
  • Predictable memory use

What is each one used for?

Amazon ElastiCache is most often brought in for session and page caching for web apps; Memcached for caching expensive database query results to cut load. The jobs each tool is most often brought in to do.

Amazon ElastiCache

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

Memcached

  • Caching expensive database query results to cut loadnot Amazon ElastiCache
  • Session storage where losing sessions on restart is acceptablenot Amazon ElastiCache
  • Fronting an API whose responses are costly and change slowlynot Amazon ElastiCache

Where do Amazon ElastiCache and Memcached fall short?

Amazon ElastiCache's most cited limit: runs only inside AWS, so it is not usable on premises or in other clouds. Memcached's: no persistence at all: restart a node and its cache is gone, which every design must assume. 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

Memcached

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

How much do Amazon ElastiCache and Memcached cost?

Amazon ElastiCache starts at $0.084/mo; Memcached is free to use. 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

Memcached

Free
  • MemcachedFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose Amazon ElastiCache if

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

Choose Memcached if

  • You need in-memory key-value cache.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want multithreaded.

Questions people ask

Is Amazon ElastiCache or Memcached better?
Neither clearly leads. Amazon ElastiCache starts at On request and Memcached at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Amazon ElastiCache or Memcached?
Memcached has a free tier; the other does not. Paid plans start at On request for Amazon ElastiCache and Free for Memcached.
Does Amazon ElastiCache or Memcached run on more platforms?
Amazon ElastiCache runs on Web. Memcached runs on Linux, macOS, Windows, Self-hosted.
Can I use Memcached for free?
Yes. Memcached 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 Memcached is typically brought in for.
What can Amazon ElastiCache do that Memcached cannot?
Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options. Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use.

Answered from the vendors’ own pages

Amazon ElastiCache: Which engines does ElastiCache support?

It supports Valkey, Redis OSS and Memcached.

Source
Memcached: Is Memcached free?

Yes, open source with no licence fee.

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
Memcached: Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

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
Memcached: Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

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