4.4.1. High Availability and Site Considerations
💡 First Principle: High availability eliminates single points of failure by providing redundant components that take over when primary components fail. Site diversity ensures that location-specific disasters don't take down all operations.
Load balancing distributes workloads across multiple servers. If one server fails, the others absorb the traffic. Active-active configurations run all servers simultaneously; active-passive configurations keep standby servers ready.
Clustering groups multiple servers that share workloads and fail over automatically. Cluster members monitor each other's health — if one fails, another assumes its role in seconds.
Redundancy types:
| Type | Description | Example |
|---|---|---|
| Server | Multiple servers for same function | Web server cluster |
| Network | Redundant paths and switches | Dual ISPs, link aggregation |
| Storage | RAID, replication | RAID 5, geo-replicated storage |
| Power | UPS, generators, dual feeds | Dual power supplies per server |
Common RAID levels: RAID 0 stripes data across disks for speed but has no redundancy; RAID 1 mirrors data across two disks (full redundancy, half the usable capacity); RAID 5 stripes with distributed parity (3+ disks, survives one disk failure); RAID 6 uses double parity (survives two); RAID 10 combines mirroring and striping. RAID protects against disk failure only; it is not a backup.
Site considerations:
| Site Type | Description | Recovery Time | Cost |
|---|---|---|---|
| Hot site | Fully operational duplicate | Minutes to hours | $$$ Highest |
| Warm site | Partial infrastructure, needs data | Hours to days | $$ Medium |
| Cold site | Empty facility, needs everything | Days to weeks | $ Lowest |
Platform diversity — using different vendors and technologies reduces the risk that a single vulnerability affects all systems. If all servers run the same OS, one exploit compromises everything.
Multi-cloud systems — distributing workloads across multiple cloud providers prevents vendor lock-in and reduces impact of a single provider outage.
Geographic dispersion — placing redundant systems in different physical locations protects against regional disasters. If primary and backup systems are in the same building — or even the same city — a single earthquake, flood, or power grid failure can take both down simultaneously. Best practice is recovery sites in a different region or availability zone from the primary.
Autoscaling — automatically adding instances when demand rises and removing them when it falls, based on metrics such as CPU load or request-queue length. Load balancing spreads traffic across the instances that exist; autoscaling changes how many exist. Together they absorb traffic spikes without paying for peak capacity all year. Security implications: every new instance must launch from a hardened, patched image with its configuration applied automatically; maximum instance counts should be capped so an attack or runaway job cannot run up an unbounded bill; and logs must be shipped off instances before they are terminated.
Platform diversity spans three layers: vendor platform (different providers or OS families, so one vendor's flaw or outage is not total), hardware (different manufacturers or models, so one firmware bug or bad production batch does not fail every node), and virtualization (more than one hypervisor or virtualization platform, so a single hypervisor vulnerability cannot take down every workload). The trade-off is the same as for any diversity: more skills and more configurations to secure.
Environmental site considerations — a recovery site is only useful if the event that takes out the primary cannot also take it out. Assess flood plains, seismic zones, severe-weather and wildfire exposure, dependence on the same power grid or telecom carrier, and climate (cooling capacity and cost), and choose a site whose environmental risks are independent of the primary's.
⚠️ Exam Trap: Hot site = fastest recovery, highest cost. Cold site = slowest recovery, lowest cost. The exam tests whether you can match recovery requirements (RTO) to the appropriate site type.