About Amazon MemoryDB
Amazon MemoryDB is a durable, in-memory database service from AWS that is compatible with Valkey and Redis OSS. Unlike a cache that sits in front of another database, it is designed to serve as the primary database for applications that need very fast access to data.
Because it speaks the Valkey and Redis OSS APIs, existing client libraries and data structures can be used, while AWS manages the underlying infrastructure and provides the durability that distinguishes it from a plain cache. It is a good fit for use cases that rely on in-memory data structures with persistence.
MemoryDB is a proprietary AWS service and cannot be self-hosted. Pricing is usage based and is published on the AWS pricing page for the service.
Key features
- Valkey and Redis OSS compatibility
- Durable in-memory storage
- Usable as a primary database
- Fully managed infrastructure
- Integration with AWS security tools
Good fit for
- →Primary database for latency-sensitive applications
- →Moving self-managed Redis workloads to AWS
- Tags
- in-memory
- database
- aws
- valkey
- redis
- durable
- managed-service
Amazon MemoryDB: questions and answers
- What is Amazon MemoryDB used for?
- Amazon MemoryDB is a durable in-memory database service on AWS compatible with Valkey and Redis OSS, for applications that need very fast reads and writes. It is a good fit for primary database for latency-sensitive applications and moving self-managed Redis workloads to AWS.
- How much does Amazon MemoryDB cost?
- Amazon MemoryDB is a paid product with no free plan. Usage-based. A db.r6g.xlarge node costs $0.432 per hour and snapshot storage is $0.021 per GB-month. Data written is not charged up to 10 TB per month.
- Is Amazon MemoryDB open source?
- No. Amazon MemoryDB is proprietary (closed-source) software and can't be self-hosted. Open-source alternatives to Amazon MemoryDB include Redis, Valkey and DiceDB.
- What are some alternatives to Amazon MemoryDB?
- Amazon MemoryDB competes with Amazon ElastiCache, Upstash and Google Memorystore. For open-source options, see Enlisted's ranked list of open-source Amazon MemoryDB alternatives.
Open-source alternatives to Amazon MemoryDB
See all
Redis
Databases
For developers, who are building real-time data-driven applications, Redis is the preferre
OSSvs Upstash★ 77k
Valkey
Databases
A flexible distributed key-value database that is optimized for caching and other realtime
BSD-3-Clausevs Upstash★ 27k
DiceDB
Databases
Open-source, low-latency key/value engine built on Valkey with query subscriptions and hie
OSSvs Upstash★ 11k
Dragonfly
Databases
A modern replacement for Redis and Memcached
OSSvs Upstash★ 32k
Garnet
Databases
Garnet is a remote cache-store from Microsoft Research that offers strong performance (thr
MITvs Upstash★ 12k
H2 Database
Databases
H2 is an embeddable RDBMS written in Java.
OSS★ 4.6k
SaaS alternatives to Amazon MemoryDB
See all
Amazon ElastiCache
Databases
Managed in-memory caching service on AWS for Redis OSS, Valkey and Memcached
SaaS
Upstash
Databases
Serverless Redis, Kafka and vector database with per-request pricing
SaaS
Google Memorystore
Databases
Managed in-memory data store on Google Cloud for Redis, Valkey and Memcached
SaaS
Momento
Databases
Serverless cache and pub/sub service with no infrastructure to manage
SaaS
Amazon DynamoDB
Databases
Serverless key-value and document database from AWS
SaaS
Cloudflare D1
Databases
Serverless SQLite-based database for Cloudflare Workers
SaaS

