Amazon RDS (Relational Database Service)
Introduction
- β Amazon RDS is a managed relational database service by AWS.
- β Simplifies database setup, operation, and storage auto-scaling.
- β Supports engines: MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, and Amazon Aurora.
Key Features
- π Automated Backups β Automatically backs up DB and transaction logs.
- π Read Replicas β Enhance read performance and scalability.
- π Automated Patching β Keeps DB engine and OS secure and updated.
- π Monitoring & Metrics β Integrated with Amazon CloudWatch.
Storage Options
- β gp2 / gp3 (General Purpose SSD) β Balanced performance.
- β io1 / io2 (Provisioned IOPS SSD) β High-performance for heavy workloads.
- β Magnetic (Standard) β β Legacy, not recommended for new apps.
Security
- π Encryption at rest using KMS.
- π Encryption in transit using SSL/TLS.
- π Authentication via IAM or native user credentials.
Amazon RDS Read Replicas β For Read Scalability
Overview
- β Create read-only copies of your RDS database.
- β Uses asynchronous replication from the primary DB. (no downtime)
- π Helps offload read traffic and improves performance.
Use Cases
- β Support BI tools, reporting apps, or read-heavy workloads.
- π Replicas can be β within Az, Cross Az or Cross Region
- Same region β β No data transfer cost.
- Cross-region β β οΈ Network cost applies.
- β Replica can be promoted to their own DB

Key Differences: Read Replica vs Multi-AZ
| Feature | Read Replica | Multi-AZ |
|---|---|---|
| Purpose | Read scalability / improve reads | High availability / Disaster recovery |
| Replication Type | Asynchronous (may lag if reading from) | Synchronous |
| Read Access | β Yes (read-only) | β No (standby only) |
| Failover | Manual promotion to primary DB | β Automatic (single DNS name) |
π‘ Pro Tip: The Read Replicas can be setup as Multi AZ for Disaster Recovery (DR)
Short Downtime (Single-AZ β Multi-AZ)
- π οΈ Modify the DB instance. Click Create a standby instance
- Short downtime during the switchover. Typically a few minutes, took 7 min
- How it Works?
- Taking a snapshot of main DB
- Restoring new DB from snapshot to a new AZ
- Sync is established between two DB
Same for Aurora - just you canβt disable the automated snapshot

Can be used for Migration


