Identifying and Remediating Single Points of Failure
A single point of failure (SPOF) is any component whose failure stops the workload. SPOFs are often hidden: a NAT gateway in one Availability Zone, a cron job on one instance, a DNS record pointing at one IP address or a deployment that changes every copy at once. This lesson explains how to find SPOFs systematically at each layer and the standard AWS remediations for each.
Learning outcomes
After completing this lesson, you will be able to:
- Define single points of failure and explain why some are not obvious from an architecture diagram.
- Identify common SPOFs in compute, network, data, dependency and operational layers.
- Describe the AWS remediation for each common SPOF.
- Explain static stability and why capacity should survive the loss of an Availability Zone.
Thinking in Failure Domains
A failure domain is a set of components that can fail together: an instance, a host, an Availability Zone, a Region, a deployment, an account, or a shared dependency such as a credential or a DNS zone. A workload is resilient to a failure only if it has redundancy outside that failure domain. Two instances on the same host are not redundant against a host failure; two instances in the same AZ are not redundant against an AZ failure. Finding SPOFs therefore means asking, for each failure domain, whether anything the workload needs exists only inside it.
Common SPOFs and Their Remediation
The following SPOFs appear frequently in existing workloads and in exam scenarios. Each is explained with its standard remediation, and a summary table follows.
Single instances
An application on one EC2 instance fails when the instance or its AZ fails. Place instances in an Auto Scaling group spread across at least two, preferably three, AZs behind a load balancer. Even a single-instance workload, such as a licensed server, benefits from an Auto Scaling group with a minimum and maximum of one, which replaces the instance automatically, possibly in another AZ.
Single-AZ databases and caches
A single-AZ RDS instance or a single-node ElastiCache cluster loses service on an instance or AZ failure. Use RDS Multi-AZ or Aurora with replicas in other AZs, and ElastiCache replication groups with Multi-AZ and automatic failover. Self-managed databases on EC2 need their own replication and failover.
Zonal network components
A NAT gateway is created in one AZ. If every private subnet routes to the same NAT gateway, losing that AZ cuts internet access for all AZs. Create one NAT gateway per AZ with each AZ's route table pointing to its own, or use the Regional NAT gateway mode where available. Similarly, interface VPC endpoints should have network interfaces in every AZ used, and VPN or Direct Connect connections should be duplicated.
Hard-coded addresses
Applications or DNS records that point to a specific instance IP address fail when the instance is replaced. Use load balancer DNS names, Route 53 alias records, service discovery or Elastic IP addresses re-associated by automation.
State on instances
Session data, uploaded files or scheduled jobs on a single instance are lost or stop when it fails. Store sessions in ElastiCache or DynamoDB, files in Amazon S3 or Amazon EFS, and run scheduled jobs with EventBridge Scheduler invoking Lambda, ECS tasks or Step Functions rather than cron on one server.
Single-Region dependencies and quotas
A workload in one Region fails with the Region. For tier-one workloads, a second Region is the remediation, as described in the multi-Region lesson. Service quotas can also be a SPOF: if a failover Region has default quotas, scaling up there may fail exactly when needed, so quotas must be raised in advance.
Operational SPOFs
A deployment that updates every instance at once, a manual runbook only one person knows, a single pipeline or a single credential are also single points of failure. Progressive deployments, automated and tested runbooks, and break-glass access address them.
| SPOF | Remediation |
|---|---|
| One EC2 instance | Auto Scaling group across AZs behind a load balancer |
| Single-AZ RDS or ElastiCache | RDS Multi-AZ, Aurora replicas, ElastiCache Multi-AZ with automatic failover |
| One NAT gateway for all AZs | A NAT gateway per AZ with per-AZ route tables, or Regional NAT gateway |
| Hard-coded IP addresses | Load balancer DNS names, Route 53 alias records, service discovery |
| Files or sessions on instances | Amazon S3, Amazon EFS, ElastiCache or DynamoDB |
| Cron on one server | EventBridge Scheduler with Lambda, ECS tasks or Step Functions |
| One Region | Multi-Region design with replicated data |
| All-at-once deployments | Rolling, canary or blue/green deployments with alarms |
The following diagram shows a workload with common SPOFs and the same workload after remediation.

Remove the single point of failure
Static Stability
A workload is statically stable if it keeps working during a failure without needing to make changes, such as launching instances or updating DNS. This matters because the control-plane actions needed for recovery may themselves be impaired during a large event. For an AZ failure, static stability means running enough capacity in the remaining AZs to carry the full load before any failure occurs. With three AZs, each AZ should be able to absorb a third of the load beyond its share, so the fleet runs at 150% of the required capacity (each AZ holds 50% of peak). With two AZs, each must hold 100% of peak, which is why three AZs are more economical for static stability.
Data-plane operations, such as a load balancer stopping traffic to unhealthy targets or Route 53 answering according to health checks, are designed to keep working during failures. Relying on them rather than on control-plane operations, such as creating resources or changing records, is a recurring principle in AWS resilience guidance.
Static stability
Finding SPOFs Systematically
Several tools help find SPOFs in existing workloads. AWS Resilience Hub assessments report components that cannot meet the resilience policy, such as single-AZ databases. AWS Trusted Advisor fault tolerance checks flag, for example, EC2 instances concentrated in one AZ, RDS instances without Multi-AZ and load balancers with targets in one AZ. AWS Config rules such as rds-multi-az-support, elasticache-repl-grp-auto-failover-enabled and autoscaling-multiple-az evaluate continuously. Finally, AWS FIS experiments verify that redundancy actually works by disrupting an instance or an AZ under controlled conditions, as described in the backup and recovery module.
Reviewing an Existing Workload
A review of a three-tier application finds: two web instances in one AZ behind an ALB; one NAT gateway used by private subnets in two AZs; a single-AZ RDS for MySQL instance; a nightly report job run by cron on one web instance; and user uploads stored on the web instances' EBS volumes.
-
Compute
Move the web tier into an Auto Scaling group across three AZs, sized so that two AZs can carry peak load.
-
Network
Add a NAT gateway in each AZ and update each private route table to use its own.
-
Database
Convert the RDS instance to Multi-AZ, which is an online change with a brief failover.
-
State
Move uploads to Amazon S3 and run the report with EventBridge Scheduler and an ECS task.
-
Verify
Run an AWS FIS experiment that stops instances in one AZ and confirm the workload stays available.
Private subnets in three AZs all route through one NAT gateway in AZ a. What happens when AZ a fails, and what is the fix?
Show answer
Instances in all three AZs lose outbound internet access. Create a NAT gateway in each AZ and point each AZ's private route table to its local NAT gateway (or use a Regional NAT gateway).
Exam Tips
Remember for the exam
- A SPOF is anything that exists only inside one failure domain (instance, AZ, Region, deployment or credential).
- Use one NAT gateway per AZ (or Regional NAT gateway), Multi-AZ databases, Auto Scaling groups across AZs and external state stores.
- Replace cron on a single server with EventBridge Scheduler targets.
- Static stability: pre-provision enough capacity to survive an AZ loss without launching resources; three AZs need 150% capacity, two AZs need 200%.
- Resilience Hub, Trusted Advisor, Config rules and AWS FIS help find and verify SPOFs.