How to enable Logical Replication for existing Aurora PG 13 Cluster?

0

We are considering enabling logical (streaming) replication on our existing Aurora PG 13 cluster for CDC?

We want to keep our aurora read replicas as is, but I haven't found good resource that explains how to achieve both, OR what is the implication for existing read replicas.

Our current understanding is that we might have to stand up 2x current nodes in our cluster which would be way too expensive for us.

질문됨 2년 전1480회 조회
2개 답변
2

You can enable logical replication by setting the parameter rds.logical_replication parameter in Cluster Parameter group. There will not be any impact on the existing Aurora replicas/reader instances in the cluster. Additionally, you do not need to add new instances in the cluster just because the logical replication is enabled.

Refer - https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Replication.html#Aurora.Replication.AuroraPostgreSQL

AWS
답변함 2년 전
전문가
John_F
검토됨 2년 전
2

Thank you for reaching out. Since you mentioned CDC, I will also recommend you to review this document since it provides guidance on the enabling Logical replication for CDC. [Using a PostgreSQL database as an AWS DMS source - Enabling change data capture (CDC) using logical replication - https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.Security

AWS
지원 엔지니어
Arnab_S
답변함 2년 전
  • Thanks @arnab, the intention is to run CDC indefinitely (i.e we are not just migrating DB), does DMS still solve the problem cleanly and cost effectively?

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

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

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