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?

1 Answer
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
EXPERT
answered a year ago
  • Can I have any reference documentation which can explain in detail for bucardo or pglogical

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions