CloudVectra Logo CloudVectra
CloudVectra Knowledge Hub

Serverless Databases Explained: Aurora Serverless vs. Azure SQL Serverless

Understand capacity floors, scaling, pause eligibility, connection behavior and persistent storage costs before choosing Aurora or Azure SQL serverless.

7 min read

Serverless databases can reduce the cost of quiet periods, but they do not charge only for useful queries. Minimum capacity, memory demand, open sessions, replicas and features that prevent pausing can keep compute billable.

Aurora Serverless v2 and Azure SQL Database serverless also run different database engines. This comparison explains their purchasing mechanics; it does not make MySQL/PostgreSQL and SQL Server interchangeable.

Examples use illustrative USD rates and 730 hours/month, excluding grants, commitments and taxes. This guide concerns Aurora Serverless v2, not retired v1-era behavior.

1. Scaling and pausing are different states

Scaling changes capacity while a database is running. Auto-pause stops eligible compute after sufficient inactivity. A running database at its minimum capacity is still different from a paused database.

DimensionAurora Serverless v2Azure SQL Database serverless
EngineAurora MySQL or PostgreSQL compatibilitySQL Server-family database engine
Capacity measureAurora Capacity Units (ACUs)Billable vCore/resource consumption
Capacity rangeConfigured minimum/maximum, subject to engine/versionConfigured range and resource limits
PausingZero minimum and supported configuration requiredTier, features and inactivity conditions apply
Persistent costsStorage, backup and applicable I/O/other resourcesStorage, backups and other applicable resources

An ACU is not a vCore and should not be compared using equal numeric counts. Benchmark the same workload at its required latency before comparing capacity cost.

Serverless database timeline distinguishing active scaling, a billable idle floor and paused compute with retained storage.

2. How Aurora Serverless v2 scales

Aurora scales each serverless DB instance within the configured range. Writer and reader configuration, failover priority, memory demand and supported features affect behavior. A capacity ceiling can protect spending while limiting throughput or increasing latency.

A cluster can contain separately billed writer and reader compute sharing Aurora’s storage architecture. Do not estimate a reader as free because it accesses the same volume. The Aurora scaling documentation explains which readers scale independently.

For example, two instances each held at a 0.5-ACU floor for 730 hours consume 730 ACU-hours together. At an assumed $0.12/ACU-hour, their floor is $87.60/month, before storage, I/O and backups.

Sizing the minimum too low can worsen cache warmth or recovery performance. Choosing a high minimum can erase much of the intermittent-workload advantage.

3. Aurora auto-pause has eligibility conditions

Supported engine versions can use a minimum of zero ACUs. Paused instance capacity is not billed, but storage and other cluster resources remain.

Open user connections prevent pausing. RDS Proxy maintains connections and therefore prevents this auto-pause behavior. Replication and global-database configurations have additional restrictions; writer/readers in related promotion tiers may remain active together. Review Aurora auto-pause conditions for the actual topology.

A configured zero minimum is not evidence that the instance ever paused. Inspect capacity and pause/resume events over a representative period. An application health check or a connection pool with persistent idle sessions can keep it ready continuously.

Treat proxy connection management and auto-pause savings as a design tradeoff, rather than expecting both benefits automatically.

4. Azure SQL serverless billing includes memory and a floor

Azure SQL serverless compute billing reflects CPU and memory demand subject to minimums, not merely query CPU time. A database with low CPU can still incur a significant bill because memory remains allocated under the billing rules.

Serverless is available for General Purpose and Hyperscale single databases. Auto-pause is available in General Purpose; Hyperscale auto-pause is documented as preview at this review date. Do not generalize a feature across tiers or treat preview availability as universal production support.

Use the serverless overview and observed billing quantities. Do not derive the bill by multiplying maximum vCores by total calendar hours unless that is the actual sustained billable state.

Azure Hybrid Benefit does not apply to the Azure SQL serverless compute tier; do not carry a provisioned-tier licensing discount into this estimate. Check benefit eligibility.

Auto-scaling also does not supply cross-region recovery automatically. Additional replicas and feature choices have their own economics.

5. Azure auto-pause: sessions and features matter

Microsoft requires no sessions and no user-workload CPU throughout the configured inactivity delay. General Purpose has a configurable delay, so even genuinely quiet activity can leave a paid interval before pausing.

Features including geo-replication/failover groups and long-term backup retention can prevent auto-pause. Management operations and login attempts can resume a database. See Azure pause and resume behavior.

A connection pool can reduce connection churn during active use but must release idle sessions appropriately if pausing is a goal. Check background jobs, dashboards, probes and administrative tools—not only the main application.

Never remove a required recovery or retention feature solely to make the pause counter look better. Compare architectures that meet the same business requirement.

6. Worked example: running idle is not paused

Assume an eligible hypothetical deployment has these measured monthly states. Use an illustrative $0.50 per billable vCore-hour, plus $40 storage and $10 chargeable backup costs.

StateHoursAverage billable capacityCompute amount
Active1602 vCores320 vCore-hours
Idle but not yet paused800.5 vCore floor40 vCore-hours
Paused49000
Total730—360 vCore-hours
Compute = 360 × $0.50 = $180
Complete specified subtotal = $180 + $40 + $10 = $230

If connections prevent all 570 non-active hours from pausing, the model becomes:

Compute = [(160 × 2) + (570 × 0.5)] × $0.50 = $302.50
Specified subtotal = $302.50 + $50 = $352.50
Difference = $122.50/month

The example uses measured billable capacity, not a promise that low CPU always bills at 0.5 vCore. Memory demand or other activity can change that quantity. It also assumes storage and backup costs remain unchanged.

7. Resume latency and application behavior

A paused database must resume before serving work. Initial connections can take longer or fail while that process completes. Applications need bounded retries, suitable connection timeouts and idempotent request handling.

Compute warm-up and data-cache warm-up are related but different. A database can accept connections while initial queries are slower because pages are no longer cached. Benchmark first-request and p95 latency after a realistic idle interval.

Frequent tiny bursts can repeatedly trigger idle-delay billing without delivering much pause time. A low average utilization graph may therefore coexist with substantial compute-hours.

For user-facing workloads with strict immediate response requirements, a deliberate capacity floor or provisioned alternative may be appropriate.

8. What remains when compute is paused

Storage, retained backups, regional copies and surrounding application services do not disappear. An application may retain NAT, private endpoints, secrets, logs and other dependencies even while its database is quiet.

Aurora Standard versus I/O-Optimized changes the billing treatment of I/O and capacity. Azure tier-specific storage and backup behavior also matters. Use the managed database comparison for the full cost boundary.

Pausing can also affect scheduled reports or batch deadlines. Verify whether the job’s startup budget includes database resume.

9. When serverless is economical

Intermittent workloads with meaningful quiet periods and acceptable resume delay are strong candidates. Stable high utilization, permanent open sessions, high required minimums, or incompatible features can favor provisioned capacity.

For a sensitivity example, assume serverless effective compute costs $0.60/hour during active-equivalent use and a suitable provisioned configuration costs $240/month. Compute-only equality is 400 active-equivalent hours. Add floors and all persistent costs before treating that as a selection threshold.

The Lambda/Functions guide is a useful companion: application compute may scale to zero while a database connection pool or dependency remains paid.

10. Manage observed behavior continuously

Record active hours, actual pause hours, resume frequency, billable capacity, query latency and successful transactions. Revisit the model after a new connection library, health check, replication feature or retention requirement is introduced.

CloudVectra cost analysis and anomaly detection support spending comparisons and change investigation. Cost Centers assign ownership for the complete workload.

Use native database state and performance telemetry to establish why it stayed active. A lower compute bill should be assessed alongside recovery, latency and persistent resource costs.

Continue the database series

Sources and further reading

Choose whether CloudVectra may load optional analytics. You can change this at any time.

Cookie names, providers, and retention