You can log on to the Alibaba Cloud ApsaraDB for MongoDB console or call the CreateDBInstance operation to create an ApsaraDB for MongoDB instance. For more information about how to bill an instance, see Billing items and pricing. This topic describes how to create an instance in the ApsaraDB for MongoDB console.


  • You have registered an Alibaba Cloud account. If you do not have an Alibaba Cloud account, click Register.
  • To create a Pay-As-You-Go instance, ensure that your account balance is sufficient.


  1. Log on to the ApsaraDB for MongoDB console.
  2. In the left-side navigation pane, click Replica Set Instances. On the page that appears, click Create Instance to go to the instance creation page.
  3. Select Subscription or Pay-As-You-Go. For more information about the billing methods, see Billing items and pricing.
  4. Specify the instance configuration. The following table describes related parameters.
    Area Parameter Description
    Basic Configuration Region

    The geographical location of the instance. Instances in different regions cannot be interconnected through an intranet. Once an instance is created, you cannot change the region. Therefore, you need to select a region with caution.

    Supported regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), and China (Shenzhen).

    Instances in the same region (such as an ECS instance and an ApsaraDB for MongoDB instance) can be interconnected through an intranet.


    The physical area with its power supply and network isolated from other counterparts in the same region.

    For more information about regions and zones, see Regions and zones.

    An ApsaraDB for MongoDB instance and an ECS instance in different zones of the same region can be interconnected through an intranet. For more information, see Connect to an ApsaraDB for MongoDB instance through a cross-zone intranet.

    The network latency is minimal when an ECS instance and an ApsaraDB for MongoDB instance in the same zone are interconnected through an intranet.

    Database Version The database version of the instance. Currently, ApsaraDB for MongoDB supports MongoDB 3.4.
    Storage Engine

    The storage engine of the instance. You can select WiredTiger or RocksDB.

    For more information about storage engines, see Versions and storage engines.

    Replication Factor ChooseSingle Node
    Network Type VPC The Virtual Private Cloud. A VPC is an isolated network environment that provides enhanced security and better performance than traditional classic networks. You need to create a VPC in advance. For more information about how to configure a VPC, see Configure a VPC for a new instance.
    Specifications Specification The CPU and memory occupied by the instance.
    Storage Space The maximum number of connections and maximum input/output operations per second (IOPS) vary depending on specifications. The maximum IOPS indicates the maximum number of read or write operations separately. The maximum sum of read and write operations can be twice the maximum IOPS.
    Set Password
    • Set now
    • Set after purchase

    The password used to connect to ApsaraDB for MongoDB for the first time.

    • The password must consist of any three types of characters, including uppercase letters, lowercase letters, digits, and special characters. Special characters include exclamation points (!), number signs (#), dollar signs ($), percent signs (%), carets (^), ampersands (&), asterisks (*), parentheses (()), underscores (_), plus signs (+), hyphens (-), and equal signs (=). [DO NOT TRANSLATE]
    • The password must be 8–32 characters in length.

    You can set a password when creating the instance. You can also set a password or reset the password when the instance is running.

    Purchase Quantity Duration
    • Subscription: Select the duration and quantity for the subscription-based instance to be purchased. You can select one to nine months for the subscription period on a monthly basis, or one to three years for the subscription period on a yearly basis.
    • Pay-As-You-Go: Select the quantity for the Pay-As-You-Go instance to be purchased with the same configuration. You can select an integer in the range of 1 to 10.
  5. Click Buy Now to go to the Confirm Order page.
  6. On the Confirm Order page that appears, read and select ApsaraDB for MongoDB Agreement of Service and follow the instructions to complete the payment process.