AWS · Database

Amazon Aurora

A cloud-built relational database compatible with MySQL and PostgreSQL, with storage replicated across three zones and up to 15 low-lag replicas.

On the SAA-C03 exam listRelational databaseDisaster recovery

What it is and what problem it solves

Amazon Aurora is a relational database engine compatible with MySQL and PostgreSQL, managed through RDS. Its main difference is storage: a shared, self-healing cluster volume that keeps copies of the data across three Availability Zones and grows automatically. The writer and up to 15 Aurora Replicas read the same volume, so replicas lag by very little and any of them can become the writer in a failover.

Features beyond RDS include Aurora Global Database (one primary Region with secondary Regions replicated at the storage layer), Aurora Serverless v2 (capacity that scales with load), backtrack for MySQL (rewind the database without restoring), fast cloning, and an I/O-Optimized storage option.

Writercluster endpointReader 1reader endpointReader 2reader endpointReader 3reader endpointShared cluster volume: 6 copies of the data across 3 AZs, grows automaticallyAZ acopycopyAZ bcopycopyAZ ccopycopy
Aurora: compute instances share one storage volume replicated six ways across three AZs

When to use it

  • MySQL or PostgreSQL workloads that need higher throughput, faster failover and more read replicas than standard RDS.
  • Global applications needing low-latency reads in several Regions and fast Regional recovery (Global Database).
  • Variable workloads that suit Aurora Serverless v2.

When to avoid it

  • Small, simple databases where RDS on a small instance costs less.
  • Engines other than MySQL and PostgreSQL (Oracle, SQL Server).
  • Key-value access at massive scale: DynamoDB.

Scaling model and bottlenecks

Reads scale out with up to 15 Aurora Replicas behind a reader endpoint (with replica auto scaling); writes scale up with a larger writer instance (or Serverless v2 capacity). Storage grows automatically.

Performance, latency and throughput

Replicas share storage with the writer, so replica lag is typically far lower than with engine-level replication. Use the I/O-Optimized configuration when I/O charges are a large part of the bill.

Limits and quotas

ItemValueContextSource
Maximum cluster volume size 256 TiB On recent versions (Aurora PostgreSQL 17.5+, 16.9+, 15.13+ and Aurora MySQL 3.10+); 128 TiB on earlier versions. Source
checked
Aurora Replicas per cluster 15
Fixed limit
Source
checked
Cluster volume copies Data copied across three Availability Zones in the Region Source
checked
Global Database secondary Regions Up to 10 Replication latency typically under a second. Source
checked
Backtrack window (Aurora MySQL) 72 hours maximum Not available for Aurora PostgreSQL. Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

Instance-hours (or ACU-hours for Serverless v2), storage per GB-month, I/O requests per million on Aurora Standard (none on I/O-Optimized, which has higher instance and storage prices), backup storage beyond the cluster size, Global Database replicated write I/Os and data transfer, and backtrack storage.

Where it is cost-efficient

Read-heavy workloads using replicas, I/O-heavy workloads on I/O-Optimized, and Reserved Instances for steady clusters.

Where costs grow

I/O-heavy workloads on Aurora Standard, many replicas that are rarely used, and Global Database for applications that do not need it.

Cost controls and common surprises

Compare Standard and I/O-Optimized using your I/O costs, use replica auto scaling, and use Serverless v2 for variable or development workloads.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

The same RDS controls: VPC, security groups, KMS encryption, TLS, IAM database authentication, Secrets Manager integration, and Database Activity Streams.

What you configure

Keep clusters private, encrypt at creation, manage database users and credentials, and control who can create clones and snapshots.

Logging and monitoring

Engine logs to CloudWatch Logs, Performance Insights, Database Activity Streams, CloudTrail.

Related security services

KMS, Secrets Manager, IAM, AWS Backup, GuardDuty RDS protection.

Shared responsibility

AWS manages the storage, engine and failover. You manage schema, users, access and queries.

Availability, backup and failure behavior

Storage survives the loss of a zone, and a failed writer is replaced by promoting a replica, usually in well under a minute. Global Database promotes a secondary Region within minutes for disaster recovery with very low data loss.

Common service combinations

RDS Proxy, Aurora Serverless v2 readers, Global Database, Secrets Manager, Lambda integration, zero-ETL integration with Redshift.

Business application examples

  • A SaaS platform on Aurora PostgreSQL with five readers and a secondary Region via Global Database.
  • A test team clones a production-sized database in minutes for each test run.

Exam cues and common confusions

  • MySQL or PostgreSQL with high performance and availability, up to 15 replicas, fast failover: Aurora.
  • Multi-Region with low-lag replication and fast Regional failover: Aurora Global Database.
  • Rewind a MySQL database quickly without restoring: backtrack.
  • Variable or unpredictable load: Aurora Serverless v2.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake