A programmatic way to automate testing Failover with Aurora DB cluster?

0

Quick question, we are running load tests and wanted to include testing failovers. Current we manually have to hit a button in the RDS dash board, but is there any programmatic way to do this easily, using say C++ , REST or GRPC

  • Please select the answer as Accepted Answer if you feel that it has provided the response to your query. Thanks !

已提問 1 年前檢視次數 545 次
2 個答案
1
已接受的答案

Yes, either you can use API call for FailoverDBCluster or use AWS CLI command failover-db-cluster.

AWS
已回答 1 年前
profile picture
專家
已審閱 1 年前
1

Hi, what about AWS Fault Injection Simulator ?

See this blog for its used with RDS: https://aws.amazon.com/blogs/devops/chaos-experiments-on-amazon-rds-using-aws-fault-injection-simulator/

About FIS: https://aws.amazon.com/fis/

It should bring you the automation and repeatability that you are looking for

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南