This topic describes the instance types of ApsaraDB for MongoDB sharded cluster instances.
The supported memory capacity includes the memory that is occupied by the management services in ApsaraDB for MongoDB, the database service, and the underlying operating system (such as the BIOS, the kernel of the operating system, and the hypervisor). Therefore, the available memory may be less than the memory capacity that is supported by the instance type.
Some instance types were upgraded on May 14, 2024. If the maximum number of connections to your instance is different from that described in this topic, you can restart the instance. For more information, see [Notice] The maximum number of connections to ApsaraDB for MongoDB instances of specific specifications is increased.
Instances that use cloud disks
The following database engine versions are supported:
MongoDB 7.0
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
Node type | Instance category | Specifications | Instance type | Maximum number of connections | Maximum IOPS | Maximum I/O throughput (MB/s) | Storage capacity (GB) |
Mongos | Dedicated instance that uses cloud disks | 2 cores, 8 GB memory | mdb.shard.4x.large.d | 5000 | N/A | N/A | N/A |
2 cores, 16 GB memory | mdb.shard.8x.large.d | 8000 | |||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 8000 | |||||
4 cores, 16 GB memory | mdb.shard.4x.xlarge.d | 8000 | |||||
4 cores, 32 GB memory | mdb.shard.8x.xlarge.d | 12000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.d | 12000 | |||||
8 cores, 32 GB memory | mdb.shard.4x.2xlarge.d | 16000 | |||||
8 cores, 64 GB memory | mdb.shard.8x.2xlarge.d | 16000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.d | 16000 | |||||
16 cores, 64 GB memory | mdb.shard.4x.4xlarge.d | 32000 | |||||
16 cores, 128 GB memory | mdb.shard.8x.4xlarge.d | 32000 | |||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.d | 32000 | |||||
32 cores, 128 GB memory | mdb.shard.4x.8xlarge.d | 96000 | |||||
32 cores, 256 GB memory | mdb.shard.8x.8xlarge.d | 96000 | |||||
General-purpose instance that uses cloud disks | 2 cores, 4 GB memory | mdb.shard.2x.large.c | 3000 | ||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.c | 6000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.c | 12000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.c | 16000 | |||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.c | 32000 | |||||
Shard | Dedicated instance that uses cloud disks | 2 cores, 8 GB memory | mdb.shard.4x.large.d | 5000 | min{1,800 + 50 × Storage capacity, 10,000} | min{120 + 0.5 × Storage capacity, 128} |
|
2 cores, 16 GB memory | mdb.shard.8x.large.d | 8000 | |||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 8000 | min{1,800 + 50 × Storage capacity, 20,000} | min{120 + 0.5 × Storage capacity, 192} | |||
4 cores, 16 GB memory | mdb.shard.4x.xlarge.d | 8000 | |||||
4 cores, 32 GB memory | mdb.shard.8x.xlarge.d | 12000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.d | 12000 | min{1,800 + 50 × Storage capacity, 25,000} | min{120 + 0.5 × Storage capacity, 256} | |||
8 cores, 32 GB memory | mdb.shard.4x.2xlarge.d | 16000 | |||||
8 cores, 64 GB memory | mdb.shard.8x.2xlarge.d | 16000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.d | 16000 | min{1,800 + 50 × Storage capacity, 40,000} | min{120 + 0.5 × Storage capacity, 384} | |||
16 cores, 64 GB memory | mdb.shard.4x.4xlarge.d | 32000 | |||||
16 cores, 128 GB memory | mdb.shard.8x.4xlarge.d | 32000 | |||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.d | 32000 | min{1,800 + 50 × Storage capacity, 60,000} | min{120 + 0.5 × Storage capacity, 640} | |||
32 cores, 128 GB memory | mdb.shard.4x.8xlarge.d | 96000 | |||||
32 cores, 256 GB memory | mdb.shard.8x.8xlarge.d | 96000 | |||||
64 cores, 128 GB memory | mdb.shard.2x.16xlarge.d | 96000 | min{1,800 + 50 × Storage capacity, 300,000} | min{120 + 0.5 × Storage capacity, 2,048} | |||
64 cores, 256 GB memory | mdb.shard.4x.16xlarge.d | 128000 | |||||
64 cores, 512 GB memory | mdb.shard.8x.16xlarge.d | 128000 | |||||
General-purpose instance that uses cloud disks | 2 cores, 4 GB memory | mdb.shard.2x.large.c | 3000 | min{1800 + 50 × Storage capacity, 10,500} | min{120 + 0.5 × Storage capacity, 128} | ||
2 cores, 8 GB memory | mdb.shard.4x.large.c | 3000 | |||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.c | 6000 | min{1800 + 50 × Storage capacity, 21,000} | min{120 + 0.5 × Storage capacity, 192} | |||
4 cores, 16 GB memory | mdb.shard.4x.xlarge.c | 6000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.c | 12000 | min{1800 + 50 × Storage capacity, 26,250} | min{120 + 0.5 × Storage capacity, 256} | |||
8 cores, 32 GB memory | mdb.shard.4x.2xlarge.c | 16000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.c | 16000 | min{1800 + 50 × Storage capacity, 42,000} | min{120 + 0.5 × Storage capacity, 384} | |||
16 cores, 64 GB memory | mdb.shard.4x.4xlarge.c | 32000 | |||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.c | 32000 | min{1800 + 50 × Storage capacity, 50,000} | min{120 + 0.5 × Storage capacity, 640} | |||
ConfigServer | Dedicated instance that uses cloud disks | 4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 8000 | min{1,800 + 50 × Storage capacity, 20,000} | min{120 + 0.5 × Storage capacity, 192} |
|
General-purpose instance that uses cloud disks | 2 cores, 4 GB memory | mdb.shard.2x.large.c | 3000 | min{1800 + 50 × Storage capacity, 10,500} | min{120 + 0.5 × Storage capacity, 128} | ||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.c | 6000 | min{1800 + 50 × Storage capacity, 21,000} | min{120 + 0.5 × Storage capacity, 192} |
Instances that use local disks
The following database engine versions are supported:
MongoDB 4.2
MongoDB 4.0
MongoDB 3.4
Node type | Instance category | Specifications | Instance type | Maximum number of connections | Maximum IOPS | Storage capacity (GB) |
Mongos | General-purpose local disk instance | 1 core, 2 GB memory | dds.mongos.mid | 1000 | N/A | N/A |
2 cores, 4 GB memory | dds.mongos.standard | 3000 | ||||
4 cores, 8 GB memory | dds.mongos.large | 6000 | ||||
8 cores, 16 GB memory | dds.mongos.xlarge | 9000 | ||||
8 cores, 32 GB memory | dds.mongos.2xlarge | 16000 | ||||
16 cores, 64 GB memory | dds.mongos.4xlarge | 32000 | ||||
Shard | General-purpose local disk instance | 1 core, 2 GB memory | dds.shard.mid | 8000 | 8000 | 10 GB to 2,000 GB (a multiple of 10) |
2 cores, 4 GB memory | dds.shard.standard | |||||
4 cores, 8 GB memory | dds.shard.large | |||||
8 cores, 16 GB memory | dds.shard.xlarge | |||||
8 cores, 32 GB memory | dds.shard.2xlarge | 16000 | 14000 | |||
16 cores, 64 GB memory | dds.shard.4xlarge | 32000 | 16000 | |||
Dedicated instance that uses local disks | 2 cores, 16 GB memory | dds.shard.sn8.xlarge.3 | 8000 | 8000 | 10 GB to 250 GB (a multiple of 10) | |
4 cores, 32 GB memory | dds.shard.sn8.2xlarge.3 | 8000 | 9000 | 10 GB to 500 GB (a multiple of 10) | ||
8 cores, 64 GB memory | dds.shard.sn8.4xlarge.3 | 16000 | 18000 | 10 GB to 1,000 GB (a multiple of 10) | ||
16 cores, 128 GB memory | dds.shard.sn8.8xlarge.3 | 32000 | 36000 | 10 GB to 2,000 GB (a multiple of 10) | ||
32 cores, 256 GB memory | dds.shard.sn8.16xlarge.3 | 64000 | 72000 | 10 GB to 3,000 GB (a multiple of 10) | ||
ConfigServer | General-purpose local disk instance | 1 core, 2 GB memory | dds.cs.mid | 8000 | 8000 | 20 GB to 1,270 GB (a multiple of 10) |
For more information about how to select a storage capacity based on the IOPS, see Maximum IOPS for standard SSDs and ESSDs.
Shard nodes of the dedicated instance category that use cloud disks and adopt the following specifications can be deployed only in Singapore Zone A, Zone B, and Zone C: 64 CPU cores and 128 GB of memory, 64 CPU cores and 256 GB of memory, and 64 CPU cores and 512 GB of memory.
The storage capacity of a shard node is the storage capacity of each node. For example, if the storage capacity of a shard node is 20 GB, each primary or secondary node has a storage capacity of 20 GB.
General-purpose instances that use cloud disks can be deployed only in the following regions and zones:
China (Hangzhou): Zone K.
China (Shanghai): Zone L and Zone N.
China (Beijing): Zone H and Zone K.
China (Shenzhen): Zone D.
China (Hong Kong): Zone B and Zone C.
Singapore: Zone A.