Course contentsShow
← Cloud and Infrastructure
Lesson 2452 of 2,98953. High Availability PatternsFree lesson

Fault Domains and Isolation Boundaries

Learn how to distribute resources across fault domains to prevent correlated failures.

Fault Domains and Isolation Boundaries

You'll learn how distributing resources across fault domains prevents a single failure from cascading across your entire infrastructure.

What Are Fault Domains?

A fault domain is a physical or logical grouping of infrastructure that shares common failure characteristics. Think of it like apartment buildings on the same power grid—if that grid fails, all buildings go dark together. In cloud environments, fault domains represent hardware racks, power supplies, network switches, or even entire data centers that could fail as a unit.

The key insight: resources within the same fault domain are correlated—when one fails, others are likely to fail simultaneously.

Why Isolation Boundaries Matter

Isolation boundaries are the strategic separations you create between fault domains. By distributing your application components across multiple fault domains, you ensure that a hardware failure, power outage, or network partition in one domain doesn't take down your entire system.

The Distribution Strategy

Modern cloud providers organize infrastructure into fault domains at multiple levels:

  • Rack-level domains: Servers sharing physical power/networking
  • Availability zones: Physically separate data centers with independent infrastructure
  • Regions: Geographically distributed locations

Your job is to spread redundant components across these boundaries. For example, if you run three database replicas, placing all three in the same rack violates fault domain isolation—one power failure kills all replicas.

Practical Application

Instead of deploying all instances in one zone, distribute them across three availability zones. Each zone is a separate fault domain with isolated power, cooling, and networking. A fire in Zone A doesn't affect instances in Zones B and C.

Key Takeaway: Fault domain awareness transforms redundancy from theoretical to practical—distribute critical resources across isolation boundaries to prevent correlated failures and achieve true high availability.