- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data
Operate and Validate Amazon RDS Multi-AZ and Read Replica Transitions
In this lab you will explore how to create highly available, performant, and resilient managed databases on AWS using RDS Multi-AZ instances and read replicas. You will instantiate a Multi-AZ backup instance as well as a read replica, and observe how read and write traffic is distributed to these instances. You will then simulate a failover event and observe failover behavior for read and write traffic.
Lab Info
Table of Contents
-
Challenge
Deploy RDS Read Replica
Deploy a read replica for your RDS instance called
rds-lab-postgres. -
Challenge
Deploy RDS Multi-AZ Standby Instance
Configure a standy instance in a separate availability zone.
-
Challenge
Distribute Client Read Traffic Between Primary and Read Replica
Observe read behavior when traffic is distributed between main instance and read replica. Note that traffic is not diverted to the read replica by default, you have to point the application to the read replica enpoint.
-
Challenge
Initiate a Multi-AZ RDS Failover
Trigger an RDS failover and observe read and write behavior during failover. Note that the IP address is now different for primary instance traffic, while the endpoint hostname stays the same.
-
Challenge
Promote the Read Replica to Become the Primary Instance
Promote the read replica and configure the client to direct all traffic to the new primary instance. Note that the old primary instance and standby instance are no longer synchronizing with the newly promoted instance.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.