For most SaaS companies the better choice is a split design, with the stateless application tier active-active in at least two regions and the database kept single-writer with a replicated standby in the second region that is promoted only when the primary region fails. Full active-passive fits services that can tolerate minutes to hours of recovery, and full active-active fits services that need near-zero recovery time and have a data model that tolerates multi-region writes.
Control Plane runs the application tier in every location of a Global Virtual Cloud (GVC), Control Plane’s named set of locations, so that tier needs no standby copy to promote.
Disclosure: Control Plane publishes this guide.
TL;DR
The split design, active-active at the stateless tier and single-writer at the database, is the usual best fit for SaaS disaster recovery.
- AWS publishes RPO (how much recent data a failure can lose) ranges from hours (backup and restore) to near zero (multi-site active-active), and RTO (how long recovery takes) ranges from 24 hours down to potentially zero.
- Active-passive saves infrastructure cost, but the standby drifts unless you test failover regularly and verify capacity and quotas in the secondary region.
- Active-active needs capacity headroom in every serving region, and writing in more than one region also needs a data model that handles multi-region writes or partitions writes by tenant.
- Neither design replaces point-in-time backups, because replication carries a bad write or a deletion to every copy.
- The active-active vs active-passive cost model compares monthly cost for both patterns on one reference application.
- Control Plane runs the application tier active-active across regions and clouds, and each database keeps its own replication model.
What is the difference between active-active and active-passive disaster recovery?
The difference is whether the second region serves production traffic before a failure occurs.
| Pattern | RPO and RTO (AWS ranges) | What runs in the second region | Who serves traffic |
|---|---|---|---|
| Backup and restore | RPO in hours, RTO in 24 hours or less | Backups only; infrastructure and code are redeployed at recovery | Primary region only |
| Pilot light | RPO in minutes, RTO in tens of minutes | Replicated data and switched-off application servers that cannot process requests without additional action | Primary region only |
| Warm standby | RPO in seconds, RTO in minutes | A scaled-down copy of the full environment that can handle traffic at reduced capacity immediately | Primary region until failover |
| Hot standby (active-passive at full capacity) | No separate AWS range | A full-capacity environment where DR regions do not take traffic | Primary region until failover |
| Multi-site active-active | RPO near zero, RTO potentially zero | The workload, deployed to and actively serving traffic from multiple regions | All regions at once |
AWS calls a recovery region deployed at full capacity a hot standby, and its DR whitepaper says most customers find that if they stand up a full environment in a second Region, it makes sense to use it active/active. With multi-site active-active, the whitepaper says there is no such thing as failover, because the workload already runs in more than one Region, so DR testing checks that traffic is routed away from the failed Region and that the other Regions can handle all of it. A single-writer database whose writer was in the failed region still has to be promoted.
Active-active vs active-passive disaster recovery: which is better for a SaaS company?
Most SaaS companies fit a split design, with the application tier active-active and a single-writer database that has a cross-region replica, and RTO targets, user geography, tenant residency, and consistency needs decide the exceptions.
| Situation | Better fit | Why |
|---|---|---|
| RTO of an hour or more is acceptable and users are in one region | Warm standby or pilot light | Lower cost than active-active; Google Cloud notes that most applications have an RTO between an hour and a day |
| RTO of minutes, one relational database | Active-active application tier with a single-writer database and a cross-region replica | The app tier needs no failover and only the database is promoted, at the cost of cross-region latency on writes from the non-writer region |
| Mission-critical service, SLO of 99.99% or higher | Active-active across at least three regions | Microsoft’s mission-critical guidance says to strongly prefer an active/active multi-region model, with at least three regions for that SLO |
| Users on several continents need low latency | Active-active with write-local or write-partitioned data | AWS’s write-local strategy sends writes to the closest Region, and its write-partitioned strategy sends each partition key to one Region (write strategies) |
| Tenants must stay in a home region | Write-partitioned data or cells by tenant | Each tenant’s writes go to one region, and a failure stays within its cell |
| Data model needs strong consistency across regions | Spanner, DynamoDB strong consistency, or a single writer with consistent reads sent to the writer | DynamoDB global tables in eventual mode and Cosmos DB by default resolve conflicts by last write wins, which drops one of two concurrent writes |
The split design works because most SaaS applications have a stateless request-handling tier and a stateful persistence tier with different recovery needs. Running the application tier in two or more regions removes the failover step for compute. The database stays single-writer, which avoids write conflicts, and a cross-region replica is promoted only when the writer’s region is lost. Losing a non-writer region needs no promotion. Losing the writer’s region keeps replica reads available while writes wait for the promotion, so write RTO equals the database’s promotion time and RPO equals its replication lag at the moment of failure. The trade-off is latency, since every write from a non-writer region crosses regions to reach the writer, and so does every read that a local read replica does not serve. Serve reads from a local replica where replication lag is acceptable, keep read-after-write paths on the writer, cut the number of database round trips per request, and use write forwarding, such as Aurora’s, only where its added latency fits the request budget.
Which layers of a SaaS app can run active-active?
Each layer of a SaaS application has its own state, consistency, and replication needs, and those decide whether active-active is practical for it.
- Traffic routing. Global load balancers and DNS routing should use data-plane health checks to shift traffic away from an unhealthy region. AWS recommends using only data plane operations as part of your failover operation, because the data plane that serves requests has higher availability design goals than the provider APIs that create and change resources. DNS-based shifts take effect only as resolvers and clients honor the record’s TTL, and long-lived connections such as WebSockets, gRPC streams, and database pools stay on the old target until they close, so clients need timeouts and reconnect logic. Health checks that include the database move traffic away from a region cut off from the writer, but they fail in every region at once when the writer itself is down.
- Stateless application and API tier. This layer runs active-active once session data lives outside the servers. Microsoft’s Well-Architected guidance says to keep your compute layer clean of any state, and AWS recommends offloading session data to a database, cache, or external files. The session store then needs its own multi-region plan, or sessions should be signed tokens that any region can verify, so losing a region does not log every user out.
- Background workers and scheduled jobs. A scheduler in every region fires every job in every region, so a job that must run once per schedule needs a single owner, either a designated region whose role moves on failover or a lease held in a store that survives the loss of a region. Leases can expire while a paused worker is still running, so once-only jobs also need idempotent writes or a fencing token that the data store checks. Idempotent jobs can run in every region.
- The database. This layer carries most of the decision, and the next section lists the write model, RPO, RTO, and conflict handling for each major option.
- Caches and queues. Each region usually keeps its own cache, with the database as the source of truth. Writes in one region must invalidate or expire cached entries in the others, and a surviving region’s cache is cold for the traffic it takes over, so size the database for the miss rate after a failover. Region-local queues with idempotent consumers keep working, but messages still queued in a failed region wait for that region to return. A replicated queue avoids that, and its consumers then need deduplication because a message can be delivered in both regions.
- Files, secrets, and outside dependencies. Object storage needs cross-region replication, and secrets, the identity provider, and third-party APIs such as payments and email must be reachable from every serving region, or the design still depends on one region.
Which databases support active-active across regions?
A database’s write model decides whether it accepts writes in more than one region and how it handles conflicts when it does.
| Database | Write model | Documented RPO and RTO | Conflict handling |
|---|---|---|---|
| Aurora Global Database | Single writer; secondary Regions are read-only, with optional write forwarding to the primary | Switchover RPO 0; failover RPO typically measured in seconds and RTO in the order of minutes. The product page states an effective RPO of 1 second and RTO under 1 minute | None needed (one writer) |
| DynamoDB global tables (eventual consistency) | Multi-writer; every replica Region accepts writes | RPO equals replication delay, usually a few seconds; 99.999% availability SLA | Last writer wins per item; transactional writes are not replicated as a unit across Regions |
| DynamoDB global tables (strong consistency) | Multi-writer, deployed in exactly three Regions (three replicas, or two replicas and a witness that serves no reads or writes) | RPO zero; 99.999% availability SLA | Rejects a write to an item already being modified in another Region with ReplicatedWriteConflictException, which can be retried; writes and strongly consistent reads need cross-Region round trips, and transaction operations are not supported |
| Azure Cosmos DB with multi-region writes | Multi-writer; strong consistency is not available | RPO under 15 minutes with Session, Consistent Prefix, or Eventual consistency; 99.999% read and write availability for multi-region databases | Last Write Wins by default or a custom merge procedure (API for NoSQL only, set when the container is created); conflicts a merge procedure cannot resolve go to a conflicts feed |
| Azure SQL Database failover groups | Single writer; asynchronous geo-replication | Customer-managed failover: RTO typically less than 60 seconds, RPO depends on changes not yet replicated. Microsoft-managed failover suits only apps that tolerate RTO of at least one hour | None needed (one writer) |
| Cloud Spanner multi-region | The leader region handles all database writes, and data replicates across regions with strong consistency | 99.999% SLA for multi-regional and dual-regional instances; dual-region configurations provide a zero RPO, with manual failover that usually completes within one minute and Google-managed failover that can take up to 45 minutes. No RPO or RTO number is published for multi-region configurations | None needed (strongly consistent) |
| Cloud SQL cross-region replica | Single writer; failover promotes a cross-region read replica | Replica failover RPO is likely non-zero; advanced DR switchover loses no data on Enterprise Plus. No RTO number is published; Google lists an RTO and RPO requirement in minutes as a reason to configure cross-region failover | None needed (one writer) |
| PostgreSQL with streaming or logical replication | Single writer with streaming replication, which is asynchronous by default, so committed transactions can be lost if the primary crashes; the docs list built-in logical replication as allowing multiple primary servers | Not published (depends on your setup); synchronous replication avoids losing commits confirmed by the synchronous standby, at the cost of a round trip on every commit | A logical replication conflict that errors stops replication until a user resolves it; core PostgreSQL has no synchronous multimaster, and the docs name Bucardo as an asynchronous multimaster example |
Single-writer databases fit the split design, since they avoid write conflicts and let the application tier run active-active against one source of truth. Multi-writer databases trade consistency or region count for write locality. DynamoDB strong consistency requires exactly three Regions, and Cosmos DB multi-region writes rule out strong consistency. Spanner keeps strong consistency with one leader region that handles all writes and a write quorum of voting replicas across regions, at the cost of a small increase in write latency. On Control Plane, the Template Catalog deploys both PostgreSQL models into a GVC, with pgEdge for multi-writer PostgreSQL and a Patroni cluster whose single primary fails over to a replica automatically when one of three or more locations is lost. The database failover runbook covers promotion, connection strings, and failback step by step.
What does each design survive?
Each design handles the seven common failure types differently, and two of them, bad deploys and data corruption, need measures outside either design.
| Failure type | Active-passive | Active-active |
|---|---|---|
| Region outage | Promote the standby and redirect traffic, with RTO from minutes for warm standby to tens of minutes for pilot light | The remaining regions keep serving, with no failover step for the application tier; a single-writer database whose writer was in the failed region is still promoted, and writes wait until it is |
| Availability Zone outage | Handled inside the region by a multi-AZ deployment; AWS says most users can meet resilience objectives in a single Region with multiple Availability Zones | Same, with multi-AZ inside each serving region and static stability from spare capacity |
| Bad deploy | The standby is spared only with staggered deployments | Every region that receives the deploy at once is affected; cells or staggered rollouts limit the scope of impact |
| Data corruption or ransomware | Replication may not protect against data corruption or malicious attack; point-in-time backups are required | Same; point-in-time backups are required in every design |
| Provider configuration APIs impaired during the outage | Failover steps that launch, scale, or reconfigure resources depend on the provider’s configuration APIs, which the same event can impair, and AWS advises using only data plane operations during failover | Capacity is already running, so routing can shift on data-plane health checks without configuration API calls; promoting a single-writer database replica is usually still a provider API call and can be exposed to the same event |
| Capacity in the surviving region | Pilot light and warm standby must scale up, and capacity that was enough at the last test may no longer handle the load | Active-active at capacity must also scale up, and an outage can leave supply short of demand; overprovisioned active-active absorbs the load without scaling |
| Network partition between regions | Promoting the standby while the primary still accepts writes creates two writers; fence the primary first or wait until it is confirmed down | Regions cut off from a single writer lose writes until the partition heals or traffic moves to the writer’s side; multi-writer stores keep accepting writes and resolve conflicts after it heals |
This is Control Plane’s comparison built from the cited AWS and Microsoft guidance, checked November 26, 2026.
What goes wrong with each design?
Eight operational failure modes recur across both designs, and a failover drill can check for each of them.
- Standby drift and expired capacity or quotas. A secondary region that passed its last test may no longer have the right quotas, instance types, or configuration. AWS lists not updating recovery locations and not detecting configuration drift as anti-patterns.
- No headroom in the surviving region. AWS describes static stability through overprovisioning, for example 50 percent extra capacity across three Availability Zones, so a service keeps working without launching new instances. The same reasoning extends to regions, and AWS suggests capacity reservations for the recovery Region.
- Asynchronous replication losing recent writes. Aurora Global Database failover RPO is typically a non-zero value measured in seconds, and PostgreSQL streaming replication can lose committed transactions if the primary crashes.
- Write conflicts in multi-writer data. DynamoDB global tables with eventual consistency keep the last write to an item and drop the other, and Cosmos DB with multi-region writes does the same unless you supply a custom merge procedure.
- A bad deploy reaching every region. AWS recommends staggered deployments so one defect is not pushed to production and the DR site at the same time, and cells limit a bad software update to the requests one cell handles. Database schema migrations bypass both controls when every region shares one writer, so run them as backward-compatible expand-and-contract steps and take a restore point before each one.
- Corruption replicated with no point-in-time backup. Continuous replication copies a bad write or deletion as quickly as a good one, so both designs need backups that can restore to a point before the damage.
- Two writers after a promotion (split-brain). An old primary that was only unreachable from the failover tooling, or that restarts later, can keep accepting writes after its replica is promoted, and the two copies diverge. Fence the old primary as part of every promotion by stopping it, revoking the application’s credentials on it, or blocking its network path, and move every connection string or DNS name to the new writer before reopening writes.
- No failback plan. After a forced failover the old primary may hold writes the new primary never received, so it cannot rejoin as is. Rebuild it as a replica of the new primary, with pg_rewind or a fresh base backup for PostgreSQL, record or reconcile the writes that were lost, and move back with a planned switchover, which Aurora Global Database runs with RPO 0.
How do you move from active-passive to active-active?
The move is incremental, and each step improves recovery on its own.
- Make the application tier stateless. Move sessions and local files to a shared database, cache, or file store, because a second region cannot take over a session that lives on one server.
- Keep one writer region, add a cross-region replica in the second region, and practice promotion. Aurora Global Database, Azure SQL failover groups, and Cloud SQL cross-region replicas all support this model, and regular promotion drills that include fencing the old writer and failing back check the RTO and RPO budget.
- Run the application tier in the second region and send it live traffic. Measure cross-region write latency first, point that region’s reads at its local replica, and raise its traffic share in steps. The application tier is then active-active, and compute needs no failover.
- Add capacity headroom and test regularly. AWS says the only error recovery that works is the path you test frequently, so reserve or overprovision capacity and fail over on a schedule.
- Move to multi-writer data only when latency or RTO requires it. Write-local and write-partitioned strategies work with DynamoDB global tables, Cosmos DB multi-region writes, or multi-master PostgreSQL such as pgEdge, which Control Plane’s Template Catalog deploys into a GVC. The break-even model for multi-region active-active shows when the extra cost pays back.
How Control Plane fits
Control Plane handles Day 2 operations for you, including autoscaling, built-in observability, and security. A Global Virtual Cloud (GVC) is Control Plane’s named set of locations. One GVC can span locations on AWS, GCP, Azure, and Oracle Cloud Infrastructure, plus Kubernetes clusters or servers you run, including on premises. Every workload in the GVC runs in each of its locations from one workload definition, so the application tier is already live in every location when one of them fails.
Control Plane gives each workload a canonical endpoint that routes clients to the nearest location where the workload passes its readiness probes. Control Plane’s location routing options set a routing tier per location, so a primary group serves traffic and the next group takes over when every location in the first is unavailable.
Control Plane offers a 99.999% SLA for workloads that run at least two replicas in at least two locations. According to Control Plane’s internal incident telemetry, no Control Plane customer experienced downtime during the October 20, 2025, AWS us-east-1 outage; affected workloads in GVCs that included us-east-1 were active and running in healthy locations within 10 seconds.
Each database keeps its own replication and conflict rules, so the database guidance in this guide applies unchanged. Control Plane’s Template Catalog includes multi-location databases that deploy into the same GVC as the application. The PostgreSQL Patroni cluster stretched across locations keeps a single primary with streaming replicas in the other locations and, across three or more locations, promotes one automatically when a location is lost, which is the split design this guide recommends. pgEdge runs active-active PostgreSQL with multi-master replication for services that need writes in every location.
The guides to running active-active across AWS and Azure without idle standby, cutting cloud costs while keeping multi-region redundancy, the most resilient cloud architecture, and the best multi-cloud failover solutions cover the surrounding design, and the cloud outage tracker records recent provider incidents.
FAQ
These answers cover the active-active and active-passive questions SaaS engineering leaders ask most.
Active-active vs active-passive disaster recovery: which is better for a SaaS company?
For most SaaS companies a split design is better, with the stateless application tier active-active and the database single-writer with a cross-region replica. On Control Plane, the application tier already runs in every location of a Global Virtual Cloud (GVC), Control Plane’s named set of locations. Choose full active-passive when minutes to hours of recovery are acceptable, and full active-active when the service needs near-zero recovery time and its data tolerates writes in more than one region.
Is active-active more expensive than active-passive?
Yes, when you build it yourself. Every serving region needs production capacity, and overprovisioned active-active, which Microsoft calls the most resilient design possible, has higher operating costs than an active-active design that scales up during an outage. AWS describes warm standby as a more economical and operationally less complex approach for teams that do not want both regions serving users. On Control Plane, every location runs the workload and autoscales with the load it receives, so active-active runs without paying for idle standby capacity. Where a service needs the overprovisioned design, a minimum replica count set for each location holds the spare capacity. The cost model for active-active vs active-passive prices each pattern for a reference application.
What RPO and RTO can active-passive achieve?
Active-passive reaches RPO in seconds and RTO in minutes with warm standby, the fastest active-passive pattern AWS publishes a range for. AWS’s Well-Architected reliability pillar puts pilot light at RPO in minutes and RTO in tens of minutes, and backup and restore at RPO in hours and RTO in 24 hours or less.
Does active-active replace backups?
No. AWS says continuous replication may not protect against data corruption or malicious attack as well as point-in-time backups do. Both designs need backups that restore to a point before the damage, stored outside the replication path.
Can I run active-active with PostgreSQL?
Yes. The application tier runs active-active against a single-writer PostgreSQL primary with a streaming replica in the second region that is promoted on failure, and pgEdge runs active-active PostgreSQL with multi-master replication when every region must accept writes. Control Plane’s Template Catalog includes pgEdge and a PostgreSQL Patroni cluster stretched across locations, which promotes a replica automatically when one of three or more locations is lost. Core PostgreSQL has no synchronous multimaster replication, and a logical replication conflict that errors stops replication until a user resolves it, so writes to the same row in two locations still need a conflict rule, which pgEdge applies as last-update-wins.
What is the difference between warm standby and hot standby?
Warm standby runs a scaled-down copy that can take traffic at reduced capacity immediately, and hot standby runs the recovery region at full capacity. In both, users are sent to one region until failover.
How many regions does active-active need?
Two regions is the minimum. To ride out the loss of one region without scaling up, each of two regions must be sized for the full load, and each of three for half of it. Microsoft recommends at least three deployment regions for an SLO of 99.99% or higher, and DynamoDB global tables with strong consistency run in exactly three Regions. AWS also warns that a badly built multi-Region architecture can lower overall availability.
How often should I test failover?
Test on a regular schedule, whether or not anything has failed. AWS says to fail over to the standby regularly, and a test should check capacity, quotas, data recovery, fencing of the old writer, and failback. The guide to testing failover without taking production down lays out a safe sequence.
How does Control Plane run active-active?
Control Plane runs every workload in each location of its Global Virtual Cloud (GVC), Control Plane’s named set of locations, from one workload definition, so there is no standby copy to promote. Each workload’s canonical endpoint routes clients to the nearest location where the workload passes its readiness probes, and Control Plane’s location routing options set a primary group of locations with a next group that takes over when every location in the first is unavailable. A GVC can span AWS, GCP, Azure, Oracle Cloud Infrastructure, and your own Kubernetes clusters or servers, including on premises. Control Plane’s 99.999% SLA covers workloads that run at least two replicas in at least two locations. Databases keep their own replication, and Control Plane’s Template Catalog includes pgEdge for multi-writer PostgreSQL and a stretched PostgreSQL Patroni cluster for a single writer with automatic promotion across three or more locations.
Talk to the Control Plane team to design your multi-region architecture, or sign up free to deploy your first Global Virtual Cloud.
Originally published on the Control Plane blog.
Top comments (0)