Google Cloud · Databases

Memorystore

Managed in-memory data stores (Redis, Valkey and Memcached) for caching, sessions and fast counters.

On the Google Cloud Associate Cloud Engineer exam listKey-value store

What it is and what problem it solves

Memorystore runs in-memory databases for you: Memorystore for Redis (standalone or Cluster), Memorystore for Valkey and Memorystore for Memcached. Instances live in your VPC network and offer replicas with automatic failover, patching and monitoring, so applications get sub-millisecond reads for caches, sessions, leaderboards and rate limiting.

When to use it

  • Caching database queries or API responses.
  • Session storage for stateless web tiers.
  • Counters, rate limiters and leaderboards.

When to avoid it

  • Durable primary storage for important data: use a database.
  • Simple per-instance caches that don't need sharing.

Cost model

What you pay for

  • Provisioned memory capacity per hour by tier.
  • Replicas and cross-zone traffic.

Where it is cost-efficient

Hot data with high hit rates that offloads expensive database queries.

Where costs grow

Oversized instances, low hit rates, keys without TTLs.

Cost controls and common surprises

Monitor hit rate and memory use; set TTLs and right-size capacity.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Private IP in your VPC; in-transit encryption and AUTH available; IAM for management.

What you configure

Enable AUTH and in-transit encryption, restrict network access, never expose instances publicly.

Exam cues and common confusions

  • Managed Redis cache in Google Cloud: Memorystore for Redis (or Valkey).
  • High availability: the Standard tier with a replica.

Related

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake