Beyond relational tables and key-value items (see Data stores), AWS offers databases shaped around one data model: DocumentDB for JSON documents with MongoDB compatibility, Neptune for graphs, and Managed Blockchain for shared ledgers across organizations. QLDB, the former ledger database, reached end of support in 2025 and appears here only to guide migration off it.

Choosing a database

Your data isUseQuery withStatus
JSON documents, and your code uses MongoDB driversDocumentDBMongoDB APIs and toolsAvailable
Highly connected: fraud rings, recommendations, knowledge graphsNeptuneGremlin or openCypher (property graphs), SPARQL (RDF)Available
A ledger shared by several organizations, or access to public chainsManaged BlockchainHyperledger Fabric chaincode, or Ethereum and Bitcoin APIsAvailable
An append-only, verifiable history inside one organizationAurora PostgreSQL with an append-only audit designSQLThe documented replacement for QLDB, which ended July 31, 2025

One primary, shared storage: DocumentDB and Neptune

DocumentDB and Neptune share an architecture: storage is separate from compute. One primary instance takes all writes, up to 15 replicas serve reads, and all of them use the same cluster volume, which is replicated across three Availability Zones and grows automatically. Reads scale by adding replicas; writes scale only by a larger primary.

flowchart TB
    accTitle: Primary and replicas on a shared cluster volume
    accDescr: Applications write through the primary instance and read through up to 15 replicas. The primary and replicas all use one cluster volume replicated across three Availability Zones.
    App[Application] -- writes --> P[Primary instance]
    App -- reads --> R[Up to 15 replicas]
    P --> V[(Cluster volume, replicated across three Availability Zones)]
    R --> V

Put replicas in different Availability Zones so failover has somewhere to go, and keep automated backups on: both databases back up continuously to S3 with point-in-time recovery (PITR), which needs a backup retention setting.12

Amazon DocumentDB

DocumentDB runs MongoDB application code, drivers, and tools unchanged. Its volume keeps six copies across the three zones and grows in 10 GB steps, up to 256 TiB on engine 8.0 and later (128 TiB before). Point-in-time recovery reaches the last 5 minutes, with retention up to 35 days. Elastic clusters, a separate deployment type, reach millions of reads and writes per second and petabyte-scale storage.

  • Send reads to the reader endpoint, which balances them across replicas.
  • Build indexes for your query patterns and check them with explain.1
SymptomCheck
Connection failuresSecurity groups, TLS, and that the client uses the cluster endpoint on port 27017
Read latencyMore replicas behind the reader endpoint; replica lag
Storage at the engine limitElastic clusters, or archiving data

Amazon Neptune

Neptune stores property graphs, queried with Apache TinkerPop Gremlin or openCypher, and RDF graphs, queried with SPARQL. Its SSD-backed volume is self-healing. Graphs pay off where data has high-fanout nodes and deep traversals that would take many relational joins. Neptune Analytics loads large graphs from Neptune or a data lake into memory for analysis.

  • Design IDs and indexes for your queries and avoid full-graph scans; slow traversals often come from super-nodes, nodes with very many edges.
  • Low write throughput calls for a larger primary instance class.2

Amazon Managed Blockchain

Managed Blockchain (AMB) comes in two independent shapes. AMB Access gives API access to public Ethereum and Bitcoin nodes, fully managed, dedicated (single-tenant), or serverless multi-tenant, using accessors, which hold token-based access information. Private networks run Hyperledger Fabric for permissioned use: each member organization runs peer nodes that host the ledger and chaincode, and changes to chaincode or membership pass by proposal and vote.

  • Run several peer nodes across Availability Zones.
  • Guard membership: proposals and votes decide who joins and what changes. The framework version is fixed when the network is created.
  • A failing proposal usually means the voting threshold or a member’s permissions; denied token access means a missing accessor or invalid token.3

Amazon QLDB

QLDB was a ledger database with an append-only journal, cryptographic verification of its history, and PartiQL queries. Support ended on July 31, 2025, and no new ledgers can be created. For an existing ledger: follow the official guide to migrate to Aurora PostgreSQL with an append-only audit design, export the journal to S3 as a retention record, then delete the ledger and its IAM roles and policies.4

Footnotes

  1. Amazon DocumentDB - Runbook & Reference, original ↩ ↩2

  2. Amazon Neptune - Runbook & Reference, original ↩ ↩2

  3. Amazon Managed Blockchain (AMB) - Runbook & Reference, original ↩

  4. Amazon QLDB - Runbook & Reference, original ↩