Perform an Online Migration of a MongoDB Instance to Amazon DocumentDB

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, you will perform an online migration of a MongoDB database to an Amazon DocumentDB cluster. After completing this lab, you will have hands-on experience with creating DMS replication instances, endpoints, and tasks.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create the Index

Create an index on the author field of the library database on the DocumentDB cluster.

Create the DMS Task

Create a DMS task to perform a full load of the data, and then enable change data capture (CDC) from the source MongoDB database to the DocumentDB cluster.

Be sure to include the library collection and test the replication when done.

Test the New Endpoint

Test the connection to the DocumentDB cluster, and provide the new endpoint to the application administrators.

Additional Resources

You are working as a database administrator (DBA) and have been tasked with migrating the production MongoDB database to Amazon DocumentDB. This is a production environment, so downtime should be kept to a minimum. To achieve this, you will need to complete the following tasks:

  • Create the indexes.
  • Create the DMS task.
  • Test the new endpoint.

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?