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 réponse
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
répondu il y a un an
  • Can I have any reference documentation which can explain in detail for bucardo or pglogical

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions