Your AI System Needs a Disaster Recovery Plan
Most teams have a disaster recovery plan for their database — backups, replication, failover. The AI layer gets a shrug: “we’ll deal with it if it happens.” Here’s the threat model, the three-layer DR framework, and the one-page runbook format I’ve used after three client outages.
You’ve built an AI system. It works great. It’s integrated into your business process. Everyone relies on it.
Then Anthropic has an outage. Or your Lambda functions start failing. Or a deployment goes wrong and your API starts returning garbage.
Do you have a plan?
Most teams don’t. They have a business continuity plan for their database: backups, replication, failover strategies. But the AI layer? “I guess we’ll deal with it if it happens.”
That’s a mistake. AI systems fail in ways that are hard to predict, and when they fail, you need to know immediately and have a playbook.
I’ve been through three AI system outages at clients. Each time, having a documented DR plan meant the difference between a 30-minute incident and a 6-hour crisis.
The Threat Model
What can go wrong with an AI system?
1. Upstream provider outage (Anthropic API goes down)
Duration: typically 30 minutes to a few hours. Impact: all Claude API calls fail. No fallback path unless you’ve architected one.
2. Data pipeline failure (your input processing breaks)
This is common. A Lambda function is misconfigured, or your data validation is too strict, and documents stop flowing to the processor. Claude never sees the data. Your system produces no output.
3. Model degradation or hallucination spike
Claude returns nonsensical or harmful output. Rare, but it happens. Your system propagates the bad data downstream.
4. Regional outage
Your Lambda functions are in us-east-1, and us-east-1 experiences a major failure. AWS guarantees an SLA, but that doesn’t mean zero downtime, and recovery takes time.
5. Cost runaway
A bug causes your system to make 100x more API calls than expected. Your monthly Claude bill goes from $500 to $50,000. This isn’t a service failure, but it’s still a disaster.
6. Integration failure
Your system successfully extracts data from a document but fails to post it downstream, to your database, your CRM, wherever it needs to go. The data is extracted, then lost.
The DR Framework
Think of disaster recovery in three layers: observability to detect the problem, fallback paths to keep operating in degraded mode, and recovery procedures to restore normal operation.
Layer 1: Observability
You can’t respond to a disaster you don’t know about.
Set up monitoring for:
API error rate
If the Claude API error rate exceeds 5%, alert immediately. This catches upstream outages.
Processing latency
If document processing is taking 10x longer than normal, something is wrong. Could be a slow API, could be network issues, could be Claude performance degradation.
Output quality
Validation failure rate should be stable, usually under 5%. If it suddenly spikes to 20%, Claude might be hallucinating more.
Dead letter queue depth
If failed items are accumulating in your DLQ, something is broken.
These alarms should page your on-call engineer, not send an email. If you’re not awake, you can’t respond.
Layer 2: Fallback Paths
When things break, you need ways to keep operating.
Fallback 1: Buffering with SQS
Don’t call Claude synchronously. Put requests in a queue and process asynchronously.
If Claude is slow or erroring, requests back up in the queue. Once Claude recovers, you process the backlog. No requests are lost.
Fallback 2: Synthetic responses for non-critical systems
Some AI uses are non-critical. If you’re generating summary emails and Claude is down, send a templated message instead: “Summary temporarily unavailable. We’ll email this later.”
Not ideal, but better than failing silently or timing out.
Fallback 3: Multi-region deployment
If your Lambda functions are only in us-east-1, a regional outage takes you down.
Deploy to us-west-2 as well, and route traffic based on health checks.
Fallback 4: Human review escalation
If the system is broken and you still need output, escalate to a human manually.
Layer 3: Recovery Procedures
When a disaster happens, you need a runbook.
One-page runbook format:
Disaster Recovery Testing
You must test this. Untested DR plans don’t work.
Every quarter, run a disaster recovery drill:
- Simulate Claude API being down (block API calls in code, return an error)
- Verify your monitoring detects it within 2 minutes
- Verify fallback paths work (DLQ, synthetic responses, etc.)
- Measure time to recovery
- Document what broke
- Fix it
Run this test monthly. If it fails, you have a gap in your DR plan.
RTO and RPO
Define your targets.
RTO (Recovery Time Objective): how long can you tolerate being down? For most systems, I recommend an RTO of 15 minutes for customer-facing critical paths and 1 hour for everything non-critical.
RPO (Recovery Point Objective): how much data can you afford to lose? With SQS buffering, you shouldn’t lose any documents: RPO = 0.
But if a document is in progress when things fail, can you retrace it? Document that too.
The Bottom Line
AI systems fail. When they do, you need monitoring that alerts you in minutes and not hours, fallback paths that let you keep operating in degraded mode, documented procedures so anyone can respond, and regular testing so your plan actually works.
Build this before you need it. Disaster recovery is cheap when it’s in code and expensive when it’s a crisis.
Get the free AI Readiness Checklist
15 questions to diagnose your team’s AI readiness, where you’ll see ROI fastest, and what to tackle first.
No spam. Unsubscribe anytime.
Ready to build AI that actually works?
Let’s talk about how SRE discipline transforms AI from a risky experiment into a reliable business system.
Book Your Free Discovery Call