ApsaraDB for MongoDB is built on the Apsara distributed operating system and a high-reliability storage engine. Fully compatible with the MongoDB protocol, it provides high availability through a multi-node architecture, elastic scaling, disaster recovery, backup and restoration, and performance optimization.
Deployment architectures
ApsaraDB for MongoDB supports three deployment architectures:
| Architecture | Use case | Details |
|---|---|---|
| Standalone | Development, testing, and non-core data storage | Standalone instances |
| Replica set | Production workloads with automatic failover | Replica set instances |
| Sharded cluster | Large-scale applications with high throughput demands | Sharded cluster instances |
Elastic scaling
Change the instance type, storage capacity, and number of nodes at any time. Schedule specification changes during off-peak hours to minimize disruptions. For more information, see Overview.
Network security
| Feature | Description |
|---|---|
| Anti-DDoS | Monitors inbound traffic in real time. Scrubs malicious traffic by filtering source IP addresses. Triggers blackhole filtering when scrubbing is insufficient. |
| IP address whitelists | Restrict access by specifying allowed IP addresses. Each whitelist supports up to 1,000 IP addresses and CIDR blocks. See Modify the IP address whitelist of an ApsaraDB for MongoDB instance. |
| VPC | Deploy instances in a virtual private cloud (VPC) for network isolation. VPCs provide higher security and performance than the classic network. Create VPCs before deploying instances. See Default VPCs and default vSwitches. |
Data encryption
| Feature | Description |
|---|---|
| SSL encryption | Encrypts network connections at the transport layer to protect data integrity during transmission. See Configure SSL encryption for an ApsaraDB for MongoDB instance. |
| TDE | Transparent data encryption (TDE) performs real-time I/O encryption and decryption on data files. Data is encrypted before being written to disk and decrypted when read into memory. TDE does not increase data file size and requires no application changes. See Configure TDE for an ApsaraDB for MongoDB instance. |
Backup and recovery
| Feature | Description |
|---|---|
| Automatic backup | Configure a backup window to create backups automatically during off-peak hours. See Configure automatic backup for an instance. |
| Manual backup | Create physical or logical backups on demand. See Manually back up the data of an ApsaraDB for MongoDB instance. |
| Data restoration | Restore data from a backup point or a point in time. See Restore by backup point and Restore by point in time. |
| Backup download | Download backup files to a local machine within the retention period. See Download backup files. |
Zone-disaster recovery
Distribute nodes across multiple zones for high reliability and data protection. Select multiple zones when creating an instance.
| Capability | Details |
|---|---|
| Multi-zone replica set | Create a multi-zone replica set instance |
| Multi-zone sharded cluster | Create a multi-zone sharded cluster instance |
| Zone migration | Migrate a replica set instance from a single zone to multiple zones. See Migrate an ApsaraDB for MongoDB instance to a different zone. |
Zone migration is available only for replica set instances that run MongoDB 4.2 or earlier and do not have transparent data encryption (TDE) enabled.
Monitoring
ApsaraDB for MongoDB tracks up to 20 system metrics, including disk space usage, input/output operations per second (IOPS), connections, CPU utilization, network traffic, transactions per second (TPS), queries per second (QPS), and cache hit ratio. See Basic monitoring.
Data management and migration tools
Data Management (DMS)
Data Management (DMS) manages relational databases (MySQL, SQL Server, PostgreSQL) and NoSQL databases (MongoDB, Redis). DMS also supports Linux server management. Features include data management, schema management, server management, access control, business intelligence (BI) charts, trend analysis, data tracking, and performance monitoring and optimization. See What is DMS?
Data Transmission Service (DTS)
Data Transmission Service (DTS) supports data exchanges between relational databases, NoSQL databases, and online analytical processing (OLAP) systems. DTS provides:
Data migration, including zero-downtime migration
Real-time data synchronization, including cross-border synchronization
Real-time data subscription
Geo-disaster recovery and cache refreshing
See What is DTS?