All Products
Document Center

ApsaraDB for MongoDB:Features

Last Updated:Sep 19, 2023

ApsaraDB for MongoDB is developed based on the Apsara distributed operating system and a high-reliability storage engine, and is compatible with the MongoDB protocol. ApsaraDB for MongoDB uses a multi-node architecture to ensure high availability, and supports elastic scaling, disaster recovery, backup and restoration, and performance optimization. This topic describes the features of ApsaraDB for MongoDB.

Flexible architectures

ApsaraDB for MongoDB provides the following system architectures to meet your business requirements in various scenarios: standalone architecture, replica set architecture, and sharded cluster architecture. For more information, see Standalone instances, Replica set instances, and Sharded cluster instances.

Elastic scaling

You can change the specifications of an ApsaraDB for MongoDB instance based on your business requirements. The specifications include the instance type, storage capacity, and number of nodes. You can also specify the time at which you want to apply a specification change. We recommend that you apply a specification change during off-peak hours to prevent interruptions to your business. For more information, see Overview.

High data security

Security technology



ApsaraDB for MongoDB monitors inbound traffic in real time, filters source IP addresses to scrub large amounts of malicious traffic, and triggers blackhole filtering if traffic scrubbing becomes ineffective.

IP address whitelists

ApsaraDB for MongoDB filters traffic from IP addresses to achieve high-level security protection. You can configure up to 1,000 IP addresses and CIDR blocks in each IP address whitelist. For more information, see Modify the IP address whitelist of an ApsaraDB for MongoDB instance.


A virtual private cloud (VPC) is an isolated network that provides higher security and performance than the classic network. Before you deploy ApsaraDB for MongoDB instances in VPCs, you must create VPCs. For more information, see Default VPCs and default vSwitches.

Disaster recovery

ApsaraDB for MongoDB provides a zone-disaster recovery solution to achieve high reliability and high data security.

When you create an ApsaraDB for MongoDB instance, you can select multiple zones. For more information, see Create a multi-zone replica set instance or Create a multi-zone sharded cluster instance. You can also migrate a replica set instance from a single zone to multiple zones. For more information, see Migrate an ApsaraDB for MongoDB instance to a different zone.


You can migrate an ApsaraDB for MongoDB instance to different zones only when the instance is a replica set instance that runs MongoDB 4.2 or earlier and transparent data encryption (TDE) is not enabled for the instance.

SSL encryption

ApsaraDB for MongoDB encrypts network connections at the transport layer in compliance with SSL to improve data security and ensure data integrity. For more information, see Configure SSL encryption for an ApsaraDB for MongoDB instance.


ApsaraDB for MongoDB performs real-time I/O encryption and decryption on data files. Data is encrypted before it is written into a disk. Data is also decrypted when it is read from a disk and written into the memory. TDE does not increase the size of data files. You can use TDE without the need to modify the configuration data of your application. For more information, see Configure TDE for an ApsaraDB for MongoDB instance.

Automatic backup

You can configure a backup window for an ApsaraDB for MongoDB instance to automatically create backups during off-peak hours. For more information, see Configure automatic backup for an instance.

Temporary backups

You can manually create physical backups and logical backups for an ApsaraDB for MongoDB instance. For more information, see Manually back up the data of an ApsaraDB for MongoDB instance.

Data restoration

You can back up files to restore data. For more information, see the following topics:

Backup file download

You can download backups to your computer within the retention period of the backups. For more information, see Download backup files.

Comprehensive monitoring

ApsaraDB for MongoDB monitors up to 20 metrics, such as the disk space usage, input/output operations per second (IOPS), number of connections, CPU utilization, network traffic, transactions per second (TPS), queries per second (QPS), and cache hit ratio. For more information, see Basic monitoring.

Professional tools

Data Management (DMS) allows you to manage relational databases such as MySQL databases, SQL Server databases, and PostgreSQL databases. DMS also allows you to manage NoSQL databases such as MongoDB databases and Redis databases. DMS supports Linux servers. For more information, see What is DMS? DMS is a comprehensive data management service that provides various features, such as data management, schema management, server management, access control, business intelligence (BI) charts, trend analysis, data tracking, and performance monitoring and optimization.

Data Transmission Service (DTS) is a data service that is provided by Alibaba Cloud to support data exchanges between data sources such as relational databases, NoSQL databases, and online analytical processing (OLAP) systems. For more information, see What is DTS? DTS provides data transmission capabilities, such as data migration, real-time data subscription, and real-time data synchronization. DTS is suitable for scenarios such as data migration without downtime, geo-disaster recovery, cross-border data synchronization, and cache refreshing. DTS helps you build a secure, scalable, and highly available data architecture.