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.
Successfully complete this lab by achieving the following learning objectives:
- Create the Index
Create an index on the
authorfield of the
librarydatabase 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
librarycollection 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.