Advanced
Тема интерфейса

Quick Config

This section describes how to quickly purchase a replica set instance on the management console. DDS provides several recommended configurations to help you purchase a replica set instance within several minutes.

Prerequisites

  • You have registered a Huawei Cloud account.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Document Database Service to go to the DDS console.
  4. On the Instances page, click Create DB Instance. The Quick Config page is displayed by default.
  5. Specify instance details and click Create Now.

    Table 1 Basic configurations

    Parameter

    Description

    Region

    The region where the resource is located. For details, see Region and AZ.

    NOTE:

    Instances deployed in different regions cannot communicate with each other through a private network, and you cannot change the region of an instance once it is created. Exercise caution when selecting a region.

    AZ

    An AZ is a part of a region with its own independent power supply and network. AZs are physically isolated but can communicate through internal network connections. For details, see Region and AZ.

    • If your service requires low network latency between instances, you deploy the components of the instance in the same AZ. If you select a single AZ to deploy your instance, anti-affinity deployment is used by default. With an anti-affinity deployment, your primary, secondary, and hidden nodes are deployed on different physical machines for high availability.
    • If you want to deploy an instance across AZs for disaster recovery, select three AZs. In this deployment mode, the primary, secondary, and hidden nodes are evenly distributed across three AZs.

    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

    • 5.0
    • 4.4
    • 4.2
    • 4.0
    • 3.4

    Specifications

    With an x86 architecture, you have the following options:

    • General-purpose (s6): S6 instances are suitable for applications that require moderate performance generally but occasional bursts of high performance, such as light-workload web servers, enterprise R&D and testing environments, and low- and medium-performance databases.
    • Enhanced II (c6): C6 instances have multiple technologies optimized to provide stable powerful compute performance. 25 GE intelligent high-speed NICs are used to provide ultra-high bandwidth and throughput, making it an excellent choice for heavy-load scenarios. It is suitable for websites, web applications, general databases, and cache servers that have higher performance requirements for compute and network resources; and medium- and heavy-load enterprise applications.

    Recommended Specifications

    Currently, medium- and lightweight database specifications and customized specifications are supported.

    Table 2 Network settings

    Parameter

    Description

    VPC

    The VPC where your DB instances are located. A VPC isolates networks for different services. It allows you to easily manage and configure private networks and change network configurations.

    Table 3 Default configuration items

    Specifications

    Value

    Editable After Instance Creation

    DB Instance Name

    dds-c1c1

    Yes

    Storage Engine

    WiredTiger

    No

    SSL

    Disabled

    Yes

    Database Port

    8635

    Yes

    Cross-CIDR Access

    Not configured

    Yes

    Replica Set Parameter Template

    Default-DDS-4.0-Replica

    Yes

    Tags

    Not configured

    Yes

    Advanced Settings

    Not configured

    Yes

    Note
    • Some settings are configured by default during purchase, but can still be modified after the instance is created. If you do not see a setting listed for your instance, click Custom Config.
    • Instance performance depends on the specifications you select during creation. The hardware configuration items that can be selected include the node class and storage space.

  6. On the displayed page, confirm the instance details.

    • If you need to modify the specifications, click Previous to return to the previous page.
    • If you do not need to modify the specifications, click Submit to start creating the instance.

  7. After a DDS instance is created, you can view and manage it on the Instances page.

    • When an instance is being created, the status displayed in the Status column is Creating. This process takes about 15 minutes. After the creation is complete, the status changes to Available.
    • DDS enables the automated backup policy by default. After an instance is created, you can modify or disable the automated backup policy. An automated full backup is immediately triggered after the creation of an instance.