Use it when designing or reviewing a workload, choosing between single-zone, multi-zone and multi-region, and calculating the availability you can promise.
Cloud Architecture and High Availability
Cloud architecture applies design principles — reliability, security, cost, operations and performance — to build workloads that survive component, zone and sometimes region failures while scaling with demand.
1. What happens if one instance, one zone, one region fails?
2. Which tier is a single point of failure (often the database or a dependency)?
3. Are health probes testing the real application?
4. What availability can we honestly promise?
requirements (SLO, RTO/RPO) → pillars trade-offs → redundancy per tier (zones/regions) → health probes and autoscale → monitoring → failure testing → review
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
az vm list --query "[].{name:name, zones:zones}" --output tableVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
# Which zones do VMs and scale sets use?
az vm list --query "[].{name:name, zones:zones}" --output table
az vmss list --query "[].{name:name, zones:zones, capacity:sku.capacity}" --output table
# Load balancer health probes and backend pools
az network lb probe list --resource-group rg-web --lb-name lb-web --output table
# Zone redundancy of a public IP and an Application Gateway
az network public-ip show --resource-group rg-web --name pip-agw --query "{sku:sku.name, zones:zones}"
az network application-gateway show --resource-group rg-web --name agw-web --query "{zones:zones, capacity:sku.capacity, autoscale:autoscaleConfiguration}"
A resource with no zones value in a zone-enabled region is regional or non-zonal; check whether the service is zone-redundant by default or needs configuration.
Step 2 Common mistakes Narrow the fault
- Zone-redundant front end, single-zone database.
- Treating provider SLAs as availability guarantees.
- Minimum instance count that cannot survive a zone loss.
- Multi-region design that has never been failed over.
- Retries without backoff that overload a recovering dependency.
Step 3 Troubleshooting Narrow the fault
Outage during a zone incident although "HA". One tier (often database, cache or a gateway) was zonal or single-instance.
Autoscale too slow for a spike. Scale-out takes minutes; raise the minimum count or scale on leading indicators (queue length).
Load balancer sends traffic to broken instances. Health probe checks only TCP or a static page.
Failover to the second region fails. Untested runbook, data not replicated, DNS TTL too long, or the secondary lacks capacity/quota.
Every tier needs redundancy: load balancer, compute, data and dependencies. Zone-redundant is the default target for production; multi-region is for regional outages and costs much more. Composite availability multiplies: three 99.9% services in series give about 99.7%. Test failure on purpose.
- Inventory per tier: zones used, instance count, zone-redundant or zonal SKU.
- Health probes and autoscale settings on load balancers and scale sets.
- Provider SLA for each service and the configuration it requires.
- Results of the last failover or chaos test.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
Reliable cloud architecture removes single points of failure in every tier — entry (load balancer, gateway), compute, data and external dependencies — and decides explicitly which failures to survive. Availability zones protect against datacenter failures within a region at little extra cost and should be the default for production. Multiple regions protect against regional outages but add data replication, failover logic and cost. The providers' Well-Architected frameworks structure the trade-offs between reliability, security, cost, operations and performance.
Scope and canonical references
- Recovery from disasters: Cloud Disaster Recovery.
- Building blocks: Azure Compute, Azure Networking, Azure Storage.
- Physical redundancy concepts: Redundancy Models in Hardware.
- HTTP-level load balancing: HTTP Load Balancing.
- Cost side of the trade-off: Cloud Cost Management.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Well-Architected pillars
Azure's Well-Architected Framework uses five pillars: Reliability, Security, Cost Optimization, Operational Excellence and Performance Efficiency. AWS adds Sustainability as a sixth; Google Cloud's Architecture Framework covers the same themes. Each pillar has design principles, checklists and review tools.
Failure scopes
| Failure | Protection |
|---|---|
| Instance/VM | Two or more instances behind a load balancer with health probes; autoscaling replaces failed ones |
| Zone | Instances and data spread across zones (zone-redundant services or multiple zonal deployments) |
| Region | Second region with replicated data and traffic failover (Front Door, Traffic Manager, DNS) |
| Dependency | Timeouts, retries with backoff, circuit breakers, queues to absorb outages |
| Human error/bad deploy | Staged rollouts, deployment slots, feature flags, backups |
Design principles
- Stateless compute — keep session state in a shared store so any instance can serve any request and instances can be replaced freely.
- Health probes that test the application path, not just a port.
- Autoscaling on meaningful metrics, with minimum instance counts that still cover a zone loss.
- Zone-redundant data services (zone-redundant databases, ZRS storage) — the database is the most common single-zone point.
- Graceful degradation — serve cached or reduced functionality when a dependency fails.
- Infrastructure as code so a region or environment can be rebuilt.
Composite availability
Services in series multiply: a web tier at 99.95% and a database at 99.99% give about 0.9995 × 0.9999 ≈ 99.94%. Redundant paths in parallel improve it: two independent 99.9% paths give 1 − (0.001 × 0.001) = 99.9999% in theory, if failures are truly independent. Provider SLAs apply only when you use the required configuration (for example multiple instances across zones) and are financial credits, not guarantees.
Test it
Run failover drills and controlled fault injection (for example Azure Chaos Studio, AWS Fault Injection Service) to verify that probes, autoscaling and failover behave as designed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
Zone and SKU views: az vm list -d --query "[].{name:name, zone:zones[0]}" showing all instances in one zone means a zone outage takes the whole tier down; load balancers with sku: Basic are not zone-redundant.
Health probes: a backend marked unhealthy by the load balancer or Application Gateway receives no traffic — compare the probe path/port with what the application actually serves.
Service health: an active incident for the region and service in Service Health explains failures that look like your own outage.
Design & tradeoffs
Design decisions
Define targets first: availability (SLO), RTO and RPO per workload decide whether zones are enough or a second region is needed.
Zones by default for production compute, databases and gateways; regions when a regional outage is unacceptable.
Composite SLA: chained dependencies multiply — two 99.9% services in series give about 99.8%; remove single points or add redundancy where the math falls short.
Design for failure: health probes, retries with backoff, timeouts, and graceful degradation; test failover rather than assuming it.