Amazon DynamoDB

Amazon DynamoDB is a fully managed, serverless NoSQL key-value and document database. It delivers single-digit millisecond latency at any scale, with built-in horizontal sharding, multi-AZ replication, and optional global replication — and no servers, patches, or storage capacity to manage.


Key Features:


Common Use Cases:


Data Modeling Principles:


Example: PutItem and Query


import boto3
from boto3.dynamodb.conditions import Key

table = boto3.resource("dynamodb", region_name="us-west-2").Table("Orders")

table.put_item(Item={
    "pk": "CUSTOMER#1042",
    "sk": "ORDER#2026-04-21#A-482",
    "total": 129.95,
    "status": "SHIPPED",
})

resp = table.query(
    KeyConditionExpression=Key("pk").eq("CUSTOMER#1042") & Key("sk").begins_with("ORDER#2026-04"),
)
for item in resp["Items"]:
    print(item["sk"], item["status"], item["total"])
  

DynamoDB is the default choice on AWS when you need predictable performance at any scale and your access patterns can be modeled as key-value or document lookups.