This topic describes the available instance types in ApsaraDB for MongoDB.
IOPS
The IOPS of a local SSD is tied to the instance type. The IOPS of an enhanced SSD (ESSD) is proportional to the storage capacity. The Elastic Compute Service (ECS) instance type also limits the maximum IOPS. For more information, see the lists in this topic.
min{1800 + 50 × Storage capacity, 50000, ECS-limited IOPS}
Description of the values in the preceding formula:1800 + 50 × Storage capacity
: the basic calculation formula for the IOPS of the ESSD.50000
: the maximum IOPS of a single PL1 ESSD. For more information, see ESSDs.ECS-limited IOPS
: the maximum IOPS of the ECS instance type. For more information about the ECS-limited IOPS of each instance type, see the lists in this topic.
- The storage capacity of an instance is 20 GB. The result of 1800 + 50 × 20 is 2,800. Therefore, the actual IOPS of the instance is 2,800.
- If the instance type is
mdb.shard.2x.xlarge.d
, the ECS-limited IOPS is 21,000. If the storage capacity of the instance is 6,000 GB, the calculated value is 301,800, which exceeds the maximum IOPS of a single PL1 ESSD and the ECS-limited IOPS. In this case, the actual IOPS of the instance is 21,000.
Instance categories
Category | Description | Maximum number of connections guaranteed | Maximum IOPS guaranteed |
---|---|---|---|
Dedicated cloud disk instance | Occupies exclusive CPU, memory, storage media, and I/O resources. | Yes | Yes |
Dedicated host instance | Occupies exclusive CPU, memory, storage media, and I/O resources. | Yes | Yes |
Dedicated local disk instance | Occupies exclusive CPU and memory and share I/O resources with other instances on the same physical server. | Yes | No |
General-purpose instance | Occupies exclusive memory and share CPU and I/O resources with other instances on the same physical server. | Yes | No |
Current instance types
The following instance types are available for instances that were created on and after July 10, 2017 or whose configurations have been changed.
Architecture | Category | Specifications | Instance type | Maximum number of connections | Maximum IOPS | Storage capacity |
---|---|---|---|---|---|---|
Replica set instance | Dedicated cloud disk instance | 4 cores, 8 GB memory | mdb.shard.2x.xlarge.d | 3,000 | min{1800 + 50 × Storage capacity, 21000} | 20 GB to 6,000 GB |
8 cores, 16 GB memory | mdb.shard.2x.2xlarge.d | 5,000 | min{1800 + 50 × Storage capacity, 26250} | |||
16 cores, 32 GB memory | mdb.shard.2x.4xlarge.d | 8,000 | min{1800 + 50 × Storage capacity, 42000} | |||
32 cores, 64 GB memory | mdb.shard.2x.8xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 50000} | |||
2 cores, 8 GB memory | mdb.shard.4x.large.d | 3,000 | min{1800 + 50 × Storage capacity, 10500} | |||
4 cores, 16 GB memory | mdb.shard.4x.xlarge.d | 5,000 | min{1800 + 50 × Storage capacity, 21000} | |||
8 cores, 32 GB memory | mdb.shard.4x.2xlarge.d | 8,000 | min{1800 + 50 × Storage capacity, 26250} | |||
16 cores, 64 GB memory | mdb.shard.4x.4xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 42000} | |||
32 cores, 128 GB memory | mdb.shard.4x.8xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 50000} | |||
2 cores, 16 GB memory | mdb.shard.8x.large.d | 5,000 | min{1800 + 50 × Storage capacity, 10500} | |||
4 cores, 32 GB memory | mdb.shard.8x.xlarge.d | 8,000 | min{1800 + 50 × Storage capacity, 21000} | |||
8 cores, 64 GB memory | mdb.shard.8x.2xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 26250} | |||
16 cores, 128 GB memory | mdb.shard.8x.4xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 42000} | |||
32 cores, 256 GB memory | mdb.shard.8x.8xlarge.d | 16,000 | min{1800 + 50 × Storage capacity, 50000} |
Architecture | Category | Specifications | Instance type | Maximum number of connections | Maximum IOPS | Storage capacity |
---|---|---|---|---|---|---|
Replica set instance | General-purpose instance | 1 core, 2 GB memory | dds.mongo.mid | 500 | 8,000 | 10 GB to 2,000 GB |
2 cores, 4 GB memory | dds.mongo.standard | 1,000 | 8,000 | |||
4 cores, 8 GB memory | dds.mongo.large | 3,000 | 8,000 | |||
8 cores, 16 GB memory | dds.mongo.xlarge | 5,000 | 8,000 | |||
8 cores, 32 GB memory | dds.mongo.2xlarge | 8,000 | 14,000 | |||
16 cores, 64 GB memory | dds.mongo.4xlarge | 16,000 | 16,000 | |||
Dedicated local disk instance | 2 cores, 16 GB memory | mongo.x8.medium | 2,500 | 4,500 | 250 GB to 3,000 GB | |
4 cores, 32 GB memory | mongo.x8.large | 5,000 | 9,000 | 500 GB to 3,000 GB | ||
8 cores, 64 GB memory | mongo.x8.xlarge | 10,000 | 18,000 | 1,000 GB to 3,000 GB | ||
16 cores, 128 GB memory | mongo.x8.2xlarge | 20,000 | 36,000 |
|
||
32 cores, 256 GB memory | mongo.x8.4xlarge | 40,000 | 72,000 | 2,000 GB to 3,000 GB | ||
Dedicated host instance | 60 cores, 440 GB memory | dds.mongo.2xmonopolize | 100,000 | 100,000 | 2,000 GB to 6,000 GB | |
90 cores, 660 GB memory | dds.mongo.3xmonopolize | 100,000 | 100,000 | 2,000 GB to 6,000 GB | ||
Standalone instance | General-purpose instance | 1 core, 2 GB memory | dds.n2.small.1 | 2,000 | min{30 × Storage capacity, 20000} | 20 GB to 2,000 GB |
2 cores, 4 GB memory | dds.sn2.medium.1 | 4,000 | ||||
2 cores, 8 GB memory | dds.sn4.large.1 | 6,000 | ||||
4 cores, 8 GB memory | dds.sn2.large.1 | 6,000 | ||||
4 cores, 16 GB memory | dds.sn4.xlarge.1 | 8,000 | ||||
8 cores, 16 GB memory | dds.sn2.xlarge.1 | 8,000 |
Node type | Category | Specifications | Instance type | Maximum number of connections | Maximum IOPS | Storage capacity |
---|---|---|---|---|---|---|
Mongos | General-purpose instance | 1 core, 2 GB memory | dds.mongos.mid | 1,000 | N/A | N/A |
2 cores, 4 GB memory | dds.mongos.standard | 2,000 | ||||
4 cores, 8 GB memory | dds.mongos.large | 4,000 | ||||
8 cores, 16 GB memory | dds.mongos.xlarge | 8,000 | ||||
8 cores, 32 GB memory | dds.mongos.2xlarge | 16,000 | ||||
16 cores, 64 GB memory | dds.mongos.4xlarge | 16,000 | ||||
Shard | General-purpose instance | 1 core, 2 GB memory | dds.shard.mid | N/A | 1,000 | 10 GB to 2,000 GB |
2 cores, 4 GB memory | dds.shard.standard | 2,000 | ||||
4 cores, 8 GB memory | dds.shard.large | 4,000 | ||||
8 cores, 16 GB memory | dds.shard.xlarge | 8,000 | ||||
8 cores, 32 GB memory | dds.shard.2xlarge | 14,000 | ||||
16 cores, 64 GB memory | dds.shard.4xlarge | 16,000 | ||||
Dedicated local disk instance | 2 cores, 16 GB memory | dds.shard.sn8.xlarge.3 | 4,500 | 10 GB to 250 GB | ||
4 cores, 32 GB memory | dds.shard.sn8.2xlarge.3 | 9,000 | 10 GB to 500 GB | |||
8 cores, 64 GB memory | dds.shard.sn8.4xlarge.3 | 18,000 | 10 GB to 1,000 GB | |||
16 cores, 128 GB memory | dds.shard.sn8.8xlarge.3 | 36,000 | 10 GB to 2,000 GB | |||
32 cores, 256 GB memory | dds.shard.sn8.16xlarge.3 | 72,000 | 10 GB to 3,000 GB | |||
Configserver | General-purpose instance | 1 core, 2 GB memory | dds.cs.mid | 1,000 | 20 GB |
Historical instance types
The following instance types are available for instances that were created before July 10, 2017 and whose configurations have not been changed.
Category | Specifications | Instance type | Maximum number of connections | Maximum IOPS |
---|---|---|---|---|
General-purpose instance | 1 core, 2 GB memory | dds.mongo.mid | 200 | 800 |
2 cores, 4 GB memory | dds.mongo.standard | 400 | 1,600 | |
4 cores, 8 GB memory | dds.mongo.large | 1,000 | 3,200 | |
8 cores, 16 GB memory | dds.mongo.xlarge | 2,000 | 6,400 | |
8 cores, 32 GB memory | dds.mongo.2xlarge | 4,000 | 12,800 | |
16 cores, 64 GB memory | dds.mongo.4xlarge | 8,000 | 12,800 | |
Dedicated instance | 2 cores, 16 GB memory | mongo.x8.medium | 2,000 | 4,500 |
4 cores, 32 GB memory | mongo.x8.large | 4,000 | 9,000 | |
8 cores, 64 GB memory | mongo.x8.xlarge | 8,000 | 18,000 | |
16 cores, 128 GB memory | mongo.x8.2xlarge | 16,000 | 36,000 | |
32 cores, 256 GB memory | mongo.x8.4xlarge | 32,000 | 72,000 | |
Dedicated host instance | 60 cores, 440 GB memory | dds.mongo.2xmonopolize | 36,000 | 40,000 |
Node type | Category | Specifications | Instance type | Maximum number of connections | Maximum IOPS |
---|---|---|---|---|---|
Mongos | General-purpose instance | 1 core, 2 GB memory | dds.mongos.mid | 200 | N/A |
2 cores, 4 GB memory | dds.mongos.standard | 400 | |||
4 cores, 8 GB memory | dds.mongos.large | 1,000 | |||
8 cores, 16 GB memory | dds.mongos.xlarge | 2,000 | |||
8 cores, 32 GB memory | dds.mongos.2xlarge | 4,000 | |||
16 cores, 64 GB memory | dds.mongos.4xlarge | 8,000 | |||
Shard | General-purpose instance | 1 core, 2 GB memory | dds.shard.mid | N/A | 800 |
2 cores, 4 GB memory | dds.shard.standard | 1,600 | |||
4 cores, 8 GB memory | dds.shard.large | 3,200 | |||
8 cores, 16 GB memory | dds.shard.xlarge | 6,400 | |||
8 cores, 32 GB memory | dds.shard.2xlarge | 12,800 | |||
16 cores, 64 GB memory | dds.shard.4xlarge | 12,800 | |||
Configserver | General-purpose instance | 1 core, 2 GB memory | dds.cs.mid | 800 |