This topic describes the instance types available for ApsaraDB for MongoDB sharded cluster instances.
The memory of an instance type includes the memory used by MongoDB management services, database services, and the underlying operating system, such as BIOS-reserved memory, kernel memory, and hypervisor memory. Therefore, the available memory is less than the memory specified for the instance type.
Some instance types received a connection limit upgrade on May 14, 2024. If your instance's maximum connections do not match this document, restart the instance to apply the upgrade. See Upgrades notice for details.
A single collection cannot exceed 16 TB. Exceeding this limit will cause the instance to become unavailable.
Disk-based instances
The following database versions are supported:
MongoDB 8.0
MongoDB 7.0
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
For information about the maximum IOPS and throughput of different disk types, see ESSDs and ESSD AutoPL disks.
Node type | Instance type category | Specifications | Instance type code | Maximum connections | Maximum IOPS | Maximum throughput (MB/s) | Storage capacity |
Mongos | Dedicated disk-based | 2-core 8 GB | mdb.shard.4x.large.d | 5000 | N/A | N/A | N/A |
2-core 16 GB | mdb.shard.8x.large.d | 8000 | |||||
4-core 8 GB | mdb.shard.2x.xlarge.d | 8000 | |||||
4-core 16 GB | mdb.shard.4x.xlarge.d | 8000 | |||||
4-core 32 GB | mdb.shard.8x.xlarge.d | 12000 | |||||
8-core 16 GB | mdb.shard.2x.2xlarge.d | 12000 | |||||
8-core 32 GB | mdb.shard.4x.2xlarge.d | 16000 | |||||
8-core 64 GB | mdb.shard.8x.2xlarge.d | 16000 | |||||
16-core 32 GB | mdb.shard.2x.4xlarge.d | 16000 | |||||
16-core 64 GB | mdb.shard.4x.4xlarge.d | 32000 | |||||
16-core 128 GB | mdb.shard.8x.4xlarge.d | 32000 | |||||
32-core 64 GB | mdb.shard.2x.8xlarge.d | 32000 | |||||
32-core 128 GB | mdb.shard.4x.8xlarge.d | 96000 | |||||
32-core 256 GB | mdb.shard.8x.8xlarge.d | 96000 | |||||
General-purpose disk-based | 2-core 4 GB | mdb.shard.2x.large.c | 3000 | ||||
4-core 8 GB | mdb.shard.2x.xlarge.c | 6000 | |||||
8-core 16 GB | mdb.shard.2x.2xlarge.c | 12000 | |||||
16-core 32 GB | mdb.shard.2x.4xlarge.c | 16000 | |||||
32-core 64 GB | mdb.shard.2x.8xlarge.c | 32000 | |||||
Shard | Dedicated disk-based | 2-core 8 GB | mdb.shard.4x.large.d | 5000 | min{1800 + 50 × Storage capacity, 10000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 128, Maximum throughput of the selected disk type} |
|
2-core 16 GB | mdb.shard.8x.large.d | 8000 | |||||
4-core 8 GB | mdb.shard.2x.xlarge.d | 8000 | min{1800 + 50 × Storage capacity, 20000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 192, Maximum throughput of the selected disk type} | |||
4-core 16 GB | mdb.shard.4x.xlarge.d | 8000 | |||||
4-core 32 GB | mdb.shard.8x.xlarge.d | 12000 | |||||
8-core 16 GB | mdb.shard.2x.2xlarge.d | 12000 | min{1800 + 50 × Storage capacity, 25000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 256, Maximum throughput of the selected disk type} | |||
8-core 32 GB | mdb.shard.4x.2xlarge.d | 16000 | |||||
8-core 64 GB | mdb.shard.8x.2xlarge.d | 16000 | |||||
16-core 32 GB | mdb.shard.2x.4xlarge.d | 16000 | min{1800 + 50 × Storage capacity, 40000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 384, Maximum throughput of the selected disk type} | |||
16-core 64 GB | mdb.shard.4x.4xlarge.d | 32000 | |||||
16-core 128 GB | mdb.shard.8x.4xlarge.d | 32000 | |||||
32-core 64 GB | mdb.shard.2x.8xlarge.d | 32000 | min{1800 + 50 × Storage capacity, 60000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 640, Maximum throughput of the selected disk type} | |||
32-core 128 GB | mdb.shard.4x.8xlarge.d | 96000 | |||||
32-core 256 GB | mdb.shard.8x.8xlarge.d | 96000 | |||||
64-core 128 GB | mdb.shard.2x.16xlarge.d | 96000 | min{1800 + 50 × Storage capacity, 300000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 2048, Maximum throughput of the selected disk type} | |||
64-core 256 GB | mdb.shard.4x.16xlarge.d | 128000 | |||||
64-core 512 GB | mdb.shard.8x.16xlarge.d | 128000 | |||||
General-purpose disk-based | 2-core 4 GB | mdb.shard.2x.large.c | 3000 | min{1800 + 50 × Storage capacity, 10500, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 128, Maximum throughput of the selected disk type} | ||
2-core 8 GB | mdb.shard.4x.large.c | 3000 | |||||
4-core 8 GB | mdb.shard.2x.xlarge.c | 6000 | min{1800 + 50 × Storage capacity, 21000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 192, Maximum throughput of the selected disk type} | |||
4-core 16 GB | mdb.shard.4x.xlarge.c | 6000 | |||||
8-core 16 GB | mdb.shard.2x.2xlarge.c | 12000 | min{1800 + 50 × Storage capacity, 26250, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 256, Maximum throughput of the selected disk type} | |||
8-core 32 GB | mdb.shard.4x.2xlarge.c | 16000 | |||||
16-core 32 GB | mdb.shard.2x.4xlarge.c | 16000 | min{1800 + 50 × Storage capacity, 42000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 384, Maximum throughput of the selected disk type} | |||
16-core 64 GB | mdb.shard.4x.4xlarge.c | 32000 | |||||
32-core 64 GB | mdb.shard.2x.8xlarge.c | 32000 | min{1800 + 50 × Storage capacity, 50000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 640, Maximum throughput of the selected disk type} | |||
ConfigServer | Dedicated disk-based | 4-core 8 GB | mdb.shard.2x.xlarge.d | 8000 | min{1800 + 50 × Storage capacity, 20000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 192, Maximum throughput of the selected disk type} |
|
General-purpose disk-based | 2-core 4 GB | mdb.shard.2x.large.c | 3000 | min{1800 + 50 × Storage capacity, 10500, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 128, Maximum throughput of the selected disk type} | ||
4-core 8 GB | mdb.shard.2x.xlarge.c | 6000 | min{1800 + 50 × Storage capacity, 21000, Maximum IOPS of the selected disk type} | min{120 + 0.5 × Storage capacity, 192, Maximum throughput of the selected disk type} |
The 64-core 128 GB, 64-core 256 GB, and 64-core 512 GB dedicated disk-based instance types for shard nodes are available only in Zones A, B, and C of the Singapore region.
General-purpose disk-based instances are available in the following regions and zones:
China (Hangzhou): Zones 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.
If you select multi-zone deployment when you create an instance, confirm that the destination region supports the selected instance type.
General-purpose disk-based instance types do not support disk encryption.
General-purpose disk-based instances have limited availability. If you cannot find the corresponding instance types in the console for a specific region, you can submit a ticket to request access.
Local disk-based instances
The following database versions are supported:
MongoDB 4.2
MongoDB 4.0
MongoDB 3.4 (Discontinued)
Node type | Instance type category | Specifications | Instance type code | Maximum connections | Maximum IOPS | Storage capacity |
Mongos | General-purpose local disk-based | 1-core 2 GB | dds.mongos.mid | 1000 | N/A | N/A |
2-core 4 GB | dds.mongos.standard | 3000 | ||||
4-core 8 GB | dds.mongos.large | 6000 | ||||
8-core 16 GB | dds.mongos.xlarge | 9000 | ||||
8-core 32 GB | dds.mongos.2xlarge | 16000 | ||||
16-core 64 GB | dds.mongos.4xlarge | 32000 | ||||
Shard | General-purpose local disk-based | 1-core 2 GB | dds.shard.mid | 8000 | 8000 | 10 GB to 2000 GB. The step size is 10 GB. |
2-core 4 GB | dds.shard.standard | |||||
4-core 8 GB | dds.shard.large | |||||
8-core 16 GB | dds.shard.xlarge | |||||
8-core 32 GB | dds.shard.2xlarge | 16000 | 14000 | |||
16-core 64 GB | dds.shard.4xlarge | 32000 | 16000 | |||
Dedicated local disk-based | 2-core 16 GB | dds.shard.sn8.xlarge.3 | 8000 | 8000 | 10 GB to 250 GB. The step size is 10 GB. | |
4-core 32 GB | dds.shard.sn8.2xlarge.3 | 8000 | 9000 | 10 GB to 500 GB. The step size is 10 GB. | ||
8-core 64 GB | dds.shard.sn8.4xlarge.3 | 16000 | 18000 | 10 GB to 1000 GB. The step size is 10 GB. | ||
16-core 128 GB | dds.shard.sn8.8xlarge.3 | 32000 | 36000 | 10 GB to 2000 GB. The step size is 10 GB. | ||
32-core 256 GB | dds.shard.sn8.16xlarge.3 | 64000 | 72000 | 10 GB to 3000 GB. The step size is 10 GB. | ||
ConfigServer | General-purpose local disk-based | 1-core 2 GB | dds.cs.mid | 8000 | 8000 | 20 GB to 1270 GB. The step size is 10 GB. |
For more information about how to select storage capacity based on IOPS, see Select storage capacity based on IOPS.
The storage capacity of a shard is the capacity of each individual node in the shard. For example, if a shard has a storage capacity of 20 GB, each primary and secondary node in that shard has 20 GB of storage.