Softwr

Databases · head to head

Amazon ElastiCache vs Google Cloud Spanner

Amazon ElastiCache logo

Amazon ElastiCache

Databases

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

From
On request
Free plan
No
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • Amazon ElastiCache is an AWS managed in-memory caching service compatible.
  • Google Cloud Spanner is free; Amazon ElastiCache starts at $0.084/mo.
  • Only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines; only Google Cloud Spanner lists automatic sharding.
  • Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
  • Prices and features on this page were last checked on 26 November 2026.

How do Amazon ElastiCache and Google Cloud Spanner differ?

Amazon ElastiCache and Google Cloud Spanner differ on starting price (On request against Free) and free tier (No against Yes). Only the attributes on which Amazon ElastiCache and Google Cloud Spanner actually diverge.

Attributes where Amazon ElastiCache and Google Cloud Spanner differ
AttributeAmazon ElastiCacheGoogle Cloud Spanner
Starting priceOn requestFree
Free tierNoYes

Identical on both: pricing model (Usage-based), platforms (Web), category (Databases).

Which features does each one have?

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

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

What is each one used for?

Amazon ElastiCache is most often brought in for session and page caching for web apps; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.

Amazon ElastiCache

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

Google Cloud Spanner

  • Global transactional systemsnot Amazon ElastiCache
  • Mission-critical apps needing 99.999% availabilitynot Amazon ElastiCache
  • Applications needing relational plus graph and vectornot Amazon ElastiCache
  • Real-time analytics on operational datanot Amazon ElastiCache
  • Scaling beyond a single database servernot Amazon ElastiCache

Where do Amazon ElastiCache and Google Cloud Spanner fall short?

Amazon ElastiCache's most cited limit: runs only inside AWS, so it is not usable on premises or in other clouds. Google Cloud Spanner's: pricing has compute, storage, replication and network components. 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

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do Amazon ElastiCache and Google Cloud Spanner cost?

Amazon ElastiCache starts at $0.084/mo; Google Cloud Spanner 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

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

Which should you pick?

Choose Amazon ElastiCache if

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

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is Amazon ElastiCache or Google Cloud Spanner better?
Neither clearly leads. Amazon ElastiCache starts at On request and Google Cloud Spanner at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Amazon ElastiCache or Google Cloud Spanner?
Google Cloud Spanner has a free tier; the other does not. Paid plans start at On request for Amazon ElastiCache and Free for Google Cloud Spanner.
Does Amazon ElastiCache or Google Cloud Spanner run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Google Cloud Spanner for free?
Yes. Google Cloud Spanner 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 Google Cloud Spanner is typically brought in for.
What can Amazon ElastiCache do that Google Cloud Spanner cannot?
Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

Answered from the vendors’ own pages

Amazon ElastiCache: Which engines does ElastiCache support?

It supports Valkey, Redis OSS and Memcached.

Source
Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

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
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

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
Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Amazon ElastiCache: When did it launch?

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

Source
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads