RDS Architecture and Components
What you'll learn: You'll discover the essential building blocks that make up a managed relational database service and how they work together.
What is RDS Architecture?
Think of a managed database service like a well-organized restaurant. The RDS architecture is the kitchen, staff, and storage system working behind the scenes so you can simply order your meal (run queries) without worrying about ingredients, cooking equipment, or cleanup.
The core components break down into three main layers:
DB Instances
A DB instance is the actual database server running in the cloud. It's your dedicated computing environment where the database engine processes queries and manages data. Each instance has:
- Compute resources (CPU and memory)
- A specific size (like
db.t3.mediumordb.r5.large) - Network accessibility settings
Database Engines
The database engine is the software that actually runs your database—the "brain" that understands SQL and manages your data. Common engines include:
- MySQL
- PostgreSQL
- MariaDB
- Oracle
- Microsoft SQL Server
Each engine has different features, syntax, and performance characteristics, but the managed service handles installation, patching, and maintenance for you.
Storage Layer
The storage layer is where your actual data lives. This includes:
- Persistent storage for tables, indexes, and logs
- Backup storage for automated snapshots
- Storage type options (SSD-based or magnetic)
Storage automatically scales and provides durability, meaning your data is replicated across multiple physical drives to prevent loss.
These components work together seamlessly: the instance provides computing power, the engine processes your database operations, and the storage layer persists everything safely.
Key Takeaway: RDS architecture consists of three core components—DB instances (the server), database engines (the software), and storage layers (where data lives)—all managed by the cloud provider to simplify database operations.