This section describes how to create a DDS cluster instance of Community Edition on the DDS management console. DDS allows you to tailor your computing resources and storage space to your business needs.
You can use your account to create a maximum of 10 cluster instances. To create more cluster instances, click in the upper right corner of the management console. On the Service Quota page, click Increase Quota to apply for quotas.
Parameter |
Description |
---|---|
Region |
A region where the tenant is located. It can be changed in the upper left corner. For details, see section Regions and AZs. NOTE:
DB instances in different regions cannot communicate with each other through a private network, and you cannot change the region of a DB instance once it is created. Therefore, exercise caution when selecting a region. |
DB Instance Name |
The DB instance name can be 4 to 64 characters long. It must start with a letter and can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_). After the DB instance is created, you can change the DB instance name. For details, see section Modifying the DB Instance Name. |
Database Type |
Community Edition |
DB Instance Type |
Select Cluster. A cluster instance includes three types of nodes: mongos, shard, and config. shard and config use the three-node replica set architecture to ensure high availability. |
Compatible MongoDB Version |
|
Storage Engine |
WiredTiger |
AZ |
A physical region where resources use independent power supply and networks. AZs are physically isolated but interconnected through the internal network. For details, see section Regions and AZs. |
Disk Encryption |
|
Item |
Description |
---|---|
mongos class |
For details about the mongos CPU and memory, see section DB Instance Specifications. After a DB instance is created, you can change its CPU and memory. For details, see section Changing the CPU or Memory of a Cluster DB Instance. |
mongos quantity |
The value ranges from 2 to 16. After a DB instance is created, you can add nodes. For details, see section Adding Cluster Instance Nodes. |
mongos parameter group |
Parameters in a mongos parameter group can be applied to mongos nodes. After a DB instance is created, you can change the parameter group of a node. For a parameter group created by users, you can modify the parameters in the parameter group to bring out the best performance. For details, see Parameter Group. |
shard class |
For details about the shard CPU and memory, see section DB Instance Specifications. After a DB instance is created, you can change its CPU and memory. For details, see section Changing the CPU or Memory of a Cluster DB Instance. |
shard storage type |
Ultra-high I/O: uses the SSD disk type. |
shard storage space |
The value ranges from 10 GB to 1,000 GB and must be a multiple of 10. After a DB instance is created, you can scale up its storage space. For details, see section Scaling Up Storage Space. |
shard quantity |
shard stores user data but cannot be accessed directly by you. The value ranges from 2 to 16. After a DB instance is created, you can add nodes. For details, see section Adding Cluster Instance Nodes. |
shard parameter group |
Parameters in a shard parameter group can be applied to shard nodes. After a DB instance is created, you can change the parameter group of a node. For a parameter group created by users, you can modify the parameters in the parameter group to bring out the best performance. For details, see Parameter Group. |
config class |
config stores DB instance configurations but cannot be accessed directly by you. For details, see DB Instance Specifications. |
config storage type |
Ultra-high I/O: uses the SSD disk type. |
config storage space |
The storage space is 20 GB and cannot be scaled up. |
config parameter group |
Parameters in a config parameter group can be applied to config nodes. After a DB instance is created, you can change the parameter group of a node. For a parameter group created by users, you can modify the parameters in the parameter group to bring out the best performance. For details, see Parameter Group. |
Parameter |
Description |
---|---|
VPC |
The VPC to which a DB instance belongs isolates networks for different services. It allows user to manage and configure internal networks and change network configuration, simplifying network management. You need to create or select the required VPC. For details on how to create a VPC, see section "Creating a VPC" in the Virtual Private Cloud User Guide. |
Subnet |
A subnet provides dedicated network resources that are logically isolated from other networks, improving network security. After a DB instance is created, you can click the DB instance name and change the private IP address assigned by the subnet to the mongos node on the Basic Information page. NOTE:
Changing the private IP address of a node will invalidate the previous private IP address. If an EIP is bound to the node, do not unbind the EIP during the change of the private IP address. After the change, the new private IP address is bound to the EIP. |
Security Group |
A security group controls access between DDS and other services for security. NOTE:
Ensure that the security group rule you set allows clients to access DB instances. For example, select the TCP protocol with inbound direction, input the default port number 8635, and enter a subnet IP address or select a security group that the DB instance belongs to. |
SSL |
Secure Sockets Layer (SSL) certificates set up encrypted connections between clients and servers, preventing data from being tampered with or stolen during transmission. You can enable SSL to improve data security. After a DB instance is created, you can connect to it in SSL mode. For details, see Connecting to a DB Instance Through a Client. |
Parameter |
Description |
---|---|
Administrator |
The default account is rwuser. |
Administrator Password |
The password is a string of 8 to 32 characters. It must be a combination of uppercase letters, lowercase letters, digits, and special characters. You can also use the following special characters: ~!@#%^*-_=+? The system cannot save you password. Keep the password secure. |
Confirm Password |
The value of this parameter must be the same as the Administrator Password. |
Parameter |
Description |
---|---|
Tags |
Tags a DDS DB instance. This configuration is optional. Adding tags to DDS DB instances helps you better identify and manage them. Each DB instance can have up to 20 tags. A tag is composed of a key-value pair.
After a DB instance is created, you can view its tag details on the Tags tab. In addition, you can add, modify, and delete tags for existing DB instances. For details, see Tag. |
DB instance performance is determined by the configurations you set during its creation, including the node class and storage space.