Skill 1.5.3

Select appropriate database services based on workload requirements such as access patterns, consistency needs, and scalability (for example, Amazon RDS, Amazon Aurora, Amazon DynamoDB, Amazon Redshift).

Key Concepts

RDS and Aurora: managed relational (Aurora for higher performance and availability). RDS Custom for SQL Server: OS access for SQL Server customizations (RDS Custom for Oracle is being retired; use EC2 for Oracle with OS access). DynamoDB: key-value at any scale. OpenSearch Service: search and log analytics. Self-managed on EC2: only for unsupported engines, versions or features.

Consider licensing (moving off Oracle/SQL Server to Aurora PostgreSQL), HA needs (Multi-AZ, Global Database) and operational effort.

By requirement: complex joins and transactions point to RDS or Aurora; single-digit millisecond key-value access at any scale points to DynamoDB (eventually or strongly consistent reads, transactions across items); analytics over large data sets points to Redshift; flexible JSON documents point to DocumentDB; highly connected data points to Neptune; Cassandra workloads point to Keyspaces; time series points to Timestream; and an in-memory primary database with durability points to Amazon MemoryDB. Many applications combine several of them, each serving the access pattern it handles best.