ApsaraDB for MongoDB replica set instances are available in three storage types: Cloud Disk, Local Disk, and Dedicated Physical Server. Use this page to select the instance type that matches your CPU, memory, connection, IOPS, and storage requirements.
A single collection file cannot exceed 16 TB. Exceeding this limit makes the instance unavailable.
Note
The memory listed for each instance type is the total allocated memory, including memory used by MongoDB management services, database services, the operating system, BIOS, kernel, and hypervisor. Available memory is less than the listed amount.
Some instance types were upgraded on May 14, 2024. If the maximum connections for your instance do not match the values on this page, restart the instance to apply the updated limits. For details, see Notification: Upgrade to maximum connections for some ApsaraDB for MongoDB instance types.
Cloud Disk version
Supported MongoDB versions: 8.0, 7.0, 6.0, 5.0, and 4.4.
For the maximum IOPS and throughput of each disk type, see ESSD disks and ESSD AutoPL disks.
All Cloud Disk instance types support the following disk types and storage ranges:
| Disk type | Storage range | Step size |
|---|---|---|
| PL1 ESSD | 20 GB to 16,000 GB | 10 GB |
| PL2 ESSD | 470 GB to 16,000 GB | 10 GB |
| PL3 ESSD | 1,270 GB to 16,000 GB | 10 GB |
| ESSD AutoPL disk | 40 GB to 16,000 GB | 10 GB |
In the tables below, S = storage space in GB, and "disk max" = the maximum IOPS or throughput of the selected disk type.
Dedicated disk version
| Specifications (per node) | Instance type code | Maximum connections | Maximum IOPS | Maximum throughput (MB/s) |
|---|---|---|---|---|
| 2-core 8 GB | mdb.shard.4x.large.d | 5,000 | min{1800 + 50 × S, 10000, disk max} | min{120 + 0.5 × S, 128, disk max} |
| 2-core 16 GB | mdb.shard.8x.large.d | 8,000 | min{1800 + 50 × S, 10000, disk max} | min{120 + 0.5 × S, 128, disk max} |
| 4-core 8 GB | mdb.shard.2x.xlarge.d | 8,000 | min{1800 + 50 × S, 20000, disk max} | min{120 + 0.5 × S, 192, disk max} |
| 4-core 16 GB | mdb.shard.4x.xlarge.d | 8,000 | min{1800 + 50 × S, 20000, disk max} | min{120 + 0.5 × S, 192, disk max} |
| 4-core 32 GB | mdb.shard.8x.xlarge.d | 12,000 | min{1800 + 50 × S, 20000, disk max} | min{120 + 0.5 × S, 192, disk max} |
| 8-core 16 GB | mdb.shard.2x.2xlarge.d | 12,000 | min{1800 + 50 × S, 25000, disk max} | min{120 + 0.5 × S, 256, disk max} |
| 8-core 32 GB | mdb.shard.4x.2xlarge.d | 16,000 | min{1800 + 50 × S, 25000, disk max} | min{120 + 0.5 × S, 256, disk max} |
| 8-core 64 GB | mdb.shard.8x.2xlarge.d | 16,000 | min{1800 + 50 × S, 25000, disk max} | min{120 + 0.5 × S, 256, disk max} |
| 16-core 32 GB | mdb.shard.2x.4xlarge.d | 16,000 | min{1800 + 50 × S, 40000, disk max} | min{120 + 0.5 × S, 384, disk max} |
| 16-core 64 GB | mdb.shard.4x.4xlarge.d | 32,000 | min{1800 + 50 × S, 40000, disk max} | min{120 + 0.5 × S, 384, disk max} |
| 16-core 128 GB | mdb.shard.8x.4xlarge.d | 32,000 | min{1800 + 50 × S, 40000, disk max} | min{120 + 0.5 × S, 384, disk max} |
| 32-core 64 GB | mdb.shard.2x.8xlarge.d | 32,000 | min{1800 + 50 × S, 60000, disk max} | min{120 + 0.5 × S, 640, disk max} |
| 32-core 128 GB | mdb.shard.4x.8xlarge.d | 96,000 | min{1800 + 50 × S, 60000, disk max} | min{120 + 0.5 × S, 640, disk max} |
| 32-core 256 GB | mdb.shard.8x.8xlarge.d | 96,000 | min{1800 + 50 × S, 60000, disk max} | min{120 + 0.5 × S, 640, disk max} |
| 64-core 128 GB | mdb.shard.2x.16xlarge.d | 96,000 | min{1800 + 50 × S, 300000, disk max} | min{120 + 0.5 × S, 2048, disk max} |
| 64-core 256 GB | mdb.shard.4x.16xlarge.d | 128,000 | min{1800 + 50 × S, 300000, disk max} | min{120 + 0.5 × S, 2048, disk max} |
| 64-core 512 GB | mdb.shard.8x.16xlarge.d | 128,000 | min{1800 + 50 × S, 300000, disk max} | min{120 + 0.5 × S, 2048, disk max} |
The 64-core 128 GB, 64-core 256 GB, and 64-core 512 GB instance types are available only in Zones A, B, and C of the Singapore region.
General-purpose disk version
| Specifications (per node) | Instance type code | Maximum connections | Maximum IOPS | Maximum throughput (MB/s) |
|---|---|---|---|---|
| 2-core 4 GB | mdb.shard.2x.large.c | 3,000 | min{1800 + 50 × S, 10500, disk max} | min{120 + 0.5 × S, 128, disk max} |
| 2-core 8 GB | mdb.shard.4x.large.c | 3,000 | min{1800 + 50 × S, 10500, disk max} | min{120 + 0.5 × S, 128, disk max} |
| 4-core 8 GB | mdb.shard.2x.xlarge.c | 6,000 | min{1800 + 50 × S, 21000, disk max} | min{120 + 0.5 × S, 192, disk max} |
| 4-core 16 GB | mdb.shard.4x.xlarge.c | 6,000 | min{1800 + 50 × S, 21000, disk max} | min{120 + 0.5 × S, 192, disk max} |
| 8-core 16 GB | mdb.shard.2x.2xlarge.c | 12,000 | min{1800 + 50 × S, 26250, disk max} | min{120 + 0.5 × S, 256, disk max} |
| 8-core 32 GB | mdb.shard.4x.2xlarge.c | 16,000 | min{1800 + 50 × S, 26250, disk max} | min{120 + 0.5 × S, 256, disk max} |
| 16-core 32 GB | mdb.shard.2x.4xlarge.c | 16,000 | min{1800 + 50 × S, 42000, disk max} | min{120 + 0.5 × S, 384, disk max} |
| 16-core 64 GB | mdb.shard.4x.4xlarge.c | 32,000 | min{1800 + 50 × S, 42000, disk max} | min{120 + 0.5 × S, 384, disk max} |
| 32-core 64 GB | mdb.shard.2x.8xlarge.c | 32,000 | min{1800 + 50 × S, 50000, disk max} | min{120 + 0.5 × S, 640, disk max} |
Availability
General-purpose disk version is available in the following regions and zones:
| Region | Zones |
|---|---|
| China (Hangzhou) | Zone J |
| China (Shanghai) | Zones B, L, and N |
| China (Beijing) | Zones H and K |
| China (Shenzhen) | Zone D |
| China (Hong Kong) | Zones B and C |
| Singapore | Zone A |
| US (Silicon Valley) | Zones A and B |
| US (Virginia) | Zones A and B |
Constraints
General-purpose disk version does not support disk encryption.
General-purpose disk version is not available in all regions. If the instance types are not visible in the console for your target region, submit a ticket to request access.
For multi-zone deployments, confirm that the destination region supports the selected instance type before creating the instance.
Local disk version
Supported MongoDB versions: 4.2 and 4.0. MongoDB 3.4 has been discontinued.
General-purpose local disk version
Storage space: 10 GB to 2,000 GB, in increments of 10 GB.
| Specifications (per node) | Instance type code | Maximum connections | Maximum IOPS |
|---|---|---|---|
| 1-core 2 GB | dds.mongo.mid | 1,000 | 8,000 |
| 2-core 4 GB | dds.mongo.standard | 3,000 | 8,000 |
| 4-core 8 GB | dds.mongo.large | 6,000 | 8,000 |
| 8-core 16 GB | dds.mongo.xlarge | 9,000 | 8,000 |
| 8-core 32 GB | dds.mongo.2xlarge | 16,000 | 14,000 |
| 16-core 64 GB | dds.mongo.4xlarge | 32,000 | 16,000 |
Dedicated local disk version
Storage space: 10 GB to 3,000 GB, in increments of 10 GB.
| Specifications (per node) | Instance type code | Maximum connections | Maximum IOPS |
|---|---|---|---|
| 2-core 16 GB | mongo.x8.medium | 8,000 | 8,000 |
| 4-core 32 GB | mongo.x8.large | 8,000 | 9,000 |
| 8-core 64 GB | mongo.x8.xlarge | 16,000 | 18,000 |
| 16-core 128 GB | mongo.x8.2xlarge | 32,000 | 36,000 |
| 32-core 256 GB | mongo.x8.4xlarge | 64,000 | 72,000 |
Dedicated physical server
Storage space: 2,000 GB to 6,000 GB, in increments of 10 GB.
| Specifications (per node) | Instance type code | Maximum connections | Maximum IOPS |
|---|---|---|---|
| 60-core 440 GB | dds.mongo.2xmonopolize | 100,000 | 100,000 |
| 90-core 660 GB | dds.mongo.3xmonopolize | 100,000 | 100,000 |