Scale an Amazon DocumentDB Cluster for Write Performance

1.75 hours
  • 4 Learning Objectives

About this Hands-on Lab

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.

Additional Resources

You are working as a database administrator (DBA) and have been tasked with improving write performance of an Amazon DocumentDB cluster. This needs to be done with minimal downtime.

To accomplish this, you will need to complete the following tasks:

  • Connect in replica set mode.
  • Add a larger replica instance.
  • Failover the primary instance.
  • Confirm the connection.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?