Cloud Provider Architecture
Cloud providers abstract datacenter infrastructure into logical constructs like regions, availability zones, and VPCs. Understanding how these map to physical infrastructure helps you design for resilience, predict failure modes, and optimize costs. This section focuses on AWS with cross-references to GCP and Azure equivalents.
# AWS Regions and Availability Zones
AWS organizes infrastructure hierarchically into regions and availability zones (AZs).
Regions
A region is a provider-defined geographic and fault-isolation boundary (for example, us-east-1 in Northern Virginia or eu-west-1 in Ireland). AWS designs most Regional services to operate with substantial autonomy, but a Region is not a promise of complete independence.
Isolation: Regional stacks and services are designed to limit failure propagation. Review each service and workload for global components and shared dependencies such as identity, DNS, deployment, observability, and deliberately configured cross-Region calls.
Data residency: Location behavior is service- and configuration-specific. Verify primary data, replicas, backups and snapshots, logs and telemetry, failover copies, administrative or support access, and key management. Selecting a Region alone does not establish GDPR or other compliance; legal and compliance review must determine the applicable residency, access, and transfer rules.
Availability Zones (AZs)
An availability zone is one or more discrete datacenters within a region, with redundant power, networking, and connectivity. Each region has multiple AZs (typically 3-6).
Physical mapping: AZ letter mappings are not universally randomized. Regions introduced after November 2012 use consistent mappings across accounts; in older Regions, accounts created starting in November 2025 also receive consistent mappings, while earlier accounts retain account-specific mappings. Use AZ IDs (for example, use1-az1) when coordinating the same physical AZ across accounts.
Failure domain: AZ is the fundamental failure domain in AWS. Power outage, network partition, or cooling failure affects one AZ, not others.
Designing for AZ Failures
Deploy resources across multiple AZs for high availability:
# VPCs: Virtual Private Clouds
A VPC is a logically isolated network within an AWS region. You define IP ranges (CIDR blocks), subnets, routing tables, and gateways.
Subnets: Each subnet lives in a single AZ. Spread subnets across AZs for redundancy.
Routing: Route tables control traffic. Public subnets route 0.0.0.0/0 to internet gateway (IGW). Private subnets route via NAT gateway (for outbound) or stay isolated.
Under the hood: VPCs use encapsulation (similar to VXLAN) to isolate customer traffic on shared physical infrastructure. Your 10.0.1.5 is distinct from another customer's 10.0.1.5—even though they might be on the same physical server.
# AWS Storage Services Architecture
Understanding how AWS storage services work internally helps you choose the right service and predict performance/availability.
S3: Object Storage
Architecture: S3 stores objects (files) across multiple AZs by default. Each object is replicated to at least 3 AZs. Metadata and data are separated (control plane vs data plane).
Consistency: S3 provides strong read-after-write consistency (as of Dec 2020). After successful PUT, immediate GET returns new data.
Failure mode: AZ failure doesn't affect S3 availability (data in other AZs). Rare control plane issues (like Oct 2025 DynamoDB incident) can impact API availability.
EBS: Elastic Block Store
Architecture: EBS volumes are block devices (like virtual disks) attached to EC2 instances. Each EBS volume exists in a single AZ and is replicated within that AZ.
Limitation: EBS volumes can't be attached to instances in different AZs. To move data across AZs, create snapshot (stored in S3, multi-AZ) and restore in target AZ.
Use case: Low-latency block storage for databases, boot volumes. Not suitable for multi-AZ shared access (use EFS or S3 instead).
EFS: Elastic File System
Architecture: EFS is a managed NFS-compatible file system that spans multiple AZs. Data is automatically replicated across AZs in a region.
Use case: Shared file storage across instances/AZs. Home directories, application data, content management. Higher latency than EBS (network filesystem).
# Fault Domains in Cloud Environments
Cloud providers define fault domains at multiple levels:
- Server/instance: Single VM or bare-metal instance. Smallest unit.
- Rack: Not exposed to customers, but AWS internally tracks rack-level failures.
- Availability Zone: Exposed to customers. Primary failure domain for design.
- Region: Provider-defined geographic boundary designed for substantial autonomy; global and shared dependencies may remain.
AWS guidance: Distribute workloads across AZs for HA within a region. Use multiple regions for disaster recovery (DR) against region-level failures.
# Cross-Cloud Comparison
GCP and Azure have similar concepts with different terminology.
| Concept | AWS | GCP | Azure |
|---|---|---|---|
| Geographic Area | Region | Region | Region |
| Fault Domain (within region) |
Availability Zone (AZ) | Zone | Availability Zone |
| Private Network | VPC | VPC | Virtual Network (VNet) |
| Object Storage | S3 | Cloud Storage (GCS) | Blob Storage |
| Block Storage | EBS | Persistent Disk | Managed Disks |
| File Storage | EFS | Filestore | Azure Files |
| Compute (VMs) | EC2 | Compute Engine | Virtual Machines |
Note: While names differ, core concepts are similar. All major clouds provide multi-AZ/zone architectures, private networks, and tiered storage (object/block/file).
# Key Takeaways
- Regions are geographic fault-isolation boundaries designed for substantial autonomy, but service and shared dependencies must be reviewed
- Data residency is service- and configuration-specific; Region selection alone is not a compliance guarantee
- AZ letter mappings can differ for older accounts; use AZ IDs to coordinate the same physical AZ across accounts
- Design for AZ failures by spreading resources across multiple AZs
- VPCs use encapsulation to isolate customer networks on shared infrastructure
- S3 replicates across AZs (multi-AZ resilient); EBS is single-AZ (snapshot to move data)
- EFS spans AZs for shared file access across instances
- Fault domains: instance < rack < AZ < region; design for AZ-level failures at minimum
- GCP/Azure have equivalent concepts (zones, VNets, object/block/file storage)