Is there any complete way to zdp Aurora MySQL DB?

0

Hi, We have applications(multi Datasource config with master, slave) with AWS Aurora RDS MySQL Clusters with Multi-AZ (1-writer instance, 1-readonly instance)

When we scale up our DB instances, firstly we scale-up our read-only instance. From here, it is not a problem because writer instance can also perform as read instance. But when we scale up our writer instance, failover occurs, writer instance is changed to read-only replica and connections with writer instance are remain for writing operations after failover.

How can I avoid downtime with this case?

1개 답변
0

I think we have to allow for downtime due to failover caused by instance class changes, as it is inevitable.
Aurora DB failover takes a short time.
It would be a good idea to stop the service during that time.
https://aws.amazon.com/rds/aurora/faqs/?nc1=h_ls

If you have an Aurora Replica in the same or a different AZ when failing over, Aurora flips the canonical name record (CNAME) for your DB Instance to point at the healthy replica, which is promoted to become the new primary. Start-to-finish, failover typically completes within 30 seconds. For improved resiliency and faster failovers, consider using Amazon RDS Proxy which automatically connects to the failover DB instance while preserving application connections. Proxy makes failovers transparent to your applications and reduces failover times by up to 66%.

From the documentation here, it is difficult to avoid downtime.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html#Aurora.Modifying.Settings

An outage occurs during this change.

profile picture
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전

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

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

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