25.1 Multi-Region Active-Active (AWS)
us-east-1 (Primary) eu-west-1 (Secondary)
┌────────────────────┐ ┌────────────────────┐
│ ALB → ECS/EKS → RDS│ │ ALB → ECS/EKS → RDS│
│ (Aurora Primary) │──────────►│ (Aurora Replica) │
│ ElastiCache │ │ ElastiCache │
└────────────────────┘ └────────────────────┘
│ │
└─────────┐ ┌──────────────┘
Route 53 Global (Latency-Based Routing)
+ DynamoDB Global Tables (multi-master)
25.2 Active-Passive DR Pattern (Healthcare/Regulated AI Example)
Route 53 / Traffic Manager (DNS)
/ \
us-east-1 (Primary) us-west-2 (DR/Secondary)
│ │
┌──────────┼──────────┐ ┌─────────┼─────────┐
│ EKS │ Bedrock/ │ │ Standby │ │
│ Cluster │ Azure OAI │ │ Cluster │ │
│ RDS │ Endpoint │ │ Read │ │
│(Primary)│ OpenSearch│ │ Replica │ │
└─────────┴───────────┘ └─────────┴─────────┘
RTO target: < 30 minutes RPO target: < 5 minutes
25.3 RTO/RPO by Architecture Pattern
| Pattern | RTO | RPO | Cost | Complexity |
|---|---|---|---|---|
| Backup & Restore | Hours | Hours | $ | Low |
| Pilot Light (minimal standby) | 10s of minutes | Minutes | $$ | Medium |
| Warm Standby (scaled-down replica) | Minutes | Seconds–minutes | $$$ | Medium-High |
| Multi-Region Active-Active | Near-zero | Near-zero | $$$$ | High |
25.4 Healthcare/Regulated-Data-Specific HA Requirements
- In-flight transaction durability — must not lose in-progress claims/orders during failover; use durable queues (SQS/Service Bus/Kafka) with multi-AZ replication ahead of any stateful processing step.
- Database HA — RDS/Azure SQL Multi-AZ with automated failover; Aurora/Cosmos DB for sub-minute failover where cost justifies it.
- Object storage durability — S3/Blob Storage already deliver 99.999999999% (11 nines) durability; documents are safe by default, DR planning should focus on compute and database tiers.
- AI provider HA — Bedrock/Azure OpenAI have built-in regional HA, but the application must still implement a circuit breaker and cross-region failover for the calling service, since a regional Bedrock/Azure OpenAI outage is possible even if rare.
- Data residency during failover — for regulated data (PHI/PII), replicate only encrypted, de-identified data cross-region for DR; keep the identity-mapping/PHI data in the primary region unless full multi-region write is a compliance-approved requirement.
25.5 Interview Q&A
Q1: How do you handle data residency and compliance for a multi-region AI deployment handling regulated data (e.g., PHI)?
A: Regulated data stays in the region where it was collected — enforced with bucket policies and database-level region constraints, not just convention. Model artifacts (which contain no PHI) can be freely replicated across regions for availability. I select AI provider regions carefully — e.g., Bedrock or Azure OpenAI regions with a signed BAA — rather than defaulting to the lowest-latency region. For cross-region failover/DR, I replicate only encrypted, de-identified data; the PHI-to-identity mapping table stays in the primary region and is not part of the DR replica unless there’s an explicit compliance-approved reason. I run CloudTrail/Azure Activity Log in every region and centralize logs to a dedicated security/audit account, and enforce encryption with customer-managed KMS keys with access restricted via explicit cross-account policies.
Q2: Design a multi-region active-active architecture and explain the trade-offs versus active-passive.
A: Active-active: both regions serve live traffic, Route 53/Traffic Manager does latency-based routing, data layer uses a multi-master store (DynamoDB Global Tables, Cosmos DB multi-region writes) or careful conflict resolution. Benefits: near-zero RTO/RPO, full capacity utilization in both regions. Costs: significant complexity in conflict resolution for any data written in both regions simultaneously, doubled steady-state infrastructure cost, and much harder testing/debugging. Active-passive (warm standby): primary serves all traffic, secondary runs scaled-down and gets continuous replication; promote secondary on failover. Simpler to reason about and cheaper, at the cost of minutes-level RTO and the operational risk of a standby environment that’s rarely exercised (mitigated with regular DR drills/game days). I’d default to active-passive unless the SLA explicitly requires near-zero RTO/RPO, because the operational complexity of active-active is easy to underestimate.