Getting started
This topic describes how to create an ApsaraDB for MongoDB instance, connect to the instance, and read data from the instance or write data to the instance.
Deployment architectures
ApsaraDB for MongoDB supports flexible deployment architectures to meet various business requirements.
Architecture | Description | Scenarios |
A standalone instance provides only one StandAlone node that is used to read and write data. | Suitable for development, testing, training, learning, and scenarios where non-core enterprise data is stored. | |
A replica set instance provides a primary node that supports read/write operations, one, three, or five secondary nodes for high availability, a hidden node, and zero to five optional read-only nodes. You can add or remove secondary nodes and read-only nodes based on your business requirements to better scale read performance. | Suitable for scenarios that require significantly more read operations than write operations or temporary burst activities. | |
A sharded cluster instance consists of multiple replica sets (each replica set contains three nodes in primary/secondary mode and zero to five read-only nodes). It provides three components: mongos, shard, and ConfigServer. You can freely choose the number and specifications of mongos and shard components to infinitely scale performance and storage capacity, creating sharded cluster instances with different capabilities. | Suitable for scenarios that require highly concurrent read/write operations. |
Billing methods
| Billing method | Description |
| Subscription |
|
| Pay-as-you-go |
|