- A Cloud Guru
Perform an Offline Migration of a MongoDB Instance to Amazon DocumentDB
In this lab, you will perform an offline migration of a MongoDB database to an Amazon DocumentDB cluster. After completing this lab, you will have hands-on experience with performing an offline migration using the `mongodump` and `mongorestore` commands.
Table of Contents
Dump the Collection Data
Dump the collection named
libraryfrom the source MongoDB instance at
Create the Index
Create an index on the
authorfield of the
librarydatabase on the DocumentDB cluster.
Restore the Collection Data
Restore the collection data dumped from the source to the DocumentDB cluster.
Test the New Endpoint
Test the connection to the DocumentDB cluster, and provide the new endpoint to the application administrators.
What's a lab?
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.