Skip to content

How Aurora Serverless v2 Works: Architecture Deep Dive

What Aurora Serverless v2 is under the hood: shared storage, ACU-driven compute, platform versions, the Caspian substrate, scale-to-zero, and mixed-mode clusters.

Ayhan Sipahi Ayhan Sipahi

Aurora Serverless v2 is often introduced as if it were a separate database product, distinct from provisioned Aurora. That framing leads engineers to wrong assumptions: that read replicas autoscale by count, that scaling events drop connections, that every scale-up warms a cold cache. None of those hold. One related claim is true, and has been since the November 2024 scale-to-zero launch: a database that has scaled to zero resumes with a cold cache. Underneath, Serverless v2 is a scaling daemon and a billing wrapper over the same Aurora compute and storage that provisioned clusters run on.

A note on the name#

In April 2026 AWS renamed “Aurora Serverless v2” to “Aurora serverless.” The AWS Database Blog carries the banner on its scale-to-zero launch post: “April, 2026: Aurora Serverless v2 has been renamed Aurora serverless. No action required.” The same banner tops the April 2026 post on platform version 4, covered under the compute layer below. The legacy v1 product still exists as a separate, deprecating offering. Most readers still search for “Aurora Serverless v2,” and the documentation URL slugs themselves continue to say v2 throughout, so the same term carries through below. Wherever “Serverless v2” appears, it refers to the product that AWS now calls simply “Aurora serverless.”

Architecturally, the rename clarifies what was always true: there is one Aurora, and “serverless” is a billing and operating mode layered on it. The compute and storage underneath have powered provisioned clusters since 2014. Scale-to-zero is the one mechanism that meaningfully strains that framing.

The storage layer#

Every conversation about Aurora performance, durability, or scaling that does not start with the storage layer ends up confused. The storage layer is what makes Aurora Aurora; the compute layer is, in many ways, comparatively simple. Aurora Serverless v2 inherits this layer untouched. The Serverless v2 documentation states the equivalence explicitly: “Aurora serverless storage has the same reliability and durability characteristics as described in Amazon Aurora storage. That’s because the storage for Aurora DB clusters works the same whether the compute capacity uses Aurora serverless or provisioned.”

Six copies across three availability zones#

An Aurora cluster volume stores six copies of all data, spread across three availability zones, regardless of how many DB instances exist in the cluster. The replication factor is independent of compute count. A single-instance cluster gets the same six-way replication as a fifteen-instance cluster. The volume itself is logically a shared device addressable from all compute instances in the cluster; it auto-resizes from 10 GiB up to 128 TiB on demand, and up to 256 TiB on recent Aurora PostgreSQL (17.5+, 16.9+, 15.13+) and Aurora MySQL 3.10+ versions following the July 2025 ceiling lift.

This 6/3 layout enables the quorum model described in Verbitski et al.’s SIGMOD 2017 paper: writes require acknowledgement from four of the six copies, and reads require three of six. The asymmetry is deliberate. Losing an entire AZ removes two copies, so four remain and both writes and reads continue. Losing an AZ plus one more copy leaves three: the read quorum still holds and no data is lost, but writes stop until repair adds copies back and restores the write quorum. The SIGMOD 2018 follow-up explains how Aurora handles I/Os, commits, and these quorum membership changes without distributed consensus. Storage is sharded into 10 GiB “protection groups,” each replicated six ways and repaired independently, which means recovery operations work at protection-group granularity rather than per-volume.

The log is the database#

The most consequential design choice in Aurora is that only redo log records cross the network from compute to storage, not full data pages. When a transaction commits on a compute instance, the instance sends log records to all six storage nodes for the affected protection groups. Storage nodes apply log records to materialize pages on demand; the compute instance is not on the page-write path. SIGMOD 2017 introduces this with the slogan “the log is the database” and quantifies the reduction in network traffic relative to traditional replication, which sends pages.

Three consequences follow directly. First, compute can be elastic because state lives below it; a scaling event does not have to move pages, only refresh the compute tier’s view of recent log positions. Second, durability is decoupled from instance lifetime entirely; a compute instance can crash mid-transaction and recovery proceeds from the log on storage. Third, read replicas fetch pages from the same shared volume and do not replay transactions. The writer streams its redo log to every replica as well as to storage. Each replica applies a record only when the page is already in its buffer cache and discards records for uncached pages, since storage serves those pages on the next read. Replica lag is the delay of that stream, which the SIGMOD 2017 paper puts at typically 20 ms or less.

Why this matters for Serverless v2#

All three properties are preconditions for Serverless v2’s behavior. In-place compute scaling is possible because storage is shared and durable below. Scale-to-zero is possible because durability survives the absence of any running compute instance. Mixed-mode clusters work because every reader and the writer all attach to the same cluster volume regardless of whether the instance is provisioned or serverless. The Serverless v2 docs are doing real work when they say the storage layer is unchanged: that single fact is what keeps the scaling daemon small.

The compute layer#

The compute layer of Aurora Serverless v2 runs on the same Aurora compute infrastructure as provisioned, only with elastic capacity. The unit of capacity is the Aurora Capacity Unit, ACU. AWS defines 1 ACU as approximately 2 GiB of RAM with proportional CPU and networking, calibrated to be similar to a comparable Aurora provisioned instance. Capacity is configured as a range with a minimum and maximum, expressed in 0.5 ACU increments. The documented range is 0 to 384 ACU on current engine versions (Aurora MySQL 3.14.0+ or 8.4.10+, Aurora PostgreSQL 14.23+, 15.18+, 16.14+, 17.10+, 18.4+). The ceiling has moved twice: from 128 to 256 ACU in October 2024, and to 384 ACU in October 2026, first announced for Aurora PostgreSQL. The 0 ACU floor arrived with the November 2024 scale-to-zero launch. How much of that range a given cluster can use depends on two version axes, covered under platform versions below.

The buffer pool (innodb_buffer_pool_size on MySQL, shared_buffers on PostgreSQL) scales with the current ACU value. As the instance scales up, the buffer pool grows; as it scales down, the buffer pool shrinks. This is unusual: most databases treat the buffer pool as a fixed allocation at boot, and resizing it is an offline operation. Aurora’s compute layer is engineered for in-place resizing of buffer pool memory. That capability is what lets the scaling daemon be effective at all. By contrast, max_connections is fixed at boot and derived from the maximum ACU value configured for the cluster. Scaling down does not reduce max_connections, so established connections are not dropped when the instance shrinks. This is the right default for a database compute layer. The implication: a cluster with a maximum of 4 ACU configures max_connections at the value appropriate for a 4 ACU instance, regardless of where it actually runs.

The Caspian substrate#

Caspian is the name AWS gave to the layer that runs Aurora compute on shared physical hosts. Peter DeSantis presented it at re:Invent 2023 as a set of innovations spanning a hypervisor and a heat-management planning system. AWS docs do not use the name. The primary technical description is the VLDB 2024 paper Resource Management in Aurora Serverless (opens in new tab) by Barnhart, Brooker, and colleagues, which does not use the name either. The paper splits resource management into two loosely coupled levels.

Within a host, one instance manager per database instance makes the in-place scaling decision once every second and enforces resource limits through the guest OS. The hosts are Nitro-based and deliberately oversubscribed: the vCPUs of all instances on a host can exceed its physical CPUs, and their configured maximum ACUs can exceed its memory. A daemon in the guest reports free memory back to the hypervisor so the host can reclaim it.

Across the fleet, a fleet manager places instances on hosts and decides when a host is “hot.” It responds with live migration, or with a temporary cap on an instance’s maximum ACU until the heat is remediated. The paper’s fleet data shows how rare migration is: in one fleet, 2,923 of 16,440,024 scale-up events needed a live migration, and 99.98% completed in place. From the cluster’s perspective both levels are invisible: a scaling event grows the ACU allocation, either on the current host or after a move to one with headroom. Marc Brooker’s blog post of the same name (opens in new tab) is a readable summary of the paper.

The phrase to avoid is “this is a warm pool of pre-provisioned instances.” That was the Serverless v1 model and it is not how v2 works. There is no pool of warm spare instances waiting to be assigned. There is a fleet of Aurora compute hosts, each running many tenant instances, with a substrate that reallocates resources within and across those hosts as load changes. Scale-up looks fast because the existing instance is granted more memory and CPU on its current host, or moved to a host with headroom.

Platform versions#

Next to the engine version sits a second version axis: the platform version. It stands for the host generation a serverless cluster runs on, and Aurora assigns it per cluster. The documentation lists four:

Platform versionACU rangePerformance
10–128Baseline
20–256Baseline
30–256Up to 30% better than version 2
40–384Up to 30% better than version 3

The effective scaling range is set by whichever version is less capable. A cluster on Aurora PostgreSQL 17.10 still stops at 256 ACU on platform version 3. A cluster on platform version 4 stops at 256 ACU if its engine predates the 384 ACU releases (Aurora MySQL 3.14.0 or 8.4.10; Aurora PostgreSQL 14.23, 15.18, 16.14, 17.10, 18.4). The April 2026 AWS Database Blog post on platform version 4 also reports that scaling from 0.5 to 256 ACU became 45% faster.

New clusters, restores, and clones launch on the latest platform version available in the Region. Existing clusters stay where they are until they are upgraded through the pending maintenance action, a stop and restart of the cluster, or a blue/green deployment. The cluster’s ServerlessV2PlatformVersion field shows the current value:

aws rds describe-db-clusters --db-cluster-identifier my-cluster \
  --query 'DBClusters[0].ServerlessV2PlatformVersion'

Platform version 4 runs in a listed subset of Regions; versions 1 to 3 run wherever Aurora serverless does. Platform versions have nothing to do with Aurora Serverless v1, which is a separate, deprecated product.

The scaling daemon#

The scaling daemon is the component that observes load and adjusts ACU allocation. Its inputs are CPU, memory, and network utilization, which AWS docs collectively call “the load.” Its output is a target ACU value, bounded by the configured minimum and maximum. The triggers are not numerically published; the docs say scaling occurs when capacity is constrained on any of the three dimensions, or when Aurora detects performance issues it can resolve by scaling.

The writer and every reader each have their own capacity value, but readers do not all scale independently. The promotion tier decides. A reader in promotion tier 0 or 1 follows the writer: its minimum capacity is the writer’s current capacity, so it is always at least as large as the writer and can take over on failover. If the writer is provisioned, that minimum is the ACU equivalent of the writer’s memory size. Readers in tiers 2 to 15 scale independently within the cluster’s range. They can sit near the minimum while the writer is busy, and a promoted one has to scale up after it takes over the write workload.

Scaling is in-place. The docs do not promise zero connection drops in every case, but the typical scaling event does not involve failover, does not restart the engine, and does not drop established sessions. The buffer pool size adjusts as the ACU value changes. The engine does not unload and reload pages; the underlying memory allocation grows or shrinks, and the engine’s view of available cache space follows.

AWS does not publish a numeric scale-latency SLA. The docs use the word “rapidly” and describe scaling as occurring at second-granularity, in incremental steps. This is the right place to calibrate expectations: a 1 ACU to 32 ACU transition is not instantaneous because the daemon climbs in increments, even though each individual step completes quickly.

Aurora Auto Scaling: unsupported by design#

The legacy Aurora Auto Scaling feature, which adds new reader replicas based on CPU utilization, is explicitly not supported on Serverless v2. The Requirements documentation states: “Aurora Auto Scaling isn’t supported. This type of scaling adds new readers to handle additional read-intensive workload, based on CPU usage. However, scaling based on CPU usage isn’t meaningful for Aurora serverless.”

This is the docs team confirming the architectural model in writing. In Serverless v2 the scaling unit is the instance itself. Each reader grows itself when it needs more capacity, above the floor its promotion tier sets. Adding new readers is still a deliberate operator action, taken when read concurrency exceeds what a single instance can serve regardless of size. It is not an autoscaling primitive. The Requirements page suggests creating those readers in advance and leaving them scaled down, which is faster and less disruptive than adding instances under load. Engineers who expect a Serverless v2 cluster to auto-add readers under load are reasoning by analogy from the provisioned model, and the docs explicitly close that door.

The reason CPU-based replica-adding is “not meaningful” for Serverless v2 is that each Serverless v2 reader already responds to CPU pressure by growing its ACU allocation. Adding a new reader would compound the scaling response with a slower, coarser-grained signal. This limitation records a design decision: the v2 architecture internalizes what v1 and provisioned Aurora handled with an external controller.

Scale-to-zero: the one architectural seam#

Scale-to-zero launched in November 2024. Setting the minimum ACU to 0 enables an auto-pause behavior controlled by the SecondsUntilAutoPause parameter on the --serverless-v2-scaling-configuration flag, which is configurable from 300 seconds to 86,400 seconds. When the configured idle interval elapses with no qualifying activity, the instance pauses; on the next connection attempt, it resumes.

This is the one place where the “thin scaling daemon” framing strains. The original Aurora design assumes long-lived compute instances; pausing and resuming is not in that picture. AWS engineered around this with a deeper sleep state and a measured resume path, but the seam is visible from the application side as latency on the first request after a pause.

Engine version floor#

Scale-to-zero requires recent engine versions: Aurora PostgreSQL at minimum 16.3, 15.7, 14.12, or 13.15; Aurora MySQL at minimum version 3.08.0. Older engine versions on the same parameter family do not get scale-to-zero. This is the kind of requirement that is easy to miss when evaluating Serverless v2 against an existing fleet running, for example, Aurora PostgreSQL 15.4: the cluster will run on Serverless v2, but the auto-pause feature will not engage.

Conditions that prevent auto-pause#

The auto-pause documentation lists conditions that block a pause. The architecturally interesting ones include:

  • Any user-initiated connection open. Administrative health-check connections do not count.
  • Patching or upgrades in progress.
  • PostgreSQL logical replication or MySQL binlog replication enabled. The writer and any failover-tier-0 or tier-1 readers will not pause; only readers with failover priority 2 or higher can pause in this configuration.
  • An associated RDS Proxy in certain configurations.

The replication clause is worth highlighting. A cluster doing logical replication to another system, whether for analytics, change data capture, or cross-region propagation, cannot have its writer pause. This is correct: if the writer pauses, the replication stream stops. It also means that a common production configuration, where logical replication feeds a downstream data platform, is structurally incompatible with writer-side auto-pause.

What a pause saves#

Serverless capacity is billed in ACU-hours, metered per second. While an instance is paused, its instance charge is zero and the ServerlessV2Usage metric reads 0. Storage and other cluster-level charges continue. The idle countdown before a pause is not free: Aurora starts pausing only after SecondsUntilAutoPause elapses with no connections, and until then the instance is billed at whatever capacity it holds. In the CloudWatch example on the auto-pause page, a resumed instance sat at 2 to 4 ACU through its five-minute countdown.

A worked example shows where the saving comes from. Take a development cluster with one serverless instance that is busy 40 hours a week at an average of 2 ACU and idle for the other 128 hours:

Minimum capacityBusy ACU-hours per weekIdle ACU-hours per week
0.5 ACU8064 (128 h × 0.5 ACU)
0 ACU, 300-second countdown80about 0.83 (5 idle stretches × 300 s × 2 ACU)
8 ACU, sized to keep the working set cached320 (40 h × 8 ACU floor)1,024

At the US East (N. Virginia) Aurora Standard rate of $0.12 per ACU-hour, the 0.5 ACU floor costs about $7.70 a week in idle compute, and auto-pause cuts that to about $0.10. The busy hours cost the same in the first two rows; an 8 ACU floor also lifts every busy hour to at least 8 ACU. Maintenance erodes the saving a little, because Aurora resumes paused instances for some maintenance and waits at least 20 minutes before pausing them again. The last row frames the trade-off. A minimum high enough to keep the cache warm costs far more than either option, and auto-pause gives that warmth up entirely, as the next two sections show.

Resume mechanics#

Typical resume latency from a recent pause is approximately 15 seconds. After a pause longer than 24 hours, Aurora moves the instance into a deeper sleep state, and resume latency rises to roughly 30 seconds or more. The documentation recommends setting client connectTimeout to at least 15 seconds, or at least 30 seconds for clusters that may be in long-paused states. This is the most visible application-side effect of scale-to-zero, and the one that most directly informs whether the feature fits a workload: a synchronous request path with no tolerance for a 15-second cold-start cannot use scale-to-zero on its primary database.

Resume starts cold#

The auto-pause documentation contains a load-bearing sentence: “a relatively small capacity and scales up from there. This starting capacity applies even if the DB instance had some higher capacity immediately before it was automatically paused.” In other words, resume does not restore the pre-pause capacity. It restores at a low ACU value and lets the scaling daemon climb back.

This sentence rewrites the buffer-pool warmth story. During normal in-place up-and-down scaling, the buffer pool changes size with the ACU allocation, but the entries already cached at the smaller size are retained where possible: scale-up adds memory, it does not clear cache. After auto-pause, the instance starts cold: the buffer pool is empty, the plan cache is cold, and the first queries pay full page-fetch and parse costs. For workloads with large hot working sets, the dominant cost of scale-to-zero is the minutes of degraded latency while the cache rewarms. The 15-second resume is the smaller part of that bill.

This is the architectural seam. Scale-to-zero is fine for low-traffic clusters where the cache cost is small, for development clusters where latency does not matter, and for read replicas that can absorb a slow first query. It is not a free toggle on a production primary serving latency-sensitive traffic.

Mixed-mode clusters#

A single Aurora cluster can mix Serverless v2 instances and provisioned instances in any combination. Because the storage layer is shared and the compute layer attaches to the same cluster volume regardless of mode, switching individual instances between modes is an instance-level operation, not a cluster-level one.

Two shapes recur in production:

The first is a provisioned writer with Serverless v2 readers. This fits workloads with steady, predictable write rates and variable read loads, or write workloads at scale beyond what the Serverless v2 ceiling currently absorbs. The provisioned writer gives stable, predictable write throughput; the Serverless v2 readers absorb the variability of read fan-out without operator intervention. The promotion tier decides how this shape fails over. A serverless reader in tier 0 or 1 cannot scale below the ACU equivalent of the writer’s memory: a writer with 128 GiB of memory holds it at roughly 64 ACU even when idle. That floor is the price of a failover target that can carry the writer’s load. Readers in tiers 2 to 15 scale down freely, but a failover that lands on one of them promotes a small instance that must grow under the full write load.

The second is a Serverless v2 writer with provisioned readers. This fits workloads with bursty writes and a steady, well-understood read profile. The Serverless v2 writer scales with the write burst; the provisioned readers provide stable, predictable cost and capacity for the read side. On failover, a provisioned reader becomes the writer at its fixed instance size, so its instance class has to cover peak write load as well as the read profile. This shape also gives up writer auto-pause: in a cluster that contains any provisioned instance, the serverless writer does not pause.

Both shapes appear as examples on the How it works page. The auto-pause page recommends a different set of layouts. For development and test, it suggests a single serverless instance. For highly available clusters that still go fully idle, it suggests a serverless writer plus a serverless reader in tier 0 or 1, so both pause and resume together. For clusters that are never idle, it suggests an always-on writer and tier 0 or 1 reader, optionally provisioned, plus serverless readers in tiers 2 to 15 that can pause on their own.

A practical note on upgrade paths: some Aurora engine version upgrades from older minor versions require starting with a provisioned writer and converting to Serverless v2 afterward. This is documented as part of the version-by-version upgrade prerequisites, and the requirements page is the place to check. Teams planning a major-version upgrade alongside a Serverless v2 conversion should not assume both can happen in one step.

The layer stack at a glance#

Storage layer: 6 copies, 3 AZs, log-as-database, shared volume

Platform version 1-4: host generation, ACU ceiling

Aurora compute: ACU-sized instances on oversubscribed hosts (Caspian)

Scaling daemon: CPU + memory + network -> target ACU, in place

Billing surface: ACU-hours metered per second, zero while paused

The diagram reads top-down in dependency order. The storage layer is the foundation that the rest builds on. The platform version sets the host generation and, with the engine version, the ACU ceiling. The compute layer is the Aurora engine running at some ACU allocation on an oversubscribed host. The scaling daemon is a controller that observes load and adjusts the ACU allocation. The billing surface is what the customer sees on the invoice: ACU-hours while an instance runs, and no compute charge while it is paused. Each layer is thin compared to the storage layer it depends on.

Architectural limits worth naming#

Several Serverless v2 limitations follow directly from the architecture above. The Requirements documentation names them.

Database Activity Streams (DAS) is not supported on Serverless v2. DAS streams database activity to Kinesis for compliance and audit use cases on provisioned Aurora. It is not available on the serverless compute layer. Teams with compliance requirements that mandate DAS cannot run those workloads on Serverless v2 today.

Cluster cache management for Aurora PostgreSQL is disabled. The apg_ccm_enabled parameter, which enables fast crash recovery by pre-warming a replica’s cache on the writer, has no effect on Serverless v2 instances. The feature exists for fixed-size provisioned readers where the cache contents are stable; on Serverless v2 the cache contents change with the ACU value, and pre-warming is not meaningful.

Aurora Auto Scaling, as discussed above, is not supported and not meaningful. The reader count is operator-managed; the per-reader capacity is automatic.

Regional availability is not uniform. The supported regions and engines page is the authoritative reference, and features reach Regions at different times. Platform version 4, for example, runs only in a listed subset of Regions. Teams operating in less-common Regions should consult the matrix directly before assuming scale-to-zero, platform version 4, or the 384 ACU ceiling is available locally.

Engine version requirements continue to evolve. Aurora MySQL 8.0 is supported with parameter family aurora-mysql8.0. Aurora PostgreSQL 13 through 17 are supported with families aurora-postgresql13 through aurora-postgresql17, and the capacity table already lists Aurora MySQL 8.4 and Aurora PostgreSQL 18 releases. The supported set keeps moving; the regions page carries the current version matrix.

Closing#

The architectural seam is scale-to-zero. It works as advertised, but resume starts cold both at the ACU level and at the cache level, and that combination should drive the enable-or-not decision on any given cluster.

The recommendation that follows from this model is to choose Serverless v2 when the workload is variable enough that the operational savings of automatic right-sizing exceed the cost of running on shared, oversubscribed compute. Reach for provisioned Aurora when the workload is steady, latency-sensitive at the cache level, or requires features like DAS that the serverless layer does not yet support. Scale-to-zero is the lever to reach for on low-traffic and development clusters, not on production primaries serving synchronous user traffic.

References#

Related posts