Memorystore is Google Cloud's managed Valkey and Redis service, an in-memory key-value database for cloud apps, billed by the hour on the capacity provisioned.

Memorystore takes the running of Valkey and Redis off an engineering team's hands, so an application gets a fast in-memory store without anyone patching servers or wiring up failover. Google builds and operates it as part of Google Cloud, and it is reached from the same account and console as the rest of a team's cloud projects. The service comes as four engine offerings: Memorystore for Valkey, Memorystore for Redis Cluster, Memorystore for Redis and Memorystore for Memcached. Each one runs the engine it is named after. Memorystore for Valkey runs in Cluster Mode Enabled, which shards the keyspace across nodes behind a discovery endpoint, or in Cluster Mode Disabled. Replicas stream from each primary and take over automatically during maintenance or when a shard fails. RDB persistence saves snapshots to durable storage on a schedule, while AOF persistence logs every write command. Cross-region replication copies an instance to secondary instances in other regions. Valkey instances also handle JSON documents, bloom filters and vector search beside hashes, sorted sets and streams. Memorystore for Redis Cluster brings the sharded design to Redis, and Memorystore for Redis runs standalone instances in a Basic or a Standard tier. Memorystore for Memcached is being retired, with shutdown set for January 31, 2029. The service suits engineering teams whose applications already run on Google Cloud and who want caching or a session store without operating the machines behind it. Memorystore for Valkey accepts the Valkey command set apart from a published list of blocked commands, which matters to teams bringing existing code. Developers building generative AI features use its vector search and the LangChain integrations to store embeddings and retrieve context for a model. Security teams govern access through ACL policies, IAM authentication without static passwords, TLS in transit and customer-managed encryption keys. Applications use Memorystore to cache hot data in front of a primary database and to hold user sessions. Services publish events over pub/sub channels, or queue work in streams that consumer groups share out among several workers. Scripts and functions run atomically on the server when one change has to touch several keys. Clients on Compute Engine virtual machines and other Google Cloud workloads connect privately through Private Service Connect, while IAM decides which principals may sign in. For a retrieval-augmented AI application, a single Valkey instance can hold the vector index next to the ordinary cached keys the rest of the app reads.

Pricing

View plans
  • Memorystore for Valkey

    Custom pricing

    • From $0.0308 per node-hour for custom-pico (1.25 GB) in Iowa, billed on provisioned capacity whether used or not
    • custom-pico, custom-micro (2.5 GB, $0.0616) and custom-mini (3.75 GB, $0.0924) run with Cluster Mode Disabled only, with an SLA and no committed use discount
    • shared-core-nano (1.4 GB) $0.0318 per node-hour with no SLA; $0.02544 on a 1-year commitment, $0.01908 on 3 years
    • standard-small 6.5 GB $0.1425 an hour; highmem-medium 13 GB $0.1923; highcpu-medium 13 GB $0.4986
    • standard-large 26 GB $0.5698 an hour; highmem-xlarge 58 GB $0.8581; highmem-2xlarge 110 GB $1.6274
    • 5 shards plus 5 replica nodes of highmem-medium come to $1.92 an hour
    • Cluster Mode Enabled with 1 to 250 shards, or Cluster Mode Disabled
    • RDB or AOF persistence, one at a time; AOF backup storage is charged by backup size and region
    • Private Service Connect adds $0.01 per GiB processed for clients in a different zone
    • Vector search, JSON and bloom filters included
    • Cross-region secondaries are read-only, so writes go to one primary region
  • Memorystore for Redis Cluster

    Custom pricing

    • From $0.0318 per node-hour for redis-shared-core-nano (1.4 GB) in Iowa; $0.02544 on a 1-year commitment, $0.01908 on 3 years
    • redis-standard-small 6.5 GB $0.1425 an hour; redis-highmem-medium 13 GB $0.1923; redis-highcpu-medium 13 GB $0.4986
    • redis-standard-large 26 GB $0.5698 an hour; redis-highmem-xlarge 58 GB $0.8581; redis-highmem-2xlarge 110 GB $1.6274
    • Sharded Redis Cluster with replicas
    • RDB and AOF persistence; AOF storage is charged extra
  • Memorystore for Redis, Basic tier

    Custom pricing

    • $0.049 per GiB-hour of provisioned capacity ($35.77 per GiB a month) at M1, 1 to 4 GiB, Iowa
    • M2 (5 to 10 GiB) $0.027 per GiB-hour, $19.71 a month; M3 (11 to 35 GiB) $0.023, $16.79 a month
    • M4 (36 to 100 GiB) $0.019 per GiB-hour, $13.87 a month; M5 (over 100 GiB) $0.016, $11.68 a month
    • 8 GiB at M2 is about $0.22 an hour, or $160.60 a month
    • Committed use from M2 up, $0.0216 per GiB-hour on 1 year and $0.0162 on 3 years at M2
    • Standalone Redis instance
  • Memorystore for Redis, Standard tier

    Custom pricing

    • $0.064 per GiB-hour of provisioned capacity ($46.72 per GiB a month) at M1, 1 to 4 GiB, Iowa
    • M2 $0.054 per GiB-hour ($39.42 a month); M3 $0.046 ($33.58); M4 $0.035 ($25.55); M5 $0.03 ($21.90)
    • Committed use from M2 up, $0.0432 per GiB-hour on 1 year and $0.0324 on 3 years at M2
    • Primary plus replica with failover
    • 20 GiB at M3 for 90 minutes costs $1.38; scaling to M4 switches to the M4 rate once the change completes
    • Read replicas are charged by capacity tier and node count, for example $2.85 for 50 GiB at $0.019 per GiB-hour on 2 nodes for 1.5 hours
  • Network egress between regions, Redis

    Custom pricing

    • $0.02 per GiB between regions within North America or within Europe
    • $0.08 per GiB within Asia, within Oceania, or to a region on another continent
    • $0.15 per GiB to or from Indonesia and Oceania
  • Memorystore for Memcached

    Custom pricing

    • $0.05 per vCPU-hour plus $0.0044 per GiB-hour of memory on nodes up to 4 GiB in Iowa; $0.04 per vCPU-hour on a 1-year commitment, $0.03 on 3 years
    • Being retired, with no new instances in new projects after February 1, 2027 and shutdown on January 31, 2029

Features

  • Included: Rich data structures beyond strings
  • Included: Per-key expiration and eviction policies
  • Included: Snapshot persistence to disk
  • Included: Append-only log persistence
  • Included: Replica failover with automatic promotion
  • Included: Horizontal clustering of the keyspace
  • Not included: Active-active geo replication
  • Included: Pub/sub messaging channels
  • Included: Atomic server-side scripting
  • Not included: SSD tiering beyond available RAM
  • Not included: Secondary indexes on stored values
  • Included: Native JSON value type
  • Not included: Multi-threaded request handling
  • Included: Per-user command and key ACLs
  • Included: Client-side caching invalidation
  • Included: Streams with consumer groups
  • Not included: Keyspace memory reporting

Additional Features

  • Memorystore for Valkey
  • Memorystore for Redis Cluster
  • Memorystore for Redis, Basic and Standard tiers
  • Cluster Mode Enabled and Cluster Mode Disabled
  • Discovery endpoint for cluster-aware clients
  • Replicas with automatic failover
  • RDB snapshot persistence
  • AOF write logging
  • Cross-region replication to secondary instances
  • Vector search on Valkey
  • JSON commands with path-level updates
  • Bloom filters
  • XREADGROUP stream processing
  • Sharded pub/sub with SPUBLISH
  • EVAL scripts and FCALL functions
  • CLIENT TRACKING for client-side caches
  • Configurable maxmemory eviction policies
  • ACL policies on keys, commands and channels
  • IAM authentication
  • TLS in-transit encryption
  • Customer-managed encryption keys (CMEK)
  • VPC Service Controls
  • Private Service Connect networking
  • LangChain integrations

Best for

  • Engineering teams whose applications already run on Google Cloud
  • Teams retiring self-managed Redis or Valkey servers
  • Developers adding vector search to generative AI applications
  • Platform teams that need sharded clusters with automatic failover
  • Security teams that require IAM authentication and CMEK
  • Teams moving from Memorystore for Redis to Memorystore for Valkey

Use cases

  • Caching hot data in front of a primary database
  • Storing user sessions
  • Semantic search over vector embeddings
  • Storing and updating JSON documents
  • Processing event streams with consumer groups
  • Fan-out messaging over pub/sub channels
  • Running atomic scripts across several keys
  • Replicating an instance to a secondary region
  • Building LLM applications with LangChain
  • Moving workloads from Memorystore for Redis to Valkey

Screenshots & Videos

Explore Memorystore in action

Memorystore Homepage With Valkey Benefits
View full size
Memorystore Homepage With Valkey Benefits

User Reviews

Write a Review

No reviews yet

Be the first to share your experience with this software.

Compare with Similar Software

Click to compare side by side with Memorystore

Want to claim this brand?

To claim this brand, please contact support.