Amazon RDS and Amazon Aurora
Running a standalone relational database on-premises or on EC2 requires you to manage server maintenance, OS patches, database software installation, backups, high availability, and scaling. Amazon RDS offloads these tasks to AWS so you can focus on application optimization.
| Responsibility | On-Premises | EC2-Hosted | Amazon RDS |
|---|---|---|---|
| Application optimization | You | You | You |
| Scaling / High Availability | You | You | AWS |
| Database backups | You | You | AWS |
| Database software patches | You | You | AWS |
| OS installation and patches | You | You | AWS |
| Server maintenance / Power / Rack | You | AWS | AWS |
Amazon Relational Database Service is a managed service that sets up, operates, and scales a relational database in the cloud. It provides cost-efficient, resizable capacity while automating time-consuming administration tasks.
The basic building block of RDS is the database instance — an isolated database environment that can contain multiple user-created databases. Each instance has a DB instance class (CPU, memory, network) and storage type (Magnetic, General Purpose SSD, or Provisioned IOPS). Instances typically run in a private VPC subnet accessible only to application instances.
After enabling Multi-AZ, RDS automatically creates a standby copy of the database instance in another Availability Zone within the same VPC. Transactions are synchronously replicated to the standby.
Read replicas use asynchronous replication from the source database. They offload read queries from your primary instance and support read-heavy workloads. Read replicas can be created in different Regions and can be promoted to the primary manually.
| Feature | Multi-AZ | Read Replica |
|---|---|---|
| Replication type | Synchronous | Asynchronous |
| Primary purpose | High availability / DR | Read scaling |
| Failover | Automatic | Manual promotion |
Amazon Aurora is a MySQL- and PostgreSQL-compatible relational database built for the cloud. It combines the performance and availability of high-end commercial databases with the simplicity and cost-effectiveness of open-source databases.
Select one answer per question. You will receive immediate feedback.