Learn AWS databases: RDS, Aurora, DynamoDB, ElastiCache with Valkey, DocumentDB, and Neptune, and how to pick the right one.
Why picking the wrong database is an expensive mistake Database selection mistakes surface late, after the schema is baked into every service that...
What RDS actually manages for you RDS is a managed service for standard SQL engines where AWS handles provisioning, patching, backups, and failover.
Why Aurora exists when RDS already works Aurora is AWS's own cloud built engine that speaks the PostgreSQL and MySQL protocols, so existing drivers...
What makes DynamoDB fundamentally different from RDS DynamoDB is a fully managed NoSQL database built for predictable, single digit millisecond...
The problem DAX solves DAX is a managed in-memory cache for DynamoDB that needs no application logic changes.
Why caching is a code change, not a checkbox ElastiCache is a managed in-memory store with sub-millisecond latency, but it only helps when your code...
Why picking the wrong database is an expensive mistake Database selection mistakes surface late, after the schema is...
What RDS actually manages for you RDS is a managed service for standard SQL engines where AWS handles provisioning...
Why Aurora exists when RDS already works Aurora is AWS's own cloud built engine that speaks the PostgreSQL and MySQL...
What makes DynamoDB fundamentally different from RDS DynamoDB is a fully managed NoSQL database built for predictable...
The problem DAX solves DAX is a managed in-memory cache for DynamoDB that needs no application logic changes.
Why caching is a code change, not a checkbox ElastiCache is a managed in-memory store with sub-millisecond latency, but...
DocumentDB when your team already thinks in MongoDB DocumentDB is a managed document database that implements MongoDB...
A structured approach to connectivity problems An EC2 instance in a private subnet cannot reach its database.
Before you start This lab builds an RDS PostgreSQL primary with a Read Replica, a Valkey cache, and a DynamoDB table...
Quick reference Common mistakes Confusing Read Replicas with Multi-AZ is the most common RDS error.
Roles that use the skills in this module.
Cloud Engineer
DevOps Engineer
Solutions Architect
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetChoose DynamoDB when your access pattern is key based lookups at very large scale with predictable queries. Choose RDS or Aurora when you need joins, ad hoc SQL, and multi-row transactions. List your queries first, then pick.
A Read Replica is an asynchronous copy that serves read traffic to scale reads. A Multi-AZ standby is a synchronous copy for failover. A Multi-AZ DB instance standby serves no traffic, while a Multi-AZ DB cluster has readable standbys.
Valkey is the open source, Redis compatible fork that AWS now offers in ElastiCache. It is typically priced lower and is a sensible default for new clusters. Existing Redis clients usually work with little or no change.
If a Lambda function connects directly to a relational database, a traffic spike can exhaust the database connection limit. RDS Proxy pools connections and prevents this, so it is strongly recommended for serverless to relational paths.
Aurora is a cloud built engine that keeps the PostgreSQL or MySQL protocol but replaces the storage layer with a shared, self healing volume spread across three Availability Zones. Standard RDS runs the regular engine on attached block storage. Aurora usually gives faster failover and lower replica lag, at a higher price.