From Runbooks to Recovery Systems: How Far Should Incident Response Be Automated?
When a production incident starts, every second matters. A service is degrading, alerts are firing, customers are affected, and the engineering team is trying to answer several questions at once: What happened? What’s impacted? Where is the failure? And what should we do next?
Traditional incident response has relied on runbooks to provide those answers. A good runbook tells engineers what signals to check, which commands to run, whom to contact, and which recovery steps to follow. Google Cloud’s best practices for handling cloud reliability incidents go further, recommending that organizations automate as much of the incident response playbook as possible, from automated traffic shifting to predefined recovery actions.
The next question is more difficult: How much of incident response should actually be automated?
Automation can reduce toil, accelerate recovery, and make responses more consistent. It can also turn a small incident into a much larger one when an automated action has a wide blast radius, is based on incomplete information, or makes the wrong assumption about the underlying failure.
As cloud environments become increasingly distributed and AI agents gain the ability to investigate incidents and, in some cases, autonomously mitigate issues*, incident response is moving from static runbooks toward recovery systems: operational systems that can detect, reason about, act on, and verify failures.
The challenge is deciding where human judgment still belongs.
From Documented Procedures to Executable Recovery
While runbooks detail responder instructions, recovery systems actively automate key procedures, a crucial distinction in modern incident management.
Consider a common scenario. A production service begins returning elevated 5xx errors. Monitoring detects the problem. An engineer opens the runbook and starts checking latency, logs, recent changes, quotas, and dependencies. Google Cloud recommends a structured investigation, including checking observability data, quotas, and recent changes before determining the appropriate mitigation.
Now imagine the same process with automation built into the architecture:
Detect → Correlate → Diagnose → Recommend → Approve → Remediate → Verify
The system can detect the anomaly automatically. It can collect relevant telemetry, correlate signals, identify recent deployments, and compare the current state with known-good states. It can recommend a mitigation and, for low-risk actions, execute it. It can then verify whether the service recovered.
The runbook still exists. Its knowledge has become operational. That shift creates a more important engineering question than “what can we automate?” What should we automate?
Automation Isn’t a Binary Decision
Incident response doesn’t need to be fully manual or fully autonomous.
Different response actions carry different levels of risk, reversibility, and business impact. A more useful rule is to define automation boundaries around confidence, reversibility, blast radius, and business impact, and place each action on that spectrum.
Low-risk, deterministic actions can run automatically within predefined limits. Actions that affect shared configuration, persistent state, privileged access, or large portions of production should require stronger policy controls, additional validation, or human approval, depending on the service and its risk profile.
The exact thresholds should be defined for the environment rather than treated as universal values. A recovery system might limit retries, cap the percentage of affected capacity, require a stable verification period, or escalate whenever telemetry is incomplete or the action would cross a predefined blast-radius boundary.
| Incident Action | Automation Approach |
|---|---|
| Detect anomaly | Fully automated |
| Collect and correlate telemetry | AI-assisted |
| Investigate likely causes | AI-assisted |
| Recommend mitigation | AI-assisted |
| Shift traffic between healthy capacity | Policy-based automation |
| Restart a stateless workload | Automated within defined limits |
| Change production configuration | Approval required |
| Modify persistent data | Strong governance or human approval |
| Execute high-impact remediation | Strong governance or human approval |
| Verify recovery | Automated |
| Generate incident timeline and summary | Automated |
| Update the runbook after the incident | Human reviewed |
The appropriate control will vary by workload and incident context. Restarting a stateless container may be routine. Changing a database configuration, revoking access, deleting resources, or altering persistent state can have significantly broader consequences.
The more destructive, irreversible, or wide-ranging the action, the stronger the control around automation should be.
Step 1: Automate Detection
Detection is one of the easiest places to automate because the system isn’t changing anything yet.
Modern observability platforms can continuously monitor metrics, logs, traces, events, and application behavior. Google Cloud recommends using observability data as a core part of incident response and emphasizes the importance of having meaningful telemetry available at the start of an incident.
Automation can handle tasks such as:
- Detecting error-rate or latency anomalies
- Identifying unusual traffic patterns
- Detecting capacity or quota exhaustion
- Correlating related alerts
- Opening an incident
- Routing the incident to the appropriate team
- Capturing the initial incident timeline
The goal isn’t simply to create more alerts. It’s to turn raw signals into useful incident context.
An alert that says “5xx rate increased” gives an engineer a symptom.
An automated incident context that says “5xx rate increased sharply in the checkout service, beginning 3 minutes after deployment X, while database latency remains normal” gives them a starting point for investigation. That difference directly affects response time.
Step 2: Let AI Investigate Before Letting It Act
Gemini Cloud Assist investigations🔹 are an AI-powered root-cause analysis capability for complex infrastructure and application issues. They can review signals such as logs, configurations, and metrics, correlate observations, explore multiple hypotheses, and provide supporting source data and recommended next steps.
That changes the role of the runbook. Instead of requiring an engineer to manually execute every diagnostic step, an AI system can perform the investigation and return a structured assessment:
- Observed: Latency increased in Service A.
- Correlated: Increase started after deployment B.
- Affected dependency: Service C remains healthy.
- Hypothesis: Deployment B introduced the regression.
- Recommended action: Roll back to the previous known-good version.
The engineer remains responsible for the decision when the consequence is significant. In the Google Cloud example, the engineer reviews and authorizes the proposed mitigation before it is executed. The agent proposes the action, while the human validates that it makes sense and is safe to apply.
This is an important distinction for agentic infrastructure: Use AI to compress investigation time before giving AI permission to modify production.
Reasoning and execution have different risk profiles.
Step 3: Automate Bounded Remediation
Some recovery actions are predictable enough to automate.
Suppose a workload is distributed across multiple instances and one instance becomes unhealthy. A load balancer can remove the unhealthy instance from service. Traffic can shift to healthy capacity without an engineer manually intervening.
Google Cloud encourages designs that automate response actions such as shifting traffic away from slow or unresponsive instances. This works because the action is predefined, observable, reversible, and bounded, making those useful criteria when deciding whether a response action is suitable for automation.
Scenario 1: Consider restarting a stateless service instance. The blast radius can be tightly limited, the desired state is known, and the platform can verify whether the workload becomes healthy afterward.
Scenario 2: Consider automatically changing a database schema during an incident. The action may be technically executable, but its consequences are harder to predict, rollback may be complicated, and the resulting state may persist beyond the incident.
The second scenario needs a higher level of control.
Step 4: Put Policy Between the Agent and Production
As AI agents become capable of taking operational actions, the architecture needs more than access permissions; it needs action policy.
An incident agent might be allowed to:
- Read logs, metrics, traces, and configurations
- Inspect deployment history
- Compare infrastructure states
- Query service health
- Restart predefined stateless workloads
- Shift traffic within approved boundaries
- Create an incident ticket
- Notify an on-call team
The same agent might require explicit approval to:
- Change production configuration
- Modify network policies
- Alter IAM permissions
- Delete resources
- Modify persistent data
- Trigger a region-wide failover
Consequently, automating incident response shifts from a technical challenge to a fundamental governance and reliability concern.
Core considerations include: Identifying the active agent, defining its access boundaries, specifying its allowed operational capabilities, and establishing the exact parameters required for execution.
Google Cloud’s current agent governance architecture reflects this pattern through Agent Identity, Agent Registry, and Agent Gateway, which provide agent identity, discovery of approved resources, and policy enforcement for agent interactions.
Gemini Cloud Assist uses a multi-agent architecture and iterative tool calls. In interactive use, resource-changing actions require explicit user authorization. Separately, its Proactive Mode can run supported background tasks using a dedicated agent identity with administrator-granted IAM permissions.
Additionally, there are methods for directing completed proactive-agent tasks to destinations like Cloud Run, Cloud Run functions, or Workflows, enabling those triggers to initiate alert notifications or execute automated fixes.
That creates an emerging operational pattern:
AI investigates → Policy evaluates → Workflow executes
The policy layer becomes essential.
Step 5: Treat Blast Radius as an Automation Control
One of the most useful ways to decide whether an action should be automatic is to ask the extent to which this action affects the system if the diagnosis is wrong.
A recovery system should understand blast radius before it executes remediation.
| Action | Potential Blast Radius | Appropriate Control |
|---|---|---|
| Restart one unhealthy instance | Low | Automated |
| Remove one instance from rotation | Low | Automated |
| Shift a small percentage of traffic | Medium | Policy-based |
| Roll back one service | Medium | Automated with guardrails |
| Change shared configuration | High | Strong governance or human approval |
| Fail over an entire region | Very high | Human decision or tightly governed automation |
| Modify persistent production data | Potentially severe | Strong governance or human approval |
Blast radius also needs to be understood in business terms:
- A technical action may affect one service while that service supports a critical customer journey.
- A rollback affecting a single API could interrupt checkout.
- A database failover affecting one cluster could disrupt payments.
- A regional traffic shift could affect thousands of active sessions.
So the recovery system needs both technical context and business context.
Step 6: Make Verification Part of the Automation
Executing a command successfully does not signal full recovery; resolution is achieved only when the service operates within acceptable parameters again.
Google Cloud emphasizes verifying that services are operating normally after recovery, even when the broader cloud incident itself may still be open or affecting other customers. That makes verification one of the strongest candidates for automation.
After a remediation action, the system can automatically check:
- Availability: Are requests succeeding?
- Latency: Has performance returned within the expected range?
- Errors: Have error rates returned to baseline?
- Capacity: Are resources operating within safe limits?
- Dependencies: Are downstream services healthy?
- User experience: Are critical application flows functioning?
- Stability: Does the recovery persist for an appropriate observation period?
This creates an important feedback loop:
Act → Observe → Verify → Continue or Roll Back
Without this feedback loop, automated remediation can become unchecked intervention. Verification makes the recovery process measurable, allowing the system to determine whether the action worked, whether stability is sustained, and whether it should continue, roll back, or escalate.
The Recovery System Should Know When To Stop
There’s another boundary that’s easy to overlook. An automated system needs explicit conditions under which it stops acting and escalates to a human.
For example:
- Retry the remediation up to a policy-defined limit.
- Stop if the error rate continues rising.
- Stop if the affected capacity crosses the predefined blast-radius threshold.
- Stop if the action changes persistent state.
- Stop if telemetry becomes unavailable.
- Escalate when confidence falls below the defined threshold.
This is where traditional engineering controls and AI-based reasoning can work together. AI can generate hypotheses and identify relationships that are difficult to encode manually. Deterministic policies can still define the boundaries inside which those capabilities operate. The combination is more useful than either approach alone.
From Runbooks to Recovery Systems
A mature incident-response architecture can therefore be viewed as a series of increasingly sophisticated layers.
Layer 1: Runbooks – Document what responders should do.
Layer 2: Automation – Execute deterministic, repeatable recovery steps.
Layer 3: Observability and correlation – Build enough context to understand what is actually happening.
Layer 4: AI-assisted investigation – Analyze complex signals and generate hypotheses or recommendations.
Layer 5: Policy-controlled agents – Allow AI systems to take bounded actions under explicit permissions and rules.
Layer 6: Closed-loop recovery – Verify the result, measure stability, and determine whether to continue, roll back, or escalate.
At this stage, incident response starts behaving less like a collection of emergency procedures and more like an operational system.
What Should Remain Human?
Automation should reduce cognitive load, but not remove accountability.
Human intervention remains especially valuable when the incident involves ambiguity, competing business priorities, irreversible actions, regulatory consequences, or a large blast radius.
- An engineer may need to decide whether a regional failover is preferable to maintaining a degraded service.
- An incident commander may need to balance recovery speed against data consistency.
- A security or compliance team may need to approve actions involving sensitive systems or access controls.
These are decisions where context matters as much as technical state. The strongest recovery systems therefore don’t try to eliminate humans from the incident loop. Rather, they make the human decision point smaller, better informed, and earlier.
Instead of an engineer spending valuable time gathering telemetry and manually executing routine steps, the system can present the evidence, explain the likely failure path, identify the available mitigations, and surface the consequences of each action. The human can then focus on the decision that actually requires human judgment.
The Real Measure of Incident Automation
It’s tempting to measure automation by asking how many incident-response tasks have been automated.
A better set of questions is:
- How much time does automation remove from detection and diagnosis?
- How consistently does it execute known recovery procedures?
- How much blast radius can it contain?
- How clearly can the team see what an automated system did and why?
- How quickly can a human take control?
- How reliably does the system verify recovery?
And perhaps the most important question:
- What happens when the automated diagnosis is wrong?
A mature recovery system is designed around that possibility. It limits permissions, constrains actions, records decisions, verifies outcomes, provides rollback paths, and it knows when to stop.
Building the Recovery System
For SRE and platform engineering teams, the path from runbooks to recovery systems doesn’t require handing production control to an AI agent overnight.
A more practical progression is:
1. Document: Start with the incidents that happen repeatedly.
2. Automate: Turn their diagnostic and recovery procedures into explicit workflows.
3. Observe: Add the telemetry needed to make those workflows observable.
4. Assist: Introduce AI where investigation is complex or time-consuming.
5. Govern: Add identity and policy controls before agents receive execution rights.
6. Verify: Close the loop with automated verification and rollback.
This flow also changes how teams should test incident response.
A recovery workflow that’s never exercised is an assumption. Run simulated incidents. Test failure scenarios. Validate the secondary systems used for failover. Confirm that automated actions behave as expected under degraded conditions. Google Cloud recommends incident-response simulations and recurring cross-team drills as part of preparation.
After every real or simulated incident, feed the lessons back into the system. Update the runbook. Refine the detection logic. Adjust the policy. Improve the telemetry. Tighten the blast-radius controls. Add another automated verification step. That’s how a runbook becomes a recovery capability.
Build a More Resilient Incident Response Strategy
The future of incident response will be defined by how deliberately it assigns authority to machines.
Detection can be automated. Investigation can increasingly be AI-assisted. Routine remediation can run within strict boundaries. High-impact decisions can remain subject to human approval. Verification can close the loop.
The result is a different model for SRE:
- Machines handle speed and repetition.
- AI handles complexity and correlation.
- Policies control what systems are allowed to do.
- Humans retain judgment where consequences are high.
The goal is to build a recovery system that gets the right information to the right person, takes safe actions automatically, and knows exactly when human judgment is required.
Kartaca helps organizations turn cloud operations from reactive incident handling into observable, automated, and governed recovery systems. From cloud architecture and observability to automated remediation and agentic infrastructure, our teams help you identify which incident-response processes to automate, define the right guardrails, and build recovery workflows that balance speed with control.
Ready to assess where your incident response can be automated safely? Contact us today to request an assessment.
Author: Gizem Terzi Türkoğlu
Published on: Nov 24, 2026
