The mental model

Relational databases organize data with schemas and support SQL queries, joins, and transactions. RDS manages supported relational engines; Aurora is an AWS relational database offering with its own architecture. DynamoDB is a managed key-value and document database where partition keys, indexes, and access patterns are central design inputs.

Write down the reads, writes, consistency requirements, transaction boundaries, and expected data distribution. A design that needs arbitrary relational joins differs from one that repeatedly looks up a known key. Avoid choosing solely from a service’s scaling reputation: an unsuitable key or query pattern can make a simple application costly and difficult to operate.

Decisions to make

  1. Favor a relational model when joins and relational constraints are central to the workload.
  2. Consider DynamoDB when known access patterns can be designed around suitable keys and indexes.

Design exercise · no AWS resources needed

Work through a scenario

A shop needs order lookup, account history, and monthly financial reporting.

  1. Write the exact lookup and reporting questions.
  2. Identify joins, transaction boundaries, and expected key distribution.
  3. Compare a relational design with a DynamoDB access-pattern design.

Check your understanding

What should come before choosing DynamoDB partition keys?

Continue with AWS documentation

Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.

Saved in this browser. Press again to undo.

Prepaid · USD

Top up balance

Available balance: $0.00

Your balance works across Heap tools. A failed lookup or generation releases its reserved amount.