ADR-0017 — Disaster recovery posture: multi-AZ today, active-passive warm spare planned
Context
ION targets an SLO of 99.9%, an RTO of ~1 hour, and an RPO of 0 (no acceptable data loss) at the platform level — established in the V3 capacity model and principles/README.md § 18. The 2026-10-15 amendment “Reliability objectives clarified” states how these apply today: RTO ~1 hour and RPO 0 are the targets for the planned warm spare, and the current objectives are set per scenario. Customer data must reside in Switzerland (Swiss North and Swiss West are the only permitted Azure regions).
Microsoft’s Azure reliability guidance identifies four deployment approaches with different reliability/cost/ operational trade-offs:
- Locally redundant — single region, no zone alignment.
- Zonal (pinned) — deployed to a specific availability zone.
- Zone-redundant — deployed across multiple availability zones in one region; Microsoft manages sync, traffic distribution, and zone failover.
- Multi-region — resources deployed across multiple Azure regions.
For the multi-region case, four sub-strategies were evaluated in
references/Architecture- DR.md and
the referenced DR- Active-* documents:
active-active, active-passive warm spare, active-passive cold spare,
active-passive redeploy-on-disaster, and multi-region data replication
only.
Two facts constrain the choice:
- All ION customer data is in Switzerland. Cross-region DR is only available between the two Swiss regions (Swiss North ↔ Swiss West); there is no third-region option under the residency constraint.
- ION has been running production in Swiss North with zone redundancy only. The multi-region DR references are design exercises — none of the active-passive configurations described in the DR doc set are in production today. That gap is a load-bearing part of this ADR.
Forces / Drivers
- principles/README.md § 18 Data residency & compliance — Switzerland-only; cross-region DR must be Swiss North ↔ Swiss West.
- principles/README.md § 21 Azure-native managed services first — DR primitives (Cosmos automatic failover, geo-replication, Azure Front Door priority routing) must be used rather than ION-owned replication or failover logic.
- principles/README.md § 19 Cost is a design constraint — production runs at ~25.7K CHF/month in Swiss North (Aug 2025). Adding a full active-active Swiss West doubles the platform bill; a warm-spare Swiss West adds ~30K CHF/month; cold spare ~17.6K CHF/month.
- principles/README.md § 23 Blast-radius containment — a regional outage must not be a platform-wide outage; DR posture is the last line of containment.
- principles/README.md § 24 Azure Landing Zone architecture best practices — DR topology should extend the hub-spoke landing-zone model into the secondary region rather than introducing a bespoke shape.
- RTO 1 hour (potentially tightening to 30 minutes since SOC can manually absorb up to ~30 minutes before customer SLAs breach) and RPO 0 — data loss unacceptable.
- Active-active is not required. ION’s users are in North America and Europe, but the workload is not a low-latency global read/write workload; the incident-processing pipeline can tolerate a single-region write path.
Decision
Adopt a staged DR posture:
Current state — Zone-redundant in Swiss North (active)
The production platform runs zone-redundant across Availability Zones in Swiss North. This is what is deployed today.
- Data stores (Cosmos DB, Service Bus, Storage, Key Vault, PostgreSQL Flexible) are configured for zone redundancy where the service tier supports it — the same posture locked in ADR-0007 for the Incident Event Store, extended platform-wide.
- Compute (Function Apps, Container Apps) is deployed to zone-redundant
plans where the tier supports it. Linux Consumption (
Y1) Function Apps and some dedicated plans are not zone-redundant (see Amendments). - Edge and ingress: Application Gateway is zone-redundant in Swiss North. APIM runs on classic Standard, which has no availability-zone support (see Amendments).
- Front Door (ADR-0015) provides global entry and can route to a second region when one exists. Today it routes to Swiss North only. The one exception is the read-only operational-data portal, which fails over to the RA-GZRS secondary read endpoint in Swiss West (see Amendments).
- Covers: single-zone failure. Microsoft handles zone failover transparently for zone-redundant SKUs; ION does not run a failover runbook for a zone incident.
- Does not cover: a full-region outage in Swiss North.
RPO for zone incidents: 0 (synchronous zone replication). RTO for zone incidents: minutes (Microsoft-managed).
Planned direction — Active-Passive Warm Spare in Swiss West (planned)
The recommended target posture is an active-passive warm spare deployed into Swiss West, aligned with the RTO 1-hour requirement.
- Global routing: Front Door with priority routing — Swiss North primary, Swiss West secondary. Manual failover on regional outage.
- Data replication: single-region-writer with automatic PaaS failover
where supported —
- Cosmos DB — automatic failover with strong-consistency-compatible settings on the event store side (bounded by ADR-0007 and the pending Event Store DR ADR-0018).
- PostgreSQL Flexible — geo-replica in Swiss West.
- Storage / ADLS — geo-redundant replication.
- Service Bus — geo-DR pairing.
- Key Vault — soft-delete + geo-restore per Azure guidance.
- APIM — backup/restore + secondary premium tier.
- Compute: deployed to Swiss West in minimum-sized, disabled/idle state; scaled up on failover.
- Network: hub-spoke topology from ADR-0016 replicated in Swiss West; VNet peering and private DNS extended.
- Failover model: automatic for data stores; manual for global routing (Front Door priority swap). This meets RTO 1 h with room for RTO 30 min once runbooks and DR drills are established.
- Cost: ~30K CHF/month for Swiss West production warm spare in addition to Swiss North (per DR reference table). Approximate; final sizing pending event-store DR ADR-0018.
Explicit gap: the platform is not multi-region today. The DR reference doc states plainly “ION Platform is not ready for multi-region deployment out of the box; changes are required.” This ADR records the target posture and the direction; the transition plan is out of scope for the ADR and belongs in a delivery plan.
Environment scope
DR applies to prd and (for pre-production validation) at least gma.
apa and bta remain single-region multi-AZ; there is no regulatory or
business driver for DR in the earlier environments.
Alternatives Considered
Option A — Stay zone-redundant only (Swiss North, no Swiss West) (status quo)
- Rejected as long-term posture. Grounds:
- (decisive) Does not cover a Swiss North full-region outage. Zone-redundancy protects against single-zone failure only. A regional event exceeds RTO 1 h automatically because there is nowhere to fail over to.
- Fails to meet the platform’s stated 99.9% SLO once a regional incident occurs.
- Retained as the current posture, but marked as a known gap; Option C (warm spare) is the intended target.
Option B — Active-Active (multi-region writer) in Swiss North + Swiss West
- Rejected. Grounds:
- (decisive) Cost. ~110 K CHF/month at 2025 pricing (Swiss North ~50.4 + Swiss West ~58). Roughly doubles the platform bill for a capability ION’s workload does not require.
- Highest operational, development, and deployment complexity. Multi-region writes require conflict resolution, session-consistency handling, and per-service multi-writer readiness that the incident- processing pipeline is not designed for.
- Cross-region write latency would degrade the incident-processing path, whose SLA depends on end-to-end freshness within seconds.
- Justified only when near-zero RPO/RTO across regions is required. ION’s RTO of 1 h and single-region writer are compatible with active-passive warm spare at a fraction of the cost.
Option C — Active-Passive Warm Spare (selected as target — see Decision)
- Selected. See Decision → Planned direction above. Best fit for RTO ~1 h, RPO 0-approaching-0, and the cost envelope.
Option D — Active-Passive Cold Spare
- Rejected. Grounds:
- (decisive) RTO risk. Cold spare means data is replicated but compute must be re-provisioned on failover. Recovery time is measured in hours, exceeding the RTO 1 h target.
- Marginal cost saving (~17.6K vs. ~30K CHF/month) does not justify missing SLO after a regional event.
Option E — Active-Passive Redeploy-on-Disaster
- Rejected. Grounds:
- (decisive) RTO would be measured in days. Full redeploy is incompatible with RTO 1 h.
- Data-recovery approach relies on backup restore in a different region; the DR reference notes technical limitations here.
- Only appropriate for non-critical apps with strict cost floors — not the ION platform.
Option F — Multi-Region Data Replication only (no compute in secondary)
- Rejected. Grounds:
- (decisive) Insufficient RTO. Data is safe in the secondary region, but there is no compute path to serve traffic without a full stand-up. RTO comparable to redeploy-on-disaster.
- Cost saving (~8.2K CHF/month) is real but does not meet the SLO requirement.
- Retained as a fallback posture worth documenting: it is the minimum bar the platform must at least reach as an interim state before warm spare goes live.
Option G — Multi-region outside Switzerland (e.g., West Europe secondary)
- Rejected. Grounds:
- (decisive) Violates § 18. Customer data may not leave Switzerland. Non-negotiable regulatory constraint.
Rationale
Under the residency constraint, ION has exactly one geographic pair — Swiss North ↔ Swiss West. The active-passive warm-spare posture is the CAF-standard and Azure-native shape for that pairing, and it is the only option in the reviewed set that simultaneously satisfies:
- RPO 0 — automatic PaaS geo-replication + synchronous zone replication in the active region.
- RTO ≤ 1 h — warm compute in Swiss West requires scale-up, not stand- up; Front Door priority-swap is a runbook action, not a fresh provisioning cycle.
- Cost envelope — ~+60% platform cost, not ~+200% as active-active.
- Data residency — both regions are in Switzerland.
- Operational shape — extends the hub-spoke landing-zone model (ADR-0016, § 24) into the secondary region rather than inventing a new topology.
Recording the current posture (zone-redundant single-region) honestly as a documented gap is deliberate. It is easier to close a known gap than a denied one, and the retrospective ADR corpus should not present target posture as if it were shipped.
Consequences
Positive
- Zone incidents are covered today with zero ION-side operational effort.
- The planned warm-spare posture aligns with RTO 1 h and RPO 0 at documented cost, using Azure-native failover primitives.
- The DR direction extends CAF landing-zone patterns; the platform team operates the hub in Swiss West, system teams operate their spokes.
- Data residency is preserved under both current and planned postures.
- Multi-region readiness becomes a series of scoped per-service upgrades, not a platform rewrite.
Negative / Trade-offs
- Regional outage in Swiss North is not covered today. The current posture cannot meet SLO through a regional event; this is a documented gap until warm spare is delivered.
- Warm spare adds ~30K CHF/month to the platform bill for
prd; additional cost forgmaif a full pre-production DR pair is required (recommended). - Failover runbook + DR drills required. Front Door priority swap is manual; SRE must own the runbook, and periodic failover drills are the only way to verify RTO empirically.
- Data-store DR is per-service. Each service owning a data store must configure geo-replication and validate replication lag; cross-service DR ordering (e.g., PostgreSQL replica lag vs. Cosmos automatic failover) must be understood and tested.
- Some services will need changes to be multi-region-ready (writer election, connection-string handling, cache invalidation on failover). Delivery plan owns this; ADR only records the direction.
- A regional-outage-shaped event still degrades service during the manual failover window; SOC compensation absorbs up to ~30 minutes.
WAF Pillar Impact
- Reliability (primary) — moves from single-region-zone-redundant to multi-region active-passive, closing the region-outage gap and meeting RTO/RPO for the ION SLO.
- Cost Optimization — warm spare chosen over active-active as the cheapest posture that still meets RTO; cold spare / redeploy rejected because their cost savings breach RTO.
- Operational Excellence — Azure-native failover primitives + DR drills; hub-spoke extended into secondary region for consistent operation.
- Security — no change to identity, data-residency, or authorization; DR replication uses managed Azure paths within Swiss geography.
- Performance Efficiency — active-passive avoids cross-region write latency that would degrade the incident pipeline; secondary region scaled up only on failover.
Previous approach (V2)
V2 architecture assumed single-region deployment with limited zone- redundancy consideration. Availability was addressed at the service level (retries, DLQs, health checks) rather than at the deployment topology. The DR reference document set — including active-passive and active-active configurations, multi-region data replication, degraded-service modes, and per-service failover options — is a V3 design exercise exploring options; no cross-region DR is deployed today. This ADR converts that exercise into a locked platform direction while distinguishing what is shipped from what is planned.
Amendments
-
2026-10-15 — Operational-data continuity implemented. The operational-data replication option “RA-GRS with a static read-only UI” is implemented as
portal.opsdata(Vishnu):- an RA-GZRS storage account holds the replicated rules of engagement, escalation matrices, and notes as JSON, plus a static read-only UI;
- Front Door priority-2 origins point to the Swiss West secondary read endpoints, so read access continues automatically during a Swiss North outage;
- data is read-only and may lag the primary;
- access requires Entra sign-in, the
Ion.OpsDataPortal.Readapp role, and Storage RBAC.
The transactional platform’s regional posture is unchanged.
-
2026-10-15 — Same-region DR scope, zone gaps, and corruption targets. The same-region DR documentation (reliability/dr) compared the live
prdestate with this ADR. These corrections and additions apply:- APIM is not zone-redundant.
apim-rome-prd-chn-02is classic Standard, which has no availability-zone support. The target is Premium v2, zone-redundant, inprd. Tracked as gap DR-03 (HIGH), owned by CPE. - Compute zone gaps. Linux Consumption (
Y1) Function App plans cannot be zone-redundant. This is accepted at LOW severity: the apps are stateless, their triggers are durable and zone-redundant, and Consumption saves cost. New Function Apps default to Flex Consumption with zone balancing. Microsoft’s announced retirement of Linux Consumption (30 September 2028) is a migration driver. Some dedicated plans are also not zone-redundant. Both are tracked as DR-11 and DR-12. - SignalR
Standard_S1has no availability-zone support. The target is Premium inprd(DR-09). - Data-store exceptions. Azure SQL databases are not zone-redundant
(see the ADR-0022 amendment).
psql-zge-prdruns without HA. One Cosmos DB account is not zone-redundant. Three Cosmos DB accounts, including the investigations event store, use Periodic backup (see the ADR-0018 amendment). - Corruption and deletion targets. Zone redundancy does not cover
logical failures. For T0 flows, the objectives are RTO ≤ 4 hours and
RPO at the PITR granularity of the affected store. T1 to T3 recover
after T0, with no target set. All DR targets are objectives, unmeasured
until a drill in
gmameasures them. - Criticality tiers T0 to T3 are defined in the DR architecture. A shared resource inherits the highest tier of the flows that use it. Signet is T0, because the MFE frontends cannot authorize users without it.
- Operational-data freshness. Rules of engagement, escalation matrices, and notes are refreshed daily, so the replica can be up to about a day old. Customer configuration is event-driven.
The Switzerland West warm spare remains the planned direction. It is documented as a proposal only.
- APIM is not zone-redundant.
-
2026-10-15 — Reliability objectives clarified. The reliability maturity assessment (reliability/maturity-model) found that the Context and Forces read “RTO ~1 hour, RPO 0” as a current guarantee. The objectives are clarified as follows:
-
SLO. 99.9% internal availability, agreed with stakeholders and recorded as REL-5 in the V3 requirements.
-
Recovery objectives for the current same-region posture:
Scenario RTO RPO Zone loss Minutes, Microsoft-managed 0 Logical corruption or deletion on a T0 flow ≤ 4 hours PITR granularity of the affected store Switzerland North region outage Accepted risk. The transactional platform waits for the region Transactional platform not covered. The operational-data replica can be up to about one day old -
RTO 1 hour and RPO 0 are the targets for the planned Switzerland West warm spare. They are not current guarantees. The event-store targets in ADR-0018 (RTO ≤ 30 minutes, RPO 0) are likewise targets for the planned multi-region posture.
-
Composite SLA (Inferred). Multiplying the published Microsoft SLAs along the serial T0 path (Front Door, Application Gateway, APIM Standard, Functions, Cosmos DB, Service Bus) gives roughly 99.7 to 99.8%, which is below the SLO. This has not been checked against the
prdSKUs. The SLO relies on redundancy that the product ignores: Front Door priority-2 origins bypass a failed Application Gateway, and Service Bus buffers work through a compute outage without losing it. APIM Standard is the weakest serial link, so closing DR-03 improves the composite most directly. -
All values remain objectives until a drill measures them (DR-20). SLO attainment is not measured yet.
The decision is unchanged.
-
-
2026-10-15 — Flow catalogue owns the criticality tiers. The tiers are now defined per flow in the reliability flow catalogue, which the DR architecture summarizes. A component inherits the highest tier of the flows it serves. The T0 flows are the incident-to-ticket pipeline (Sentinel to ServiceNow), escalation and customer notification, and the Alya analyst workbench. The 99.9% SLO applies to the T0 flows. Availability targets for T1 and T2 are proposals and are not part of this decision until they are agreed. The composite SLA of the serial T0 path is about 99.79% (Inferred), consistent with the estimate above.
The decision is unchanged.
-
2026-10-15 — Residency exceptions. ADR-0034 records approved exceptions. Some resource types (for example Storage, Key Vault, App Service, and Cognitive Services) may run in West Europe, East US, Sweden Central, or France Central and may hold customer data. This changes the Context statement “All ION customer data is in Switzerland”. It does not change this decision:
- The core data stores (event stores, databases, Service Bus, Event Hubs) have no exception, so Option G (a secondary region outside Switzerland) remains rejected.
- The region policy does not currently allow Switzerland West. The planned warm spare needs a policy change before deployment. RA-GZRS replication to Switzerland West is Azure-managed and needs no change.
References
- references/Architecture- DR.md — primary source; deployment approaches, RTO/RPO, cost comparison table.
- references/DR- Active-Passive Configuration.md — warm spare / cold spare / redeploy variants and configuration details.
- references/DR- Active-Active Configuration.md — design exercise for the rejected active-active option.
- references/DR- Multi-Region Data Replication.md.
- references/DR- Operational Data Replication.md.
- references/DR- Azure Frontdoor.md, references/DR- Azure Application Gateway.md.
- references/Active-Passive- Degraded Service.md, references/Active-Passive- Degraded Service (4-8 hours).md.
- references/Architecture V2- Availability.md.
- Azure WAF — Regions and availability zones.
- Azure Front Door — priority routing.
- Cosmos DB automatic failover, Service Bus geo-DR, PostgreSQL Flexible geo-DR, Storage DR guidance, APIM backup/restore.
- ADR-0007, ADR-0015, ADR-0016.
- principles/README.md §§ 18, 19, 21, 23, 24.
Related ADRs
- ADR-0007 — Cosmos DB event store zone-redundant + PITR; DR posture for the event store is scoped in ADR-0018.
- ADR-0015 — Front Door provides the global priority-routing lever for regional failover.
- ADR-0016 — hub-spoke topology extended into Swiss West on warm-spare delivery.
- ADR-0018 (pending) — Event Store DR specifics (Cosmos multi-region write vs. single-region write with automatic failover; sequence-vs-region trade-offs).