SnoozeDB vs Aurora Serverless v2 auto-pause
Aurora Serverless v2 with a minimum of 0 ACUs pauses an instance after a period without connections and resumes it on the next connection, usually in about 15 seconds. A scheduled stop turns a provisioned RDS instance off at known times regardless of open connections. Both cost $0 in compute while idle. Auto-pause suits short, irregular usage; a schedule suits databases used through most of the working day, where provisioned hours are cheaper than ACU-hours.
Side-by-side
| Criterion | Aurora Serverless v2 auto-pause | SnoozeDB |
|---|---|---|
| What it is | A native Aurora capacity setting (minimum 0 ACUs) | A scheduler for provisioned RDS DB instances |
| Trigger | No user connections for SecondsUntilAutoPause (300 s to 86,400 s) | Time-based schedule in an IANA timezone |
| Idle compute cost | $0 while paused | $0 while stopped |
| Active compute cost (us-east-1 example) | 2 ACUs ≈ $0.24/h on Aurora Standard | Provisioned on-demand rate of the instance class, e.g. db.t4g.medium ≈ $0.073/h (Aurora PostgreSQL reference rate) |
| Resume | About 15 s; 30 s or more after a deep sleep over 24 h | Several minutes, done before people arrive |
| Blocked by | Open idle connections, RDS Proxy, replication, zero-ETL, provisioned instances in the cluster | Read replicas and other AWS stop limitations |
| Engines | Aurora PostgreSQL and Aurora MySQL with supported versions only | RDS DB instances; Aurora is not scheduled |
| Cost | No extra product cost | Free for 1 managed RDS database; paid plans from $19/month for 5 managed resources |
How to choose
Choose Aurora Serverless v2 auto-pause when
- The database is used in short, irregular bursts: previews, demos, a few CI runs a day.
- You already run Aurora on a version that supports 0 ACUs, without RDS Proxy, replication, or zero-ETL.
- Clients tolerate a 15 to 30 second first connection and retry.
Choose SnoozeDB when
- The team uses the database through most of the working day.
- Stray connections from IDEs, pools, or monitoring agents would keep a serverless instance awake.
- You need a guaranteed off period that does not depend on client behavior.
- The database runs on standard RDS for PostgreSQL, MySQL, MariaDB, Oracle, or SQL Server, where auto-pause does not exist.
What SnoozeDB does not do
- Does not schedule Aurora clusters; for Aurora, use auto-pause or
aws rds stop-db-cluster. - A stopped instance is unavailable until the schedule or someone starts it.
- AWS restarts stopped instances after 7 days; SnoozeDB stops them again at the next pass.
Enable auto-pause and measure it
aws rds modify-db-cluster \
--db-cluster-identifier dev-cluster \
--serverless-v2-scaling-configuration MinCapacity=0,MaxCapacity=4,SecondsUntilAutoPause=1800Then read ServerlessDatabaseCapacity in CloudWatch for a week. Hours at 0 are free; multiply the others by the ACU price and compare with the scheduled cost.
Break-even example
Team works 10 h x 5 days = about 217 h per 730 h month
Provisioned db.t4g.medium on schedule: 217 h x $0.073 = $15.84
Serverless v2 at 2 ACUs: $15.84 / $0.24 = about 66 awake hours per month
Fewer than ~66 awake hours: auto-pause is cheaper. More: the schedule is cheaper.FAQ
- Can I combine both?
- Yes, on Aurora: a Serverless v2 cluster with auto-pause can also be stopped with
aws rds stop-db-cluster, which prevents wake-ups from stray connections over a long weekend. SnoozeDB itself does not schedule Aurora clusters. - Does a paused instance still cost anything?
- Yes. Aurora storage, I/O, and backups beyond the free allowance keep billing, as they do for a stopped database.