Pcornel
Browse topics
Options
Recent
Favorites
Cloud · Technical reference

Cloud Architecture and High Availability

Direct answer

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.

When to use this

Use it when designing or reviewing a workload, choosing between single-zone, multi-zone and multi-region, and calculating the availability you can promise.

First 30 seconds

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?

Operational verification

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
Platform / version applicability
Provider-neutral; Azure Well-Architected Framework, AWS Well-Architected, Google Cloud Architecture Framework.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProvider-neutral; Azure Well-Architected Framework, AWS Well-Architected, Google Cloud Architecture Framework.
Key commandaz vm list --query "[].{name:name, zones:zones}" --output table
Scope / prerequisiteUse it when designing or reviewing a workload, choosing between single-zone, multi-zone and multi-region, and calculati…
What next?2 suggested next steps
Evidence0
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.

3 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 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.

Key points

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.

Key checks
  • 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.

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

FailureProtection
Instance/VMTwo or more instances behind a load balancer with health probes; autoscaling replaces failed ones
ZoneInstances and data spread across zones (zone-redundant services or multiple zonal deployments)
RegionSecond region with replicated data and traffic failover (Front Door, Traffic Manager, DNS)
DependencyTimeouts, retries with backoff, circuit breakers, queues to absorb outages
Human error/bad deployStaged 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
Terminology layer

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.

Aliases that resolve here
cloud architecturehigh availabilitywell-architected frameworkcomposite slazone redundancyautoscalingchaos engineering
Depth when you need it

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.

Confirmation

Confirm action

Continue?