A single point of failure is a piece of an architecture that exists in only one place, so if that place fails, everything that depends on it goes down. An architecture is the way the pieces of an application are put together: where it runs, where it keeps its data and how the pieces connect to each other. For example, if an online store keeps all its orders on a single computer and that computer shuts down, the store stops selling even though everything else works.
An AWS Region has several Availability Zones, which are groups of separate data centers, each one with its own power and its own network. A data center is a building full of connected computers. That is why an application that runs in a single zone depends on that zone not failing. For example, if the store has everything in one zone and that zone loses power, the whole store goes down.
A single point of failure can stay hidden even when almost the whole architecture is in two zones. For example, an application with the load balancer, the instances and the database in two zones loses its internet access if the zone where its only NAT gateway lives goes down. The NAT gateway is the piece its instances go through to reach the internet.
High availability, fault tolerance and recovery

The exam distinguishes three ways to protect yourself from a failure, and each one is measured differently:
- High availability, which is measured by the percentage of time that the workload is available for use and which allows short interruptions, such as a failover of a couple of minutes, as long as the workload stays available almost all the time. For example, the store stops responding for a minute while it moves to its spare copy, and then it keeps selling.
- Fault tolerance, which the "Availability and Beyond" whitepaper defines as the ability to withstand the failure of a subsystem, one of the parts of the system, and remain available, with spares that take over 100% of the work of the failed component almost without anyone noticing. For example, the store has two complete payment systems running, and if one fails, the other one charges every purchase without the customer seeing an error.
- Disaster recovery (DR), which works with complete, separate copies of the entire workload for large events, such as losing a Region, and which is measured with RPO and RTO. The RPO is how much data you accept losing and the RTO is how long you accept being down. For example, the store keeps a copy of everything in another Region so it can reopen there if the main Region is lost.
Fault tolerance requires more capacity than high availability, because the spares have to be able to do all the work. For example, if the workload needs four instances and you want to tolerate the loss of one of your two zones, you need four instances in each zone.
Replication and backups
The AWS DR whitepaper has a section called "High availability is not disaster recovery", which explains how they are alike and how they differ. Both use monitoring, multiple locations and automatic failover, but availability focuses on the components and disaster recovery on entire copies of the workload.
This difference shows up with data. Replicating means copying the data to another place as soon as it changes, and a backup is a saved copy of how the data looked at one moment. If you replicate a disk to another location and someone deletes a file, the deletion is replicated too, so to go back to the moment before the mistake you need a point-in-time backup. For example, if a store employee deletes the product list by mistake, the replicated copy ends up empty too, and only yesterday's backup still has the list.
What happens when a zone goes down?
When a zone goes down, a store that lives only in that zone stops selling, while a store with a load balancer and instances in two zones of the same Region keeps serving with the remaining zone. A Multi-AZ architecture, which has each piece in two or more Availability Zones, applies this same idea in each of its layers. For example, the store places instances in two zones, the database in two zones and the internet access in two zones.
How do you remove the single point of failure in each layer?
Task 2.2 of the exam guide asks you to design architectures without single points of failure. To meet it, you have to review each layer of the architecture, meaning each type of piece (the one that receives visits, the one that computes, the one that stores data), and confirm that it has pieces in more than one place.
One of those layers, DNS, is easier to understand with two terms that AWS uses to describe its services. The data plane is the part of a service that does the day-to-day work, and the control plane is the part that creates and changes resources. AWS explains that the data plane is simpler than the control plane and therefore more available. For example, in the store's DNS, telling each visitor which address to go to is the data plane, and creating or changing that address is the control plane.

In a Multi-AZ architecture, each layer has two pieces in two places or uses a service that already spreads itself out:
- DNS, where answering queries is the data plane of Amazon Route 53, the AWS DNS service. For example, Route 53 keeps telling the store's customers where to go even if a zone fails.
- The load balancer, where the Application Load Balancer requires at least two zones when you create it and places a node, a part of the load balancer that receives visits, in each one. For example, if a zone goes down, the node in the other one keeps receiving customers.
- Compute, which is the instances where the application runs and which uses an Amazon EC2 Auto Scaling group, a service that keeps running the number of instances you ask for. The group spans both zones with a minimum of 2 instances, because with a minimum of 1 the group can end up at night with a single instance in a single zone. For example, in the early morning the store has few visits, and with a minimum of 2 it still has one instance in each zone.
- The database, which uses Amazon RDS Multi-AZ with a synchronous standby in another zone. Synchronous means that each piece of data is saved in both copies before it is confirmed. For example, when a customer pays, the order is saved in both zones before the store tells them the purchase went through.
- Shared files, which use Amazon EFS, a file disk that several instances can use at the same time. The Regional type stores the data in several zones, unlike the One Zone type, which stores it in only one. For example, the store's product photos stay available with Regional EFS even if a zone goes down.
- Internet access, which the private instances, the ones nobody can reach from the internet, use to download updates. You place one NAT gateway per zone because the standard NAT gateway lives in a single zone, or you use the regional NAT gateway, which expands on its own to the zones where you have resources. For example, with one NAT gateway in each zone, the instances in the remaining zone keep downloading updates.
- The connection to your network, where a Site-to-Site VPN comes with two tunnels, which are two separate paths between the two networks. For example, if the store's office is connected to AWS with a VPN and one of the tunnels fails, the other one keeps the connection up.
Multi-AZ or multi-Region?
A Multi-AZ architecture already covers a large part of the risks, because the DR whitepaper explains that the zones of a Region are separated by a meaningful distance and that the most common disasters should affect only one of them. A multi-Region architecture, which copies the workload into two or more Regions, is justified when the concern is losing the entire Region or when a regulation requires it. However, it costs more, because it duplicates the infrastructure and the data. For example, for most stores two zones in one Region are enough, while a bank that a regulation requires to operate from two distant places would need two Regions.
On the exam
A question on this topic usually describes an architecture and asks for the change that makes it highly available "with the least effort" or "at the lowest cost". In that case, look for the layer that lives in a single place, which the question gives away with phrases such as "one instance", "one zone", "one NAT gateway" or "minimum of 1". For example, if the question says the store has everything in two zones and "one NAT gateway", the answer is to add a NAT gateway in the other zone.
cloud path tip: if the question says "without interruption" or "without loss of capacity", you are being asked for fault tolerance, which is more than high availability. If it talks about "accidental deletion" or "corruption", the answer includes backups, even if there is already replication.
Full account and new experience account
A Multi-AZ architecture like this one can be built within a Region in both types of account, because Elastic Load Balancing, EC2 Auto Scaling, RDS and EFS are in the free plan of the new experience, the simplified way to open an AWS account. However, that account doesn't have any cross-Region features, and the Region is us-east-2 for people who live in Latin America. Also, the Site-to-Site VPN is only in that account's paid plan. For example, on the free plan you can build the store with a load balancer, instances and a database in two zones of us-east-2, but you can't connect it to an office with a VPN.
Next