- A Cloud Guru
Deploy an Amazon RDS Multi-AZ and Read Replica in AWS
In this hands-on lab, we will work with Relational Database Service (RDS). This lab will give you hands-on experience with enabling Multi-AZ and backups, creating a read replica, promoting a read replica, and updating the RDS endpoint in Route 53. Multi-AZ and read replicas serve different purposes with RDS. Multi-AZ is strictly for failover, as the standby instances cannot be read from by an application. Read replicas are used for improved performance and migrations. With read replicas, you can write to the primary database and read from the read replica. Since a read replica can be promoted to be the primary database, it makes for a great tool in disaster recovery and migrations. > **Note:** This lab may take 10-15 minutes to provision.
Table of Contents
Enable Multi-AZ Deployment
Enable Multi-AZ deployment on the primary RDS database.
Create a Read Replica
Create a read replica of the RDS database named
Promote the Read Replica and Change the CNAME Records Set in Route 53 to the New Endpoint
Promote the read replica to be the primary database. In addition, you need to alter the CNAME DNS record set in Route 53 to now point to the new primary database's endpoint.
What's a lab?
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.