Free tech learning for everyone, from basics to pro

Cloud ArchitectureCloud SecurityIntermediate

High availability and disaster recovery in the cloud

In short: High availability keeps a service running through common failures, usually by spreading it across availability zones. Disaster recovery restores service after a major event, often in another region. You pick a strategy from your recovery time and recovery point objectives, and you must test it.

Two related goals

High availability versus disaster recoveryHigh availabilityKeeps running through faultsMulti-AZ, load balancingAutomatic failoverSmall, common failuresDisaster recoveryRestores after a disasterBackups, second regionPlanned, tested failoverRare, large failures
Figure 1. High availability handles everyday failures; disaster recovery handles the rare event that takes out a whole site or region.

Both start with business requirements, expressed as two numbers:

  • Recovery time objective (RTO): how long the service may be down. "We must be back within 4 hours."
  • Recovery point objective (RPO): how much data you may lose, measured in time. "We can lose at most 15 minutes of orders."

Lower numbers cost more. Agree them with the business owner per workload, not one value for everything. For availability targets such as 99.9 percent and what they mean in minutes, see nines and SLAs.

High availability in practice

Within a region, use at least two availability zones:

  • Run instances or containers in an auto scaling group or scale set across zones, behind a load balancer with health checks.
  • Use managed databases with a synchronous standby in another zone, such as Amazon RDS Multi-AZ or Azure SQL zone-redundant configuration.
  • Choose zone-redundant storage and gateways; one NAT gateway in one zone is a hidden single point of failure.
  • Make application servers stateless so any instance can take any request.

Disaster recovery strategies

DR strategies by cost and speedBackup andrestorehours to daysPilot lightcore data liveWarm standbyscaled-down copyActive-activenear zero downtime
Figure 2. Moving right, recovery gets faster and data loss smaller, but cost and complexity rise.
StrategyWhat runs in the DR regionTypical RTO / RPO
Backup and restoreOnly backupsHours or more / last backup
Pilot lightReplicated data, core services off or minimalTens of minutes to hours / minutes
Warm standbyA scaled-down working copyMinutes / seconds to minutes
Multi-site active-activeFull capacity serving usersNear zero / near zero

Infrastructure as code helps every strategy, because you can rebuild networks and servers in a new region from templates instead of from memory.

Backups and testing

Replication is not a backup: if data is deleted or encrypted by ransomware, the damage replicates too. Follow the 3-2-1 idea (three copies, two media types, one off-site), and in cloud terms add:

  1. Use a backup service (AWS Backup, Azure Backup) with policies, not ad-hoc snapshots.
  2. Copy backups to another region and, ideally, another account with separate credentials.
  3. Make backups immutable with vault lock or Object Lock features.
  4. Encrypt backups and control who can restore or delete them.
  5. Test restores regularly and run full failover drills at least yearly; measure the real RTO and RPO.

Tip: a DR plan that has never been tested is a guess. Start with a tabletop walk-through, then a restore test, then a planned failover.

Practice

A shop can lose at most 5 minutes of orders and must be back within 30 minutes. Which DR strategy fits best?
Warm standby (or pilot light with fast scaling), with continuous database replication to meet the 5-minute RPO.
Why is database replication not enough on its own?
Deletions, corruption or ransomware encryption are replicated too; you also need point-in-time, immutable backups.
What is the difference between RTO and RPO?
RTO is the maximum acceptable downtime; RPO is the maximum acceptable data loss measured in time.

Frequently asked questions

What is high-availability architecture?

A design with no single point of failure. Important parts run in more than one place, such as several availability zones, behind load balancers with health checks, so traffic moves automatically when one part fails.

What is the difference between high availability and disaster recovery?

High availability keeps a service running through component failures with little or no downtime. Disaster recovery restores the service after a major event, such as losing a whole region or a ransomware attack, using backups or replicas. DR plans are measured by RTO (how fast) and RPO (how much data can be lost).

What do 99.9% and 99.99% availability mean?

99.9% allows about 8.8 hours of downtime a year (around 43 minutes a month). 99.99% allows about 53 minutes a year.

Key takeaways

  • HA survives common failures; DR recovers from major disasters.
  • Set RTO and RPO per workload with the business.
  • Use multiple zones, health checks and stateless servers for HA.
  • DR strategies range from backup and restore to active-active.
  • Keep immutable, cross-account backups and test restores.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
FM TecHub Team
Role
Editorial team
Reviewer credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

The team writes practical, plain-English guides on networking, security and cloud.

More about the team →

Original content written by the FM TecHub Team. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown