This section describes how to create a replica set instance on the DDS management console. DDS allows you to tailor your compute resources and storage space to your business needs.
You can use your account to create up to 50 replica set instances. To create more replica set 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 deployed 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. 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 Changing a DB Instance Name. |
Database Type |
Community Edition |
DB Instance Type |
Select Replica set. A replica set consists of the primary node, secondary node, and hidden node. If a primary node goes down or becomes faulty, a secondary node is automatically assigned to the primary role and continues normal operation. If a secondary node is unavailable, a hidden node will take the role of the secondary to ensure high availability. |
Compatible MongoDB Version |
|
Storage Type |
Ultra-high I/O |
Storage Engine |
|
AZ |
An AZ is a part of a region with its own independent power supplies and networks. AZs are physically isolated but can communicate through an internal network connection. For details, see section Regions and AZs.
|
Disk Encryption |
NOTE:
|
Parameter |
Description |
---|---|
Node Class |
For details about the DB instance specifications, see section DB Instance Specifications. After a DB instance is created, you can change its CPU and memory. For details, see section Changing a Replica Set DB Instance Class. |
Storage Space |
The value ranges from 10 GB to 3000 GB and must be a multiple of 10. |
Parameter |
Description |
---|---|
VPC |
The VPC where your DB instances are located. A VPC isolates networks for different services, so you can easily manage and configure internal networks and change network configuration. For details about how to create a VPC, see section "Creating a VPC" in the Virtual Private Cloud User Guide. For details about the constraints on the use of VPCs, see Connection Methods. NOTE:
After the DDS instance is created, the VPC cannot be changed. |
Subnet |
A subnet provides dedicated network resources that are logically isolated from other networks for network security. After the instance is created, you can change the private IP address assigned by the subnet. For details, see Changing a Private IP Address. |
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 using SSL. |
Cross-CIDR Access |
|
Parameter |
Description |
---|---|
Administrator |
The default account is rwuser. |
Administrator Password |
Set a password for the administrator. The password must be 8 to 32 characters in length and contain uppercase letters, lowercase letters, digits, and any of the following special characters: ~!@#%^*-_=+? Keep this password secure. If lost, the system cannot retrieve it for you. |
Confirm Password |
Enter the administrator password again. |
Replica Set Parameter Template |
The parameters that apply to the replica set instances. After a DB instance is created, you can change the parameter template you configured for the DB instance to bring out the best performance. For details, see Modifying a Parameter Template. |
Parameter |
Description |
---|---|
Tags |
This setting is optional. Adding tags helps you better identify and manage your DB instances. Up to 20 tags can be added for a DB instance. 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 Management. |
DB instance performance is determined by how you configure it during the creation. The hardware configuration items that can be selected include the class and storage space of the replica set.