Sub topic 15
When to consider Aurora instead
This chapter assumes you have read the earlier chapters on Multi-AZ deployments, read replicas, and backups for standard RDS. Amazon Aurora is part of the RDS family. It is also a different architecture, so the choice affects how you handle availability, scaling, and cost.
How Aurora differs from standard RDS
A standard RDS instance has its own EBS storage volume. Multi-AZ and read replicas work by copying data to other instances, each with its own volume.
Aurora separates compute from storage. A cluster has one shared storage volume that keeps six copies of your data across three Availability Zones. The database instances, one writer and up to 15 Aurora Replicas, all read from that same volume.
Several practical differences follow from this design:
- Storage grows automatically. You do not set
--allocated-storage. The volume grows as data is added, up to 128 TiB. - Replicas are cheap to add. They share storage, so there is no data copy. Replica lag is typically low, often under 100 ms.
- Failover promotes an existing replica. Because the replica already sees the same storage, promotion is usually faster than a standard Multi-AZ failover.
- Backups are continuous. Aurora backs up to S3 without a performance hit. Point-in-time restore creates a new cluster, as it does with standard RDS.
Comparison
| Area | Standard RDS | Aurora |
|---|---|---|
| Engines | MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Db2 | MySQL-compatible, PostgreSQL-compatible |
| Storage | Provisioned per instance (gp3, io1, io2) | Shared, auto-growing cluster volume |
| Read scaling | Up to 15 read replicas (engine dependent), each with its own storage | Up to 15 Aurora Replicas on shared storage |
| Billing | Instance hours, provisioned storage, IOPS | Instance hours, storage used, and I/O requests (or the I/O-Optimized configuration) |
Creating an Aurora cluster
You create the cluster first, then add instances to it.
aws rds create-db-cluster \
--db-cluster-identifier demo-aurora \
--engine aurora-postgresql \
--master-username appadmin \
--manage-master-user-password \
--db-subnet-group-name demo-subnets \
--vpc-security-group-ids sg-0123456789abcdef0 \
--storage-encrypted
aws rds create-db-instance \
--db-instance-identifier demo-aurora-writer \
--db-cluster-identifier demo-aurora \
--engine aurora-postgresql \
--db-instance-class db.r6g.largeThe same DB subnet group, security group, encryption, and Secrets Manager options apply as before. Applications connect to the cluster endpoint for writes and the reader endpoint for read-only queries.
When Aurora is a good fit
Consider Aurora when:
- You need many read replicas with low lag.
- You want fast failover and storage that grows without planning.
- Your load is spiky and Aurora Serverless v2 can scale capacity up and down.
- You need cross-Region disaster recovery through Aurora Global Database.
Stay with standard RDS when:
- You need Oracle, SQL Server, MariaDB, or Db2.
- The workload is small and steady, where a single
db.t4ginstance is simpler and often cheaper. - You need an exact community engine version or a feature Aurora does not support.
Exercise
A team runs PostgreSQL on a standard RDS instance and wants five read replicas with minimal replica lag, plus storage that grows without manual changes. Which option fits, and what is the main cost risk?
Show answer
Aurora PostgreSQL fits, because Aurora Replicas share one cluster volume, which keeps lag low, and the volume grows automatically. The main cost risk is per-I/O billing under the Standard configuration on I/O-heavy workloads. The team should estimate I/O first and consider the I/O-Optimized configuration.