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] Increase in the maximum connections to instances of specific specifications.
Instances that use cloud disks
The following database engine versions are supported:
MongoDB 8.0
MongoDB 7.0
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
Note
For more information about the maximum IOPS and throughput of different disk types, see ESSDs and ESSD AutoPL disks.
Node type | Instance category | Specifications | Node type | Maximum connections | Maximum IOPS | Maximum I/O throughput (MB/s) | Storage capacity |
Mongos | Dedicated instances that use 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 instances that use 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 instances that use cloud disks | 2 cores, 8 GB memory | 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 cores, 16 GB memory | mdb.shard.8x.large.d | 8000 | |||||
4 cores, 8 GB memory | 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 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{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 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{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 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{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 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{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 cores, 256 GB memory | mdb.shard.4x.16xlarge.d | 128000 | |||||
64 cores, 512 GB memory | mdb.shard.8x.16xlarge.d | 128000 | |||||
General-purpose instances that use cloud disks | 2 cores, 4 GB memory | 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 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, 21000, maximum IOPS of the selected disk type} | min{120 + 0.5 × storage capacity, 192, maximum throughput of the selected disk type} | |||
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, 26250, maximum IOPS of the selected disk type} | min{120 + 0.5 × storage capacity, 256, maximum throughput of the selected disk type} | |||
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, 42000, maximum IOPS of the selected disk type} | min{120 + 0.5 × storage capacity, 384, maximum throughput of the selected disk type} | |||
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, 50000, maximum IOPS of the selected disk type} | min{120 + 0.5 × storage capacity, 640, maximum throughput of the selected disk type} | |||
ConfigServer | Dedicated instances that use cloud disks | 4 cores, 8 GB memory | 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 instances that use cloud disks | 2 cores, 4 GB memory | 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 cores, 8 GB memory | 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 shards 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.
You can deploy general-purpose sharded cluster instances that use cloud disks in the following regions and zones:
China (Hangzhou): Zone J.
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.
Note
If you select the multi-zone deployment mode when you create an instance, make sure that the selected instance type is supported in the specified zones.
Disk encryption is not supported by general-purpose sharded cluster instances that use cloud disks.
Instances that use local disks
The following database engine versions are supported:
MongoDB 4.2
MongoDB 4.0
MongoDB 3.4 (discontinued)
Node type | Instance category | Specifications | Node type | Maximum connections | Maximum IOPS | Storage capacity |
Mongos | General-purpose instances that use local disks | 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 instances that use local disks | 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 instances that use 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 instances that use local disks | 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.
The storage capacity of a shard component is the storage capacity of each node in the component. For example, if the storage capacity of a shard component is 20 GB, a primary or secondary node has a storage capacity of 20 GB.