AWS Certified Cloud Practitioner / Databases & Analytics

RDS & Aurora Overview

πŸ—ƒοΈ Amazon RDS

Amazon RDS (Relational Database Service) is AWS's fully managed service for running relational (SQL) databases β€” create, operate, and scale without managing the server yourself.

πŸ› οΈ Supported Engines

  • 🐘 PostgreSQL

  • 🐬 MySQL

  • 🦭 MariaDB

  • πŸ”Ά Oracle

  • πŸͺŸ SQL Server

  • 🟦 IBM Db2

  • ⚑ Amazon Aurora (AWS's own engine β€” covered below)

🎯 Exam tip: Any of these engines = relational + SQL.


❓ Why RDS Instead of DB-on-EC2?

You can install MySQL/PostgreSQL on EC2 β€” but then you're the DBA: installs, patches, backups, monitoring, failure recovery.

With RDS, AWS is your DBA (Database Administrator)


🚫 What RDS Won't Let You Do

You cannot SSH into an RDS instance β€” no OS-level access, no custom software installs, no OS modifications. AWS owns the infrastructure; you just connect via SQL client/app.

πŸ’‘ Quick Tip: Use RDS for easy management and high availability. Use EC2 only when you need full server control.

🎯 Exam Tip: Need SSH or OS-level access? Choose EC2, not RDS.


πŸ—οΈ Where Amazon RDS Fits?

Let's see where Amazon RDS fits within a typical AWS architecture.

πŸ”„ How It Works

  • Users send requests to your application.

  • The Elastic Load Balancer (ELB) distributes incoming traffic across multiple EC2 instances.

  • The EC2 instances process the application's business logic.

  • Whenever structured data needs to be stored or retrieved, the EC2 instances communicate with Amazon RDS.

  • All EC2 instances share the same database, ensuring consistent and up-to-date information.

πŸ’‘ This three-tier architecture is one of the most common application architectures used on AWS.


⚑ Amazon Aurora

AWS's own cloud-native relational database β€” MySQL/PostgreSQL-compatible, but built for much higher performance, scalability, and availability.

πŸ”— Engine Compatibility

  • 🐬 MySQL

  • 🐘 PostgreSQL

Existing apps often migrate over with little to no code changes.

πŸš€ Why Aurora?

  • Up to 5Γ— faster than MySQL on RDS

  • Up to 3Γ— faster than PostgreSQL on RDS

πŸ“¦ Auto Storage Scaling

Grows automatically in 10 GB steps up to 256 TB β€” no manual resizing.

πŸ’° Cost

~20% more than standard RDS, but often cheaper overall thanks to better performance/efficiency.


🎯 RDS vs Aurora

Amazon RDS

Amazon Aurora

Multiple relational engines

AWS's own proprietary engine

Managed version of familiar DBs

Cloud-native, built by AWS

Solid for general SQL workloads

Higher performance + auto storage scaling

πŸ“Œ Both are managed relational databases β€” Aurora just adds cloud-native performance.


πŸš€ Amazon Aurora Serverless

No instances to provision β€” AWS auto-creates and scales capacity based on demand. Great for infrequent, unpredictable, or spiky workloads.

βœ… Benefits

  • ⚑ Auto capacity management β€” no manual sizing

  • πŸ“ˆ Auto scaling β€” up and down, no intervention

  • πŸ–₯️ No server management β€” AWS handles it all

  • πŸ’° Pay-per-second β€” only for what you use

βš™οΈ How Aurora Serverless Works

App connects like normal β€” AWS handles provisioning, scaling, and shared storage behind the scenes.

🎯 Exam tip: "No server management," "auto scaling," "pay for actual usage," "unpredictable workload" β†’ Aurora Serverless.