Articles → AWS → Create A Read Replica In AWS RDS

Create A Read Replica In AWS RDS






Purpose





Why Do We Need To Create The “Read Replica” Of The Database?




  1. It helps in disaster recovery in case of database failover
  2. It is easy to migrate from one data center to another

What Are The Database Instances For Which Read Replicas Can Be Created?





How To Create A "Read Replica"?






Picture showing the Create read replica option for creating the read replica
Click to Enlarge



Picture showing the create read replica screen
Click to Enlarge



Picture showing the read replica created for MySQL database
Click to Enlarge


How Does Read Replica Work?







Difference Between Multi-AZ and Read Replicas


Multi-AZ DeploymentsRead Replicas
Synchronous Replication – highly durableAsynchronous replication – highly scalable
Only the database engine on the primary instance is activeAll read replicas are accessible and can be used for read scaling
Automated backups are taken from standbyNo backups configured by default
Always span two availability zones within a single regionCan be within an Availability Zone, Cross-AZ, or Cross-Region
Database engine version upgrades happen on the primaryDatabase engine version upgrade is independent of the source instance
Automatic failover to standby when a problem is detectedCan be manually promoted to a standalone database instance



Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, December 15, 2021
 
Updated On  -  Tuesday, July 4, 2023

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250