Difficulty: Intermediate
What is Aurora Serverless, how does it scale, and when is it a good fit compared with provisioned Aurora?
Aurora Serverless is an on-demand capacity mode for Amazon Aurora (MySQL- and PostgreSQL-compatible) where the database automatically scales compute up and down based on load, and you pay for the capacity used per second instead of picking a fixed instance size. The current version, Aurora Serverless v2, scales in fine-grained steps within seconds and can now scale down to zero and pause when idle.
Capacity is measured in Aurora Capacity Units (ACUs). One ACU is roughly 2 GiB of memory with matching CPU and networking.
Storage is the normal Aurora distributed storage layer: six copies across three AZs, growing automatically.
Aurora Serverless v1 scaled in coarse doubling steps, had to find a quiet point to scale, and lacked features like read replicas and Global Database. AWS ended support for v1 in 2025, so new answers should be about v2.
v2 is effectively a normal Aurora instance class (db.serverless), so it supports:
| Scenario | Serverless v2 | Provisioned |
|---|---|---|
| Spiky or unpredictable traffic (flash sales, exam results day) | Strong fit | Must over-provision |
| Dev, test and preview environments idle most of the day | Strong fit with scale to zero | Paying 24x7 |
| Many tenant databases with varied load | Good fit | Hard to size each |
| Steady, high, predictable load | Often more expensive per unit | Cheaper, especially with Reserved Instances |
| Latency-critical first request after idle | Avoid auto-pause | Always warm |
Per ACU-hour, serverless costs more than equivalent provisioned capacity, so the savings come from not paying for idle peaks.
ServerlessDatabaseCapacity and ACUUtilization CloudWatch metrics to tune min and max.# Cluster with a capacity range of 0 to 16 ACUs
aws rds create-db-cluster \
--db-cluster-identifier orders-dev \
--engine aurora-postgresql \
--master-username appadmin --manage-master-user-password \
--serverless-v2-scaling-configuration MinCapacity=0,MaxCapacity=16,SecondsUntilAutoPause=600
# Serverless v2 instances use the db.serverless instance class
aws rds create-db-instance \
--db-instance-identifier orders-dev-writer \
--db-cluster-identifier orders-dev \
--engine aurora-postgresql \
--db-instance-class db.serverless
MinCapacity=0 allows auto-pause after 10 idle minutes, which suits a dev environment; for production you would set a non-zero minimum. Scale to zero requires a recent engine version.
Aurora Capacity Units, Aurora Serverless v2, Auto-pause, Auto Scaling, Aurora MySQL and PostgreSQL