In this lab, you will scale an Amazon DocumentDB cluster to improve write performance. After completing this lab, you will have hands-on experience scaling Amazon DocumentDB for write performance.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Connect in Replica Set Mode
Connect to the cluster in replica set mode. Use the
mongosh
shell to test the connection string.- Add a New Larger Replica Instance
Add a new database instance, and select the db.t4g.medium class. Ensure the failover tier is correctly set on the new instance.
- Failover Primary Instance
Initiate a manual failover of the primary database instance.
- Confirm the Connection
Confirm the connection to the cluster after the failover is complete.