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 thelibrary
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.