An Aurora DB cluster is fault tolerant by design. The cluster volume spans 3 Availability Zones in a single AWS Region, and each Availability Zone contains 2 copies of the data. This functionality means that your DB cluster can tolerate a failure of an Availability Zone without any loss of data and only a brief interruption of service.
If the primary instance in a DB cluster using single-master replication fails, Aurora automatically fails over to a new primary instance in one of two ways:
In this lab, we will simulate a failover of the Aurora PostgreSQL cluster, and observe the change in writer and reader roles. This lab contains the following tasks:
This lab requires the following lab modules to be completed first: