Amazon RDS for MariaDB instance read replica between regions

0

I need to create a database with mariadb to work with a failover between regions. So, If the primary region does not work, how is the replication process with the other region?

Ramiro
질문됨 2년 전661회 조회
2개 답변
0
profile pictureAWS
지원 엔지니어
답변함 2년 전
  • Hi, thank you. I want to create in the same account

0

Hello there,

RDS supports creating cross-region read replica for MariaDB across all regions. You can use AWS console to quickly provision a cross-region read replica. RDS uses asynchronous replication to replicate the changes from source database to the cross-region read replica database.

In case the primary database goes down, you can "promote" this cross-region read replica to a stand-alone instance and use this database's endpoint in your application. Please note that "promoting" operation is same for both in-region read replicas (source and replica in same region) and cross-region read replicas. Please note that once the read-replica is "promoted", it will no longer replicate the changes even if the previous primary database recovers.

In short, as mentioned in our documentation, the suggested "failure recovery" strategy is:

  1. Promote the read replica.
  2. Direct database traffic to the promoted DB instance.
  3. Create a replacement read replica with the promoted DB instance as its source.

For more information, please refer the below links: RDS Cross region read replicas - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html#USER_ReadRepl.XRgn Promoting a read-replica (applicable for both in-region and cross-region read replicas) - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html#USER_ReadRepl.Promote How Amazon RDS does cross-Region replication - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html#USER_ReadRepl.XRgn.Process

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠