Cyberstudy
3.1 3.4 In progress

Resilient Architecture Concepts

15 flashcards

Summary

Cloud providers divide their infrastructure into regions and availability zones so customers can build systems that survive failures. Replicating data and running workloads in more than one zone or region keeps services available when a datacenter or whole region goes down.

In plain words

Cloud providers build resilience with redundancy and replication. High availability storage promises something like 99.99% uptime. The world is split into regions, each with independent availability zones (separate power, cooling and network). Data can be replicated locally (within one datacenter), across zones (zone-redundant), or to a distant region (geo-redundant). Hot storage is fast and costly; cold storage is slow and cheap.

Detailed explanation

  • High availability (HA): Designing a system to keep running with minimal downtime, usually through redundancy and automatic failover.
  • Region: A geographic area containing several datacenters.
  • Availability zone: One or more independent datacenters within a region with separate power, cooling and networking.
  • Replication: Copying data to other locations so it survives failure of the original.
    • Synchronous replication: Writes complete in both places at once; no data loss but needs low latency, so used within a region.
    • Asynchronous replication: Copies follow after a delay; tolerates distance but may lose recent writes.

Storage redundancy tiers

  • Locally redundant storage: Copies within one datacenter; protects against disk or server failure.
  • Zone-redundant storage: Copies synchronously across availability zones in one region; survives loss of a datacenter.
  • Geo-redundant storage: Also copies to a second region; survives loss of an entire region.

Important terms

taken from the text above
High availability (HA)
Designing a system to keep running with minimal downtime, usually through redundancy and automatic failover.
Region
A geographic area containing several datacenters.
Availability zone
One or more independent datacenters within a region with separate power, cooling and networking.
Replication
Copying data to other locations so it survives failure of the original.
Synchronous replication
Writes complete in both places at once; no data loss but needs low latency, so used within a region.
Asynchronous replication
Copies follow after a delay; tolerates distance but may lose recent writes.
Locally redundant storage
Copies within one datacenter; protects against disk or server failure.
Zone-redundant storage
Copies synchronously across availability zones in one region; survives loss of a datacenter.
Geo-redundant storage
Also copies to a second region; survives loss of an entire region.

Examples & real-world scenarios

  • Running VMs in two availability zones behind a load balancer.
  • Geo-redundant storage copying backups to another region.
  • Moving old logs to cold storage to save money.

Scenario

A regional power outage takes down a whole region. Only data with geo-redundant replication stays available. Local and zone-redundant copies were in the affected region.

Common mistakes

  • Thinking two VMs in the same zone survive a zone outage.
  • Mixing up zone-redundant (within a region) and geo-redundant (to a distant region).

Practical skills

  • Choose a replication tier to match a resilience requirement.

What I should remember

  • Availability zone: Independent datacenter within a region.
  • Zone-redundant storage: Survives a datacenter failure.
  • Geo-redundant storage: Survives a regional outage.
  • Synchronous replication: No data loss, but limited by distance.