You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Amazon Relational Database Service (RDS) is a managed service that makes it easy to set up, operate, and scale a relational database in the cloud. It handles time-consuming administration tasks so you can focus on your application.
Running a database on EC2 means you are responsible for:
RDS automates all of this. You get a fully managed database with high availability, automated backups, and easy scaling.
| Engine | Description |
|---|---|
| Amazon Aurora | AWS-built, MySQL/PostgreSQL-compatible, up to 5x faster |
| MySQL | Popular open-source relational database |
| PostgreSQL | Advanced open-source relational database |
| MariaDB | Community-developed fork of MySQL |
| Oracle | Enterprise relational database |
| SQL Server | Microsoft's relational database |
RDS automatically backs up your database and transaction logs:
For high availability, RDS can maintain a synchronous standby replica in a different Availability Zone:
Primary DB (AZ-a) ←— synchronous replication —→ Standby DB (AZ-b)
To scale read-heavy workloads, you can create read replicas:
RDS can automatically increase storage when it detects you're running low, up to a maximum threshold you set.
RDS instance classes follow a similar pattern to EC2:
| Class | Optimised For | Example |
|---|---|---|
| db.t | Burstable, development | db.t3.micro |
| db.m | General purpose | db.m6i.large |
| db.r | Memory optimised | db.r6i.large |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.