Skip to main content

Database

Managed databases, grouped by data model. Pick by the shape of the data and the access pattern, not by brand.

ServiceModelChoose whenKey distinction
Amazon RDSRelational (6 engines)Standard SQL workload you want managedAWS patches OS + engine; you own schema/queries
Amazon AuroraRelational, cloud-nativeMySQL/PostgreSQL at higher performanceDistributed storage, 15 replicas, Serverless option
Amazon DynamoDBNoSQL key-value/documentServerless, millisecond scale, flexible schemaNo servers, no joins, single-digit ms at any scale
Amazon MemoryDB for RedisIn-memory, durableMicrosecond speed as the system of recordDurable (multi-AZ log) — unlike a cache
Amazon NeptuneGraphHighly connected data, recommendations, fraudRelationships are first-class
  • Relational vs NoSQL: joins and fixed schema (RDS/Aurora) vs flexible schema and horizontal scale (DynamoDB).
  • MemoryDB vs ElastiCache: MemoryDB is a durable primary DB; ElastiCache is a disposable cache in front of another DB.

Linked from