This topic describes the instance types of sharded cluster instances in ApsaraDB for MongoDB.
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.
Instances that use cloud disks
The following database engine versions are supported:
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
MongoDB 4.2
Node type | Instance category | Specifications | Instance type | Maximum connections | Maximum IOPS | Maximum I/O throughput (MB/s) | Storage capacity |
Mongos | Dedicated instance that uses cloud disks | 2 cores, 8 GB memory | mdb.shard.4x.large.d | 3000 | N/A | N/A | N/A |
2 cores, 16 GB memory | mdb.shard.8x.large.d | 5000 | |||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 3000 | |||||
4 cores, 16 GB memory | mdb.shard.4x.xlarge.d | 5000 | |||||
4 cores, 32 GB memory | mdb.shard.8x.xlarge.d | 8000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.d | 5000 | |||||
8 cores, 32 GB memory | mdb.shard.4x.2xlarge.d | 8000 | |||||
8 cores, 64 GB memory | mdb.shard.8x.2xlarge.d | 16000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.d | 8000 | |||||
16 cores, 64 GB memory | mdb.shard.4x.4xlarge.d | 16000 | |||||
16 cores, 128 GB memory | mdb.shard.8x.4xlarge.d | ||||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.d | ||||||
32 cores, 128 GB memory | mdb.shard.4x.8xlarge.d | ||||||
32 cores, 256 GB memory | mdb.shard.8x.8xlarge.d | ||||||
Shard | Dedicated instance that uses cloud disks | 2 cores, 8 GB memory | mdb.shard.4x.large.d | 3000 | 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 | 5000 | |||||
4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 3000 | 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 | 5000 | |||||
4 cores, 32 GB memory | mdb.shard.8x.xlarge.d | 8000 | |||||
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.d | 5000 | 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 | 8000 | |||||
8 cores, 64 GB memory | mdb.shard.8x.2xlarge.d | 16000 | |||||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.d | 8000 | 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 | 16000 | |||||
16 cores, 128 GB memory | mdb.shard.8x.4xlarge.d | ||||||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.d | 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 | ||||||
32 cores, 256 GB memory | mdb.shard.8x.8xlarge.d | ||||||
64 cores, 128 GB memory | mdb.shard.2x.16xlarge.d | 64000 | 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 | ||||||
64 cores, 512 GB memory | mdb.shard.8x.16xlarge.d | ||||||
ConfigServer | Dedicated instance that uses cloud disks | 4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 3000 | min{1,800 + 50 × Storage capacity, 20,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 connections | Maximum IOPS | Storage capacity |
Mongos | General-purpose instance that uses local disks | 1 core, 2 GB memory | dds.mongos.mid | 1000 | N/A | N/A |
2 cores, 4 GB memory | dds.mongos.standard | 2000 | ||||
4 cores, 8 GB memory | dds.mongos.large | 4000 | ||||
8 cores, 16 GB memory | dds.mongos.xlarge | 8000 | ||||
8 cores, 32 GB memory | dds.mongos.2xlarge | 16000 | ||||
16 cores, 64 GB memory | dds.mongos.4xlarge | |||||
Shard | General-purpose instance that uses 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 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 | 9000 | 10 GB to 500 GB (a multiple of 10) | |||
8 cores, 64 GB memory | dds.shard.sn8.4xlarge.3 | 18000 | 10 GB to 1,000 GB (a multiple of 10) | |||
16 cores, 128 GB memory | dds.shard.sn8.8xlarge.3 | 16000 | 36000 | 10 GB to 2,000 GB (a multiple of 10) | ||
32 cores, 256 GB memory | dds.shard.sn8.16xlarge.3 | 32000 | 72000 | 10 GB to 3,000 GB (a multiple of 10) | ||
ConfigServer | General-purpose instance that uses 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.
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.