RDS Blue/Green Deployment

0

I have setup a Blue/Green Deployment for the DB instance restored from the production. The replication from Blue to Green works when I created a table in Blue, Green got it. According to the documentation (Overview of Amazon RDS Blue/Green Deployments)[https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments-overview.html#blue-green-deployments-major-steps]

You can make changes to the RDS DB instances in the green environment without affecting production workloads.

But I am not able to make schema changes on the Green as it is set to read-only. If I am to set the Green to read-only=0, should I also turn off the replication so that the schema change will not be overwritten? But if the replication is turned off, when I switch over the changes made to Blue Production will be lost.

profile picture
Lottie
질문됨 2달 전220회 조회
1개 답변
0

I assume this is mysql or Aurora mysql? You can make changes to green by setting read_only=OFF. This is by design to allow for common maintenance tasks on green (such as converting a PK from int to bigint). However you also have to be careful not to make any changes that would otherwise break the binlog replication. Example if you dropped a table on green that might break replication to green.

AWS
중재자
philaws
답변함 2달 전
profile picture
전문가
검토됨 2달 전

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

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

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

관련 콘텐츠