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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则