AWS Solutions Architect Handbook SAA-C03, from zero Bipin Singh
Databases

Amazon RDS

3 min readChapter 27 of 48By Bipin Singh

Amazon Relational Database Service (RDS) runs relational databases for you: provisioning, patching, backups, failover and scaling. Unless a question requires OS-level control, RDS (or Aurora) beats running a database on EC2.

Engines

MySQL, PostgreSQL, MariaDB, Oracle, Microsoft SQL Server, IBM Db2 — and Amazon Aurora (MySQL- and PostgreSQL-compatible, covered next). RDS Custom (Oracle, SQL Server) gives access to the underlying OS for apps that need customisation.

What AWS manages vs what you manage

AWS You
Hardware, OS, engine installation and patching (in your maintenance window) Schema, queries, indexes, users and permissions
Automated backups and point-in-time restore Choosing instance size, storage, Multi-AZ
Multi-AZ failover Network access (security groups, subnets)
Monitoring metrics Parameter tuning (parameter groups)

High availability: Multi-AZ

Multi-AZ DB instance Multi-AZ DB cluster
Layout Primary + one synchronous standby in another AZ Writer + two readable standbys in different AZs
Standby readable? No — for failover only Yes
Typical failover About 1–2 minutes Typically faster (often under a minute)
Engines All MySQL and PostgreSQL

Failover is automatic (on instance failure, AZ outage, maintenance) and the DNS endpoint stays the same.

Watch out

A standard Multi-AZ standby is not a read replica — you can't send reads to it. For read scaling, use read replicas (or a Multi-AZ DB cluster).

Scaling reads: read replicas

Key idea

Multi-AZ = availability (failover). Read replicas = read scalability (and cross-Region DR). Questions often combine both.

Storage and scaling

Backups and restore

Security

RDS Proxy

A fully managed database proxy that pools and shares connections:

Cue: "Lambda functions open too many database connections" → RDS Proxy.

Monitoring

Exam patterns

Bipin Singh
Written by Bipin Singh

Senior Full-Stack Engineer · AI & AWS. I design and run production systems on AWS — serverless, data and AI.

Work with me