Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Failure Boundaries

Direct answer

Failure boundaries limit how far a failure can spread, for example by changing one site or a small batch of devices at a time, so a bad change does not hit everything at once.

When to use this

Use this when limiting how far a bad change spreads.

First 30 seconds

1. Failure boundaries limit impact: batches, canaries, max_fail_percentage, separate environments.

2. Stop on first failures.

3. Roll out gradually.

4. Isolate credentials per environment.

5. Monitor during rollout.

Operational verification

change → canary → batches → stop on failure

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation architecture and design
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation architecture and design · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when limiting how far a bad change spreads.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Running against all hosts at once.
  • Shared credentials or state across environments.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Change a small batch first.
  • Stop on failure thresholds.
  • One site at a time.
Key checks
  • Blast radius limits (batches, serial, max failures) — scope
  • Per-environment separation — isolation
  • Stop conditions — fail fast
ReferenceWhy it matters1 section · depth on demand

What it is

Failure boundaries define how far one failure can spread: one host, one batch, one environment. Use batches (serial), stop conditions (max_fail_percentage) and separate runs per environment to keep a bad change contained.

ReferenceHow it works1 section · depth on demand

In depth

A failure point is the line beyond which a fault in an automation run is not allowed to spread. Without one, a bad template or wrong variable reaches every target in seconds — automation makes mistakes as fast as it makes fixes. With boundaries, the first failures stop the run while most of the estate is still untouched.

Common boundaries, from smallest to largest:

BoundaryMechanism
Single hostPer-host error handling, any_errors_fatal: false
BatchRolling execution (serial), canary first
Failure thresholdmax_fail_percentage, stop after N errors
EnvironmentSeparate runs and credentials for test, staging, production
Region/siteOne site at a time for network changes

Worked example: 400 switches, serial: [1, 10, "25%"] and max_fail_percentage: 5. The first run touches one canary switch; if it fails, nothing else changes. Next come 10 switches, then 25% at a time; if more than 5% of a batch fails, the play stops with at most one batch affected.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation architecture and design current

Authoritative/upstream documentation reviewed for bounded claims in Automation Design > Failure Boundaries. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%
Confirmation

Confirm action

Continue?