· Infrastructure
How will your system recover when its cloud provider goes down?
Evaluate disaster recovery by the recovery of business workflows, not the number of servers.
The AWS and Cloudflare outages in the autumn of 2025 left websites inaccessible and services unavailable. What concerned me at the time was how often organisations that depend heavily on external services had not established what they would do when those dependencies failed.
You can deploy an application to two data centres. If both rely on the same identity service, DNS, secret management or database, losing that shared component can render both useless. Counting servers is a poor way to assess redundancy.
Which failure are we preparing for?
A payment application and a content website need not tolerate the same data loss. Recovery point objective (RPO) describes the acceptable window of data loss. Recovery time objective (RTO) describes the target time for restoring service. Set these objectives for individual business processes.
Consider an illustrative payment scenario. We send an instruction to a provider and lose our data centre before receiving the result. The application starts in the second environment, but the outcome of the instruction is unknown. We need a durable transaction identity and reconciliation process to prevent initiating the payment again during failover. The time at which the application becomes accessible can differ from the time at which financial processing can safely resume.
| Approach | Advantage | Risk to examine |
|---|---|---|
| Backup and restore | Low ongoing resource cost | Restore time and data loss |
| Warm standby | Smaller prepared environment | Replication lag and capacity |
| Active-passive | One active write authority | The old primary continuing to write |
| Active-active | Accepts work in multiple environments | Conflicting writes, split-brain and shared dependencies |
Accepting traffic in two environments does not establish that both can safely update the same financial record. With PostgreSQL, I would examine the replication model, write authority in the application and how the old primary is fenced during failover. Active-passive systems using asynchronous replication can also lose commits that have not yet been replicated.
If we intend to survive the complete unavailability of a cloud provider, the alternative must not remain dependent on that provider’s control plane, APIs, DNS or identity service. Otherwise we pay a second cloud bill and remain exposed to the same failure.
After Terraform creates the infrastructure
Infrastructure as Code allows us to recreate networks, servers and service definitions. A successful Terraform run does not bring the database up to date. Are images, backups, encryption keys and configuration accessible? Is the deployment order known? A restore exercise reveals whether these prerequisites are actually met.
Kubernetes and service meshes can remove unhealthy endpoints from traffic and restart services. Whether to repeat an external payment instruction with an unknown outcome depends on the application’s idempotency contract. An incorrect retry policy can turn an outage into a duplicate payment incident.
Anomaly detection and AIOps can help detect incidents earlier. Automated actions require predetermined conditions, limits on authority and a recovery path. I would not switch data centres simply because a model classified a metric as anomalous. Nor would I promise a particular recovery time or return on investment without measurements.
Reproducing the outage under controlled conditions
This is where I value chaos engineering. In a safe test environment, choose the business workflow that must survive, then reproduce replication lag, node loss, DNS failure or provider timeouts as separate experiments. Production experiments require an agreed blast radius, stop conditions and authority boundaries.
Zero Trust principles should remain in force in the recovery environment. Disabling authentication, least privilege, segmentation or audit logging does not make a disaster recovery plan acceptable.
My initial acceptance test would make the primary environment unavailable, complete a real business workflow in the alternative environment and measure elapsed time and the window of lost records. Then I would test failback. Did both environments write concurrently? Were any financial movements duplicated? I would compare the measured recovery point and recovery time with their objectives before making claims about recovery capability.
Originally published: 2025-11-19. Revised edition: 3 December 2026.
Sources
- Original LinkedIn article
- AWS Well-Architected: Disaster recovery objectives
- AWS: Recovery strategies