As explained, RDS provides high availability via Multi-AZ. To set up Multi-AZ, RDS needs to be configured for two things, the availability zone where the slave RDS instance will be launched and instantiated and enable the Multi-AZ option for the current RDS service:
- From the RDS dashboard navigation pane, click on Subnet Groups. Select default and click on the Edit button:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__8ba1823f-00ce-4ac1-ac45-6111b30bec14.png)
- The two Availability Zones as per the architecture diagram are us-west-2a and us-west-2c. Hence, click on the Remove button against the us-west-2b AZ. Click on the Edit button:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__554d1cf8-e73e-4415-aba0-141b4602afef.png)
- You should see the following screen. Click on the default hyperlink to the view subnet details:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__25a3bcc9-5443-4d4d-b181-bf95ea7e720c.png)
- Make sure that the two AZs are correctly listed as shown:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__34eced8b-1117-426d-89be-fff81221f8bc.png)
- From the RDS dashboard navigation pane, click on Instances. Select the a1ecommerce database instance and click on Modify from the Instance actions drop-down menu:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__614d42dc-f8b9-40e9-a4cb-12af1b79351d.png)
- Select Yes from Multi A-Z Deployment drop-down menu. This will instantiate slave database instance in the us-west-2c Availability Zone:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__1c4941e2-c41a-47eb-9b1c-dbf73d2dd12a.png)
- Scroll down the page and click on the Continue button:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__74fddd41-2e96-41b5-b0fa-17700c27277c.png)
- Make sure that you check the Apply Immediately checkbox; if not, your changes will be scheduled for the next maintenance cycle. Click on the Modify DB Instance button:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__5f7edac4-acc1-4706-ad4c-56840c71e769.png)
- At this stage, you will see the Status as modifying:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__f3c87147-553e-47a1-bc5e-3e376c430080.png)
- After a few minutes, you should see the status as available:
![](http://images-20200215.ebookreading.net/11/2/2/9781787281066/9781787281066__learning-aws-__9781787281066__assets__2b232b4c-79ac-48b1-956f-1774a22d4bad.png)