Experimenting with AWS FIS on RDS with a reboot and failover action
In this section of the chapter, we will create an FIS experiment template that will invoke an API call to reboot a database cluster with failover. In failover, the read-only replica will be promoted as the primary instance (the cluster writer), and you can also see that the availability zone in use will also change. We will validate by reviewing the availability of the application during the reboot and failover of MySQL RDS. We will deploy an example Node.js REST API application with MySQL RDS.
Perform the following steps to implement the experiment using AWS FIS:
- Go to the RDS console and click on Create database.
- Select Standard create under Choose a database creation method. Select MySQL under Engine type.
- Under Templates, select Dev/Test, while under DB instance identifier, enter
RDS-FIS
. Complete the Master password...