Features

Updated at:

ApsaraDB for MongoDB supports three instance architectures: replica set, sharded cluster, and standalone. Each architecture supports specific MongoDB versions and instance categories. Use this page to check feature availability for your instance configuration.

Important

Instance architectures, versions, and categories

The instance category determines resource allocation. Cloud disk-based instances (MongoDB 4.4 and later) and local disk-based instances (MongoDB 4.2 and earlier) offer different category options.

Instance architecture Version General-purpose (cloud disks) Dedicated (cloud disks) General-purpose (local disks) Dedicated (local disks) Dedicated host
Replica set instance MongoDB 8.0 Supported Supported Not supported Not supported Not supported
MongoDB 7.0 Supported Supported Not supported Not supported Not supported
MongoDB 6.0 Supported Supported Not supported Not supported Not supported
MongoDB 5.0 Supported Supported Not supported Not supported Not supported
MongoDB 4.4 Supported Supported Not supported Not supported Not supported
MongoDB 4.2 Not supported Not supported Supported Supported Supported
MongoDB 4.0 Not supported Not supported Supported Supported Supported
MongoDB 3.4 (discontinued) Not supported Not supported Supported Supported Supported
Sharded cluster instance MongoDB 8.0 Supported Supported Not supported Not supported Not supported
MongoDB 7.0 Supported Supported Not supported Not supported Not supported
MongoDB 6.0 Supported Supported Not supported Not supported Not supported
MongoDB 5.0 Supported Supported Not supported Not supported Not supported
MongoDB 4.4 Supported Supported Not supported Not supported Not supported
MongoDB 4.2 Not supported Not supported Supported Supported Not supported
MongoDB 4.0 Not supported Not supported Supported Supported Not supported
MongoDB 3.4 (discontinued) Not supported Not supported Supported Supported Not supported
Standalone instance MongoDB 4.0 Supported Not supported Not supported Not supported Not supported
MongoDB 3.4 (discontinued) Supported Not supported Not supported Not supported Not supported

Billing management

Manage billing method switches and subscription renewals.

Replica set instance

Feature

MongoDB 8.0

MongoDB 7.0

MongoDB 6.0

MongoDB 5.0

MongoDB 4.4

MongoDB 4.2

MongoDB 4.0

MongoDB 3.4

Dedicated (Cloud Disk)

General-purpose (Local Disk)

Dedicated (Local Disk)

Dedicated Physical Server

支持

支持

支持

支持

支持

支持

支持

支持

支持

Modify an endpoint and port

支持

支持

支持

支持

支持

支持

支持

支持

支持

不支持

不支持

不支持

不支持

不支持

不支持

支持

支持

支持

Change the expiration time of a classic network endpoint

支持

支持

支持

支持

支持

支持

支持

支持

支持

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Switch from pay-as-you-go to subscription Supported Supported Supported Supported Supported Supported Supported Supported
Switch from subscription to pay-as-you-go Supported Supported Supported Supported Supported Supported Supported Supported
Manually renew a subscription instance Supported Supported Supported Supported Supported Supported Supported Supported
Enable auto-renewal Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Switch from pay-as-you-go to subscription Supported Supported
Switch from subscription to pay-as-you-go Supported Supported
Manually renew a subscription instance Supported Supported
Enable auto-renewal Supported Supported

Instance management

Create, configure, upgrade, and manage instance lifecycles. Major version upgrades are not available for MongoDB 8.0 (already the latest) or 4.2. Standalone instances do not support version upgrades, zone migration, or node role switching.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4 (discontinued)
Create a replica set instance Supported Supported Supported Supported Supported Supported Supported Supported
Change instance configurations Supported Supported Supported Supported Supported Supported Supported Supported
Enable or disable release protection Supported Supported Supported Supported Supported Supported Supported Supported
Specify a maintenance window Supported Supported Supported Supported Supported Supported Supported Supported
Configure database parameters Supported Supported Supported Supported Supported Supported Supported Supported
Restart an instance, component, or node Supported Supported Supported Supported Supported Supported Supported Supported
Release an instance Supported Supported Supported Supported Supported Supported Supported Supported
Recycle bin Supported Supported Supported Supported Supported Supported Supported Supported
Update the minor version Supported Supported Supported Supported Supported Supported Supported Supported
Upgrade the major version Not supported Supported Supported Supported Supported Not supportedSupportedSupported only for instances that use cloud disks. Supported Supported
Migrate to a different zone Supported Supported Supported Supported Supported Supported Supported Supported
Trigger a primary/secondary switchover / Switch node roles Supported Supported Supported Supported Supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4 (discontinued)
Create a sharded cluster instance Supported Supported Supported Supported Supported Supported Supported Supported
Change instance configurations Supported Supported Supported Supported Supported Supported Supported Supported
Enable or disable release protection Supported Supported Supported Supported Supported Supported Supported Supported
Specify a maintenance window Supported Supported Supported Supported Supported Supported Supported Supported
Configure database parameters Supported Supported Supported Supported Supported Supported Supported Supported
Restart an instance, component, or node Supported Supported Supported Supported Supported Supported Supported Supported
Release an instance Supported Supported Supported Supported Supported Supported Supported Supported
Recycle bin Supported Supported Supported Supported Supported Supported Supported Not supported
Update the minor version Supported Supported Supported Supported Supported Supported Supported Supported
Upgrade the major version Not supported Not supported Supported Supported Supported Not supportedSupportedSupported only for instances that use cloud disks. Supported Supported
Migrate to a different zone Supported Supported Supported Supported Supported Supported Supported Supported
Configure a primary/secondary switchover / Switch node roles Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4 (discontinued)
Create a standalone instance Supported Supported
Change instance configurations Supported Supported
Enable or disable release protection Supported Supported
Specify a maintenance window Supported Supported
Configure database parameters Supported Supported
Restart an instance, component, or node Supported Supported
Supported Supported
Recycle bin Not supported Not supported
Update the minor version / Upgrade the major version Not supported Not supported
Migrate to a different zone / Switch node roles Not supported Not supported

Event management

View, manage, and subscribe to scheduled events and event notifications. Not supported for MongoDB 3.4.

Replica set instance

Feature

MongoDB 8.0

MongoDB 7.0

MongoDB 6.0

MongoDB 5.0

MongoDB 4.4

MongoDB 4.2

MongoDB 4.0

MongoDB 3.4

Dedicated cloud disk edition

General-purpose local disk edition

Dedicated local disk edition

Dedicated physical server

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

支持

Enable audit log

支持

支持

支持

支持

支持

支持

支持

支持

支持

Configure Secure Sockets Layer (SSL) encryption

支持

支持

支持

支持

支持

支持

支持

支持

支持

Configure transparent data encryption (TDE)

不支持

不支持

不支持

不支持

不支持

不支持

支持

支持

不支持

Disk encryption

支持

支持

支持

支持

支持

支持

不支持

不支持

不支持

Standalone instance

Feature 4.0 3.4 (discontinued)
View and manage scheduled events / Subscribe to event notifications / Query historical events Supported Not supported

Tag management

Create, bind, filter by, and remove tags for organizing instances. Supported across all versions and architectures.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Create tags / Add existing tags / Use tags to filter instances / Remove or delete tags Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Create tags / Add existing tags / Use tags to filter instances / Remove or delete tags Supported Supported

Serverless instance

Feature

MongoDB 4.2

支持

Account management

Manage database accounts through Data Management (DMS) or the mongo shell, and reset passwords. Supported across all versions and architectures.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Use DMS to manage database accounts Supported Supported Supported Supported Supported Supported Supported Supported
Use the mongo shell to manage database accounts / Reset the password Supported Supported Supported Supported Supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Use DMS to manage database accounts Supported Supported Supported Supported Supported Supported Supported Supported
Use the mongo shell to manage database accounts / Reset the password Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Use DMS to manage database accounts Supported Supported
Use the mongo shell to manage database accounts / Reset the password Supported Supported

Connection management

Manage public and private endpoints, modify connection settings, and switch between classic network and VPC. Classic network features are available only for MongoDB 4.2 and earlier (local disk instances).

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Apply for a public endpoint / Release a public endpoint Supported Supported Supported Supported Supported Supported Supported Supported
Modify the endpoint and port Supported Supported Supported Supported Supported Supported Supported Supported
Switch from classic network to VPC / Configure hybrid access Not supported Not supported Not supported Not supported Not supported Supported Supported Supported
Change the retention period of classic network internal endpoints Supported Supported Supported Supported Supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Apply for a public endpoint / Release a public endpoint (Not supported by DynamoDB-compatible instances.) Supported Supported Supported Supported Supported Supported Supported Supported
Apply for a shard or ConfigServer endpoint / Release a shard or ConfigServer endpoint (Not supported by DynamoDB-compatible instances.) Supported Supported Supported Supported Supported Supported Supported Supported
Modify the endpoint and port Supported Supported Supported Supported Supported Supported Supported Supported
Switch from classic network to VPC / Configure hybrid access Not supported Not supported Not supported Not supported Not supported Supported Supported Supported
Change the retention period of classic network internal endpoints Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Apply for a public endpoint / Release a public endpoint Supported Supported
Modify the endpoint and port Supported Supported
Switch from classic network to VPC / Configure hybrid access Not supported Not supported
Change the retention period of classic network internal endpoints Supported Supported

Backup and restoration

Configure automatic and manual backups, download backup files, and restore data. For sharded cluster instances, database-level restoration requires MongoDB 4.4 or later.

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Configure automatic backup / Configure manual backup Supported Supported Supported Supported Supported Supported Supported Supported
Download backup files Not supported Not supported Not supported Not supported Not supported Supported Supported Supported
Restore databases Supported Supported Supported Supported Supported Not supported Not supported Not supported
Restore to a new instance by point in time Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Configure automatic backup / Configure manual backup Supported Supported
Download backup files Not supported Not supported
Restore to a new instance by backup point Supported Supported

Monitoring and alerting

Monitor instance metrics, configure alert rules, and set up alert callbacks. Supported across all versions and architectures.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Configure a threshold-triggered alert rule / Create an event-triggered alert rule / Manage alert rules / View alert history / Alert callback Supported Supported Supported Supported Supported Supported Supported Supported
Delete alert rules / Disable alert rules Supported Supported Supported Supported Supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Configure a threshold-triggered alert rule / Create an event-triggered alert rule / Manage alert rules / View alert history / Alert callback Supported Supported Supported Supported Supported Supported Supported Supported
Delete alert rules / Disable alert rules Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Configure a threshold-triggered alert rule / Create an event-triggered alert rule / Manage alert rules / View alert history / Alert callback Supported Supported
Delete alert rules / Disable alert rules Supported Supported

Data security

Configure IP address whitelists, security groups, audit logs, SSL encryption, Transparent Data Encryption (TDE), and disk encryption. Disk encryption is available only for MongoDB 4.4 and later (cloud disk instances). SSL encryption is not supported for sharded cluster instances running MongoDB 4.2 and earlier. Standalone instances do not support audit logs, SSL, or TDE.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Configure an IP address whitelist / Modify a whitelist / Delete a whitelist Supported Supported Supported Supported Supported Supported Supported Supported
Add a security group / Remove a security group Supported Supported Supported Supported Supported Supported Supported Supported
Enable the audit log feature Supported Supported Supported Supported Supported Supported Supported Supported
Configure SSL encryption Supported Supported Supported Supported Supported Supported Supported Supported
Configure TDE Not supported Not supported Not supported Not supported Not supported Supported Supported Not supported
Configure disk encryption Supported Supported Supported Supported Supported Not supported Not supported Not supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Configure an IP address whitelist / Modify a whitelist / Delete a whitelist Supported Supported Supported Supported Supported Supported Supported Supported
Add a security group / Remove a security group Supported Supported Supported Supported Supported Supported Supported Supported
Enable the audit log feature Supported Supported Supported Supported Supported Supported Supported Supported
Configure SSL encryption Supported Supported Supported Supported Supported Not supported Not supported Not supported
Configure TDE Not supported Not supported Not supported Not supported Not supported Supported Supported Not supported
Configure disk encryption Supported Supported Supported Supported Supported Not supported Not supported Not supported

Standalone instance

Feature 4.0 3.4
Configure an IP address whitelist / Modify a whitelist / Delete a whitelist Supported Supported
Add a security group / Remove a security group Supported Supported
Enable the audit log feature / Configure SSL encryption / Configure TDE Not supported Not supported

Log management

View slow query logs, operational logs, and error logs. Not available for standalone instances.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
View slow query logs / View operational logs / View error logs Supported Supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
View slow query logs / View operational logs / View error logs Not supported Not supported

CloudDBA

Use CloudDBA for performance diagnostics: performance trends, real-time monitoring, instance sessions, slow query analysis, and storage analysis. Standalone instances support only performance trends. Storage analysis is not available for MongoDB 3.4.

Standalone instance

Feature 4.0 3.4
Performance trends Supported Supported
Real-time performance / Instance sessions Not supported Not supported
Storage analysis / Slow query logs Not supported Not supported

Data migration

Migrate data from self-managed databases, third-party cloud services (MongoDB Atlas, Amazon DynamoDB), or between ApsaraDB for MongoDB instances. Migration to self-managed databases is available only for MongoDB 4.2 and earlier (local disk instances) on replica set instances and is not supported for sharded cluster instances. Cross-account migration for sharded clusters is available only for MongoDB 4.0.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Migrate from an ECS-hosted self-managed database Supported Supported Supported Supported Supported Supported Supported Supported
Migrate from a self-managed replica set database by using Data Transmission Service (DTS) Supported Supported Supported Supported Supported Supported Supported Supported
Migrate using mongodump and mongorestore Supported Supported Supported Supported Supported Supported Supported Supported
Migrate from third-party cloud: MongoDB Atlas (mongodump/mongorestore) / MongoDB Atlas (DTS) / Amazon DynamoDB (NimoShake) Supported Supported Supported Supported Supported Supported Supported Supported
Migrate from a standalone instance to a replica set or sharded cluster instance Not supported Not supported Not supported Not supported Not supported Not supported Supported Supported
Between ApsaraDB for MongoDB instances: Replica set to sharded cluster / Cross-account / Cross-region Supported Supported Supported Supported Supported Supported Supported Supported
Migrate to a self-managed database: Logical backup / Physical backup Not supported Not supported Not supported Not supported Not supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Migrate from self-managed databases by using DTS: ECS-hosted sharded cluster / Self-managed sharded cluster Supported Supported Supported Supported Supported Supported Supported Supported
Migrate using mongodump and mongorestore Supported Supported Supported Supported Supported Supported Supported Supported
Migrate from third-party cloud: MongoDB Atlas (mongodump/mongorestore) / MongoDB Atlas (DTS) / Amazon DynamoDB (NimoShake) Supported Supported Supported Supported Supported Supported Supported Supported
Cross-account migration Not supported Not supported Not supported Not supported Not supported Not supported Supported Not supported
Cross-region migration Supported Supported Supported Supported Supported Supported Supported Supported
Migrate to a self-managed database: Logical backup / Physical backup Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported

Standalone instance

Feature 4.0 3.4
Migrate from self-managed databases by using DTS: ECS-hosted standalone/replica set / Self-managed standalone (DTS) Supported Supported

Migrate a database from a third-party cloud to ApsaraDB for MongoDB:

Migrate a Huawei Cloud Document Database Service (DDS) database to ApsaraDB for MongoDB using DTS

支持

支持

Migrate using mongodump and mongorestore Supported Supported
Between ApsaraDB for MongoDB instances: Standalone to replica set/sharded cluster / Cross-account / Cross-region Supported Supported
Migrate to a self-managed database: Logical backup / Physical backup Not supported Not supported

Serverless instances

Feature

MongoDB 4.2

Migrate a self-managed database to ApsaraDB for MongoDB using DTS.

不支持

Migrate a self-managed database to ApsaraDB for MongoDB using MongoDB tools.

不支持

Migrate a database from a third-party cloud to ApsaraDB for MongoDB.

不支持

Migrate data between ApsaraDB for MongoDB instances:

Migrate data from a replica set instance to a sharded cluster instance

支持

Migrate data from an ApsaraDB for MongoDB instance to a self-managed MongoDB database.

不支持

Data synchronization

Synchronize data between ApsaraDB for MongoDB instances by using Data Transmission Service (DTS) or MongoShake. MongoShake one-way synchronization is not available for MongoDB 8.0 and 7.0. Standalone instances do not support data synchronization.

Replica set instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Synchronize data by using DTS Supported Supported Supported Supported Supported Supported Supported Supported
One-way synchronization by using MongoShake Not supported Not supported Supported Supported Supported Supported Supported Supported

Sharded cluster instance

Feature 8.0 7.0 6.0 5.0 4.4 4.2 4.0 3.4
Synchronize data by using DTS Supported Supported Supported Supported Supported Supported Supported Supported
One-way synchronization by using MongoShake Not supported Not supported Supported Supported Supported Supported Supported Supported

Standalone instance

Feature 4.0 3.4
Data synchronization by using DTS / One-way synchronization by using MongoShake Not supported Not supported