Amazon MemoryDB icon

Amazon MemoryDB

Databases  ·  Advanced, most people never need it

It is a very fast in-memory store that, unlike a normal cache, does not lose your data.

Picture it as

A whiteboard that quietly photocopies itself every time you write on it, so wiping it by accident costs nothing.

What it actually does

It is compatible with Valkey and Redis, so existing clients work, but every write is also stored in a durable multi-zone log before it is acknowledged. That makes it safe to use as the main database, which plain ElastiCache is not. The trade-off is slower writes than a pure cache and a much higher bill, since everything lives in RAM.

Reach for it when

Do not reach for it when

One small example

A payments service keeps live fraud counters in MemoryDB so a node restart does not reset them.

How you pay

Per node-hour by memory size, plus a charge per gigabyte written to the durable log. The write charge is the part people do not expect.

Usually sits next to

The real source

This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.

All 303 AWS services, explained