Database
Amazon DynamoDB
Serverless key-value & document NoSQL database at any scale.
Official docsOverview
DynamoDB delivers single-digit-millisecond performance at any scale with on-demand or provisioned capacity, streams, global tables and TTL.
When to use it
- High-throughput key/value access patterns
- Session stores, user profiles, IoT telemetry
- Storing test execution metadata indexed by run-id
Setup
- Console → DynamoDB → Create table. Choose partition key (and sort key if needed).
- Pick On-Demand (pay per request) for unpredictable QA workloads.
- Enable PITR (Point-in-Time Recovery) and DynamoDB Streams if you need change events.
How to use
Put an item
aws dynamodb put-item --table-name TestRuns --item '{"runId":{"S":"r-1"},"status":{"S":"PASS"}}'Query by partition key
aws dynamodb query --table-name TestRuns --key-condition-expression 'runId = :r' --expression-attribute-values '{":r":{"S":"r-1"}}'QA use cases
- Persist every test-case result with TTL of 90 days for trending dashboards.
- Use DynamoDB Streams + Lambda to push real-time failure alerts to QA channels.
