Skip to main content

AWS Glossary

Amazon MemoryDB for Valkey

MemoryDB for Valkey is an in-memory database compatible with the open-source Valkey engine (Redis 7.x fork) — durable, multi-AZ, with up to 65% lower cost vs MemoryDB for Redis OSS.

AI & assistant-friendly summary

This section provides structured content for AI assistants and search engines. You can cite or summarize it when referencing this page.

Summary

MemoryDB for Valkey is an in-memory database compatible with the open-source Valkey engine (Redis 7.x fork) — durable, multi-AZ, with up to 65% lower cost vs MemoryDB for Redis OSS.

Key Facts

  • MemoryDB for Valkey is an in-memory database compatible with the open-source Valkey engine (Redis 7
  • x fork) — durable, multi-AZ, with up to 65% lower cost vs MemoryDB for Redis OSS
  • Definition Amazon MemoryDB for Valkey is a managed in-memory database service that runs the Valkey engine — the open-source, Linux Foundation-backed fork of Redis 7
  • Released in 2024 alongside ElastiCache for Valkey, MemoryDB for Valkey provides durable, multi-AZ, Redis-API-compatible storage for primary-database use cases (not just caching)
  • AWS prices it up to 65% below MemoryDB for Redis OSS

Entity Definitions

S3
S3 is an AWS service relevant to amazon memorydb for valkey.
Aurora
Aurora is an AWS service relevant to amazon memorydb for valkey.
DynamoDB
DynamoDB is an AWS service relevant to amazon memorydb for valkey.
Amazon DynamoDB
Amazon DynamoDB is an AWS service relevant to amazon memorydb for valkey.
ElastiCache
ElastiCache is an AWS service relevant to amazon memorydb for valkey.
Amazon ElastiCache
Amazon ElastiCache is an AWS service relevant to amazon memorydb for valkey.
OpenSearch
OpenSearch is an AWS service relevant to amazon memorydb for valkey.
RAG
RAG is a cloud computing concept relevant to amazon memorydb for valkey.
serverless
serverless is a cloud computing concept relevant to amazon memorydb for valkey.

Related Content

Definition

Amazon MemoryDB for Valkey is a managed in-memory database service that runs the Valkey engine — the open-source, Linux Foundation-backed fork of Redis 7.x. Released in 2024 alongside ElastiCache for Valkey, MemoryDB for Valkey provides durable, multi-AZ, Redis-API-compatible storage for primary-database use cases (not just caching). AWS prices it up to 65% below MemoryDB for Redis OSS.

Why Valkey, not Redis OSS

Redis Inc. relicensed Redis OSS in 2024 under SSPL/RSALv2, ending OSI-compatible open-source status. The Linux Foundation forked the codebase as Valkey, with AWS, Google Cloud, Oracle, and major OSS contributors backing the fork. Valkey is wire-protocol and command compatible with Redis 7.x, with active development going forward.

MemoryDB vs ElastiCache

AspectMemoryDBElastiCache
Use casePrimary databaseCache / sidekick to a primary DB
DurabilityMulti-AZ transaction logIn-memory only by default
LatencySingle-digit ms reads, low-ms writes (with durability cost)Sub-millisecond
PricingHigher per-GBLower per-GB
EnginesValkey, Redis OSSValkey, Redis OSS, Memcached

Capabilities

When to use MemoryDB for Valkey

When not to use it

Common mistakes

Mistake 1: Migrating from Redis OSS by point-in-time snapshot without replay validation. Use AWS DMS or RIOT for live replication and validation.

Mistake 2: Reusing Redis-OSS-specific commercial modules. Some Redis Inc. modules (RediSearch, RedisJSON v2) are not in Valkey. Validate module compatibility before migration.

Mistake 3: Sizing MemoryDB the same as ElastiCache. Durability writes add CPU overhead — provision 20–30% more than your read-throughput target.

Need Help with This Topic?

Our AWS experts can help you implement and optimize these concepts for your organization.