This topic describes how to create an ApsaraDB for MongoDB standalone instance. Standalone instances provide a high level of data fault tolerance and are suitable for database systems that do not store crucial data. For example, you can use standalone instances in scenarios such as development, testing, and training. This topic describes how to create a standalone instance in the ApsaraDB for MongoDB console.
Prerequisites
Precautions
- Your standalone instance and the ECS instance reside in the same region, and preferably belong to the same zone. This reduces network latency. You can view the region and zone of a created ECS instance. For more information, see View instance information.
- Your standalone instance and the ECS instance reside in virtual private clouds (VPCs). You can view the network type of a created ECS instance. For more information, see View instance information. If the ECS instance resides in the classic network, you can migrate the ECS instance from the classic network to a VPC. For more information, see Migrate ECS instances from the classic network to a VPC.
Limits
- Standalone instances are supported only for MongoDB 4.0 and MongoDB 3.4.
- Standalone instances do not support incremental data migration and synchronization or point-in-time data restoration.
- Standalone instances support only the single-zone deployment method and can be created
only in the following regions.
Note
- For example, Hangzhou Zone F supports the single-zone deployment method, and Hangzhou Zones (B + E + F) support the multi-zone deployment method.
- For more information about regions and zones, see Regions and zones.
Region Single-zone deployment China (Hangzhou) Hangzhou Zone G, H, I, or J China (Shanghai) Shanghai Zone B, D, or G China (Qingdao) Qingdao Zone B or C China (Beijing) Beijing Zone E, F, or H China (Shenzhen) Beijing Zone A, C, or E Singapore (Singapore) Singapore Zone A, B, or C
Billing
- Subscription: If you purchase a subscription instance, you must pay an upfront fee for the instance.
- Pay-as-you-go: A pay-as-you-go instance is charged per hour based on the configurations of the instance. Fees are automatically deducted from your Alibaba Cloud account.
For more information, see Billable items and pricing.
Procedure
After you perform the following steps, ApsaraDB for MongoDB automatically creates one or more standalone instances. No manual interventions are required.
Pay for orders in the cart
- In the lower-right corner of the page, click the Cart icon.
- In the Cart panel, select the products that you want to buy and click Proceed to Checkout.
- On the Cart page, check whether the products that you want to buy are selected.
Note You can also re-specify the Subscription Cycle and Quantity parameters.
- If the products that you want to buy are selected, click Buy Now.
- If the products that you want to buy are not selected, select them and click Buy Now.
- On the Confirm Order page, read MongoDB Replica Set (Subscription) Service Agreement, select I have read and agreed to the terms, and then click Confirm Purchase.
- On the Purchase page, complete the payment as instructed.
Related API operations
Operation | Description |
---|---|
CreateDBInstance |
|
DescribeInstanceAutoRenewalAttribute | Queries whether auto-renewal is enabled for an ApsaraDB for MongoDB instance. |
DescribeDBInstanceAttribute | Queries the detailed information of an ApsaraDB for MongoDB instance. |
What to do next
- Configure IP address whitelists for the standalone instance. The IP address whitelists of a standalone instance contain the IP addresses or CIDR blocks that are granted access to the standalone instance. For more information, see Configure a whitelist for an ApsaraDB for MongoDB standalone instance.
- Optional:If you have not set the password of the root user for the standalone instance when you created the instance, set the password of the root user. For more information, see (Optional) Reset a password.
- Optional:If you want to connect to the standalone instance over the Internet, apply for a public endpoint for the standalone instance. For more information, see Apply for a public endpoint for a standalone ApsaraDB for MongoDB instance.