02Chapter 2: Regions, Availability Zones, and AZ IDsThis chapter assumes you know what an AWS Region, a VPC, and an EC2 instance are, and that you can run AWS CLI commands. It builds the working model of Regions and Availability Zones (AZs) that later chapters use when they spread subnets, instances, and databases across zones.6 min read
03Chapter 3: Finding failure domains and single points of failureThis chapter assumes you know what a Region and an Availability Zone (AZ) are, can read a VPC layout, and can run AWS CLI commands. The previous chapters covered SLAs, RTO, RPO, and AZ identity. Here you learn to look at an architecture and find what can take it down.7 min read
04Chapter 4: Laying out subnets across Availability ZonesThis chapter assumes you know what a VPC, a CIDR block, a route table, and an Availability Zone (AZ) are. It also assumes you can read a CloudFormation template and run AWS CLI commands. You will learn how to divide a VPC into subnets so that every tier of a workload exists in at least two AZs, and 5 min read
05Chapter 5: Zonal NAT gateways and egress routingThis chapter assumes you have already built a VPC with a public and a private subnet in each of at least two Availability Zones (AZs). It also assumes you know what a route table is and how an internet gateway works. The previous chapter covered the subnet layout. This one covers how instances in pr5 min read
06Chapter 6: Spreading traffic with load balancers and cross-zone load balancingThis chapter covers how Elastic Load Balancing (ELB) distributes traffic across Availability Zones (AZs). It also covers what cross-zone load balancing changes and how to configure it. It assumes you know what a VPC, a subnet, and a target group are, and that you can read the AWS CLI and YAML. The e6 min read
07Chapter 7: Keeping the application tier statelessThis chapter assumes you can launch EC2 instances behind an Application Load Balancer (ALB) and read basic Python and the AWS CLI. The earlier chapters on failure domains and load balancing are also assumed. Here you will learn why the application tier must hold no unique data, where each kind of st5 min read
08Chapter 8: Auto Scaling groups that span AZsThis chapter assumes you know how to create VPC subnets in several Availability Zones (AZs), how an Application Load Balancer (ALB) uses target groups, and how to read a CloudFormation template. An Auto Scaling group (ASG) keeps a set of EC2 instances running at the size you ask for. When you give i7 min read
09Chapter 9: Highly available databases: RDS Multi-AZ and AuroraThe application tier can lose an Availability Zone (AZ) and recover by replacing instances. A database holds state, so it needs a different approach. This chapter covers the options AWS offers for a relational data tier, how each one fails over, and the mistakes that make failover slower or less saf6 min read
10Chapter 10: Storage scope: what is regional and what is zonalThis chapter assumes you know what an Availability Zone (AZ) is, how a VPC spans a Region, and the basics of EC2 and the AWS CLI. The question here is simple. For each storage service, does it live in one AZ, or does AWS spread it across several for you? A wrong answer is a hidden single point of fa5 min read
11Chapter 11: Health checks and automatic failoverThis chapter assumes you know how an Application Load Balancer (ALB) with target groups works, how an Auto Scaling group (ASG) launches instances, and how to read CloudFormation YAML. Earlier chapters covered spreading traffic across Availability Zones (AZs). Here you will see how AWS decides that s6 min read
12Chapter 12: Static stability: pre-provisioned capacity for AZ lossThis chapter assumes you have read the earlier chapters on subnets across Availability Zones (AZs), load balancing, Auto Scaling groups (ASGs), and RDS Multi-AZ. You should know what a health check is and how an ASG uses a launch template.6 min read
13Chapter 13: Observing health per Availability ZoneThis chapter assumes you have read the earlier chapters on load balancing, Auto Scaling groups, and health checks. You should also know how to read CloudWatch metrics and use the AWS CLI.6 min read
14Chapter 14: Testing failover and injecting faultsA design that has never failed over is a hypothesis. This chapter shows how to turn that hypothesis into evidence by causing controlled failures and measuring what happens.5 min read
15Chapter 15: When multi-AZ is not enough: the multi-Region boundaryThis chapter assumes you have read the earlier chapters on failure domains, load balancing, Auto Scaling, RDS Multi-AZ and Aurora, static stability, and testing. It also assumes you can read CloudFormation YAML and run AWS CLI commands. It covers what a multi-AZ design cannot protect against, how to5 min read
16Chapter 16: Weighing cost and complexity against availability goalsThis chapter assumes you have read the earlier chapters on NAT gateways, load balancing, Auto Scaling, RDS Multi-AZ, and static stability. It also assumes you know basic AWS billing: hourly resource charges, per-GB data processing, and per-GB data transfer. Prices change and differ by Region, so thi6 min read