Streaming Replication in postgres between EC2 and Amazon RDS

0

Hello! I would like to know if it is possible to have my EC2 managed as Principal in postgres and have a read replica in Amazon RDS?

Srihari
已提问 1 年前603 查看次数
1 回答
1

Streaming replication between an EC2-based PostgreSQL database and an Amazon RDS instance is not directly supported. Amazon RDS provides built-in read replica support for databases within the RDS ecosystem only. You cannot create an RDS read replica directly from a PostgreSQL instance running on EC2.

You can use third-party tools like Bucardo or pglogical to set up replication between your PostgreSQL instance on EC2 and an RDS instance. These tools can help you replicate data between the two instances, but please note that this approach may require more manual configuration and maintenance compared to using RDS read replicas.

profile picture
专家
已回答 1 年前
  • Can I have any reference documentation which can explain in detail for bucardo or pglogical

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则