This topic describes how to get started with a replica set instance of ApsaraDB for MongoDB. In this topic, you can quickly become familiar with the operations for creating, configuring, and connecting to an ApsaraDB for MongoDB instance.

Flowchart for an ApsaraDB for MongoDB instance

The first time you use ApsaraDB for MongoDB, you can start with Before you start.

The following figure shows the operations that you must perform before you use an ApsaraDB for MongoDB instance.Flowchart
  1. Create a replica set instance.
  2. Set a password.
  3. Configure a whitelist.
  4. Apply for a public endpoint for a replica set instance.
  5. Connect to a replica set instance. For more information, see Connect to a replica set instance through the mongo shell.