How can I cause a failover on an Aurora Serverless v1 DB Cluster with no instances?

0

End goal: I'm trying to demonstrate the ability of an application to continue operations after a database failover without manual intervention.

Specs:

  • Db family: aurora-mysql5.7
  • Db engine ver: 2.11.1

Some Attempts:

  • aws rds failover-db-cluster. This results in "You cannot failover DB Cluster with Aurora Serverless"
  • aws rds stop-db-cluster. States it's "not supported for these configurations"
  • modifying the cluster capacity to 0. Only allows for values between 1 - 256

My understanding is I can't use a cluster failover command as with Aurora Serverless the process is automatic. Are there any changes I could make which could guarantee a failover would occur under normal circumstances?

1개 답변
0

When you have 2 instances in an aurora cluster, you can restart the writer and this will automatically promote the reader to a writer and the old writer becomes a reader.

That would be your failover demonstration.

profile picture
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠