Updated on 2026-07-08 GMT+08:00

Creating a DWS Storage-Compute Decoupled Cluster

Storage-Compute Decoupled uses the cloud-native, cost-effective architecture with decoupled storage and computing. It supports hot and cold data analysis, elastic scaling of storage and computing, unlimited computing power and capacity, and pay-per-use pricing. It is applicable to OLAP analysis scenarios.

This section describes how to create a Storage-Compute Decoupled cluster on the DWS console.

Notes and Constraints

  • You are advised not to use clusters with low specifications, such as clusters with 16 GB memory and 4-core vCPUs, in the production environment. Otherwise, resource overload may occur.
  • To ensure load balancing and high availability for the cluster and prevent service interruptions, you are not advised to connect services directly to a single CN. Instead, configure load balancing to balance the connection to each CN.
  • Storage and compute decoupled clusters do not support database encryption.

Preparations Before Creating a Cluster

  • You have evaluated the flavor of cluster nodes.

    You can select the number of nodes by data volume, service load, and performance. More nodes bring you stronger storage and compute capabilities.

    When first using DWS, you can create a cluster with a smaller flavor. Then, you can adjust the cluster scale and node flavor based on the data volume and service load changes without interrupting services. For details, see Scaling Out a Cluster.

  • Determine the number of nodes that can be used by users.

    Ensure that the number of available nodes is greater than or equal to 3. Otherwise, the system displays a message indicating that the cluster cannot be created.

    If you have yearly/monthly nodes that meet service requirements, you are advised to use these nodes first to save costs. You can select Yearly/Monthly for Billing Mode.

    If the number of requested nodes, vCPU (cores), or memory (GB) exceed the user's remaining quota, a warning dialog box is displayed, indicating that the quota is insufficient and displaying the detailed remaining quota and the current quota application. You can click Increase quota in the warning dialog box to submit a service ticket and apply for higher node quota. Once approved, we will update your resource quota accordingly and send you a notification. For details, see Quotas.

Procedure

  1. Go to the page for creating a DWS cluster. Configure the DWS cluster information as prompted.
  2. Configure the cluster, including Basic Configuration, Data Warehouse Configuration, Network, EIP, and ELB, Cluster Management, and Database Management, Database Encryption, and More Configurations.
  3. Select a billing mode. If you select the yearly/monthly mode, you also need to configure the service duration. For details, see Yearly/Monthly Subscription.
  4. In the Configuration Summary area on the right, confirm the configurations and click Buy Now. If you select the yearly/monthly billing mode, you will be redirected to the payment page after clicking Buy Now.
  5. After the submission is successful, the creation starts. Click Back to Cluster List. The cluster management page is displayed. The initial status of the cluster is Creating. Cluster creation takes some time. Wait for a while. Clusters in the Available state are ready for use.
For how to set the parameters in this area, see Table 1.
Table 1 Basic parameters

Parameter

Description

Example Value

Region

Select the AZ for the cluster nodes to run.

For more information about regions, visit Regions and Endpoints.

-

Billing Mode

Select a billing mode as required. For details, see Billing Description.

  • Yearly/Monthly: This mode allows you to pay for services upfront before using them, ideal for users who prefer not to make advance payments or long-term commitments.
  • Pay-per-use: In this mode, you only pay for what you use, right down to the minute. This is perfect for users who want to avoid upfront payments and long-term commitments.

Yearly/Monthly

AZ

You can select one AZ or multiple AZs (select three AZs from the drop-down list).

For more information, see Regions and AZs.

AZ1

For how to set the parameters in this area, see Table 2.
Table 2 Parameters for configuring a data warehouse

Parameter

Description

Example Value

Version

The options are as follows:

Decoupled storage and compute: This type of data warehouse is designed with a cloud native architecture that separates storage and compute. It also features hierarchical auto scaling for computing and storage, as well as multi-logical cluster shared storage technology (Virtual Warehouse or VW). These capabilities allow for computing isolation and concurrent expansion to handle varying loads, making it an ideal choice for OLAP analysis scenarios.

-

Node Flavor

Select a node flavor. The node flavor list displays the CPU architecture, vCPUs, memory, compute type, and deployment type of node of each flavor.

For more information about the node flavors supported by DWS and their prices, see the DWS pricing details.

For details about the node flavors supported by DWS, see Data Warehouse Specifications.

-

Hot Storage (with Cache)

Available storage capacity of each node.

  • The storage capacity you apply for has the necessary file system overhead, which includes index nodes and the space required for database running. If the idle space is less than 100 GB, scale-out may fail due to insufficient space.
  • The displayed 200GB/node includes the storage for cache. For example, if you create 3 nodes, each having 200 GB capacity, the total resource capacity is 600 GB, and the actual storage space available to you is 300 GB.

-

Cold Data

Store data in separate OBS buckets, which are billed on a pay-per-use basis.

-

Nodes

Specify the number of nodes in the cluster.

The number of nodes ranges from 3 to 256.

3

Table 3 lists the network, EIP, and ELB parameters.
Table 3 Network, EIP, and ELB parameters

Parameter

Description

Precaution

Example Value

VPC

Specify a VPC to isolate the cluster's network.

  • If you are creating your first DWS cluster and have not configured a VPC, click Create VPC to go to the VPC console and create a VPC that meets your requirements.

    For details about how to create a VPC, see Creating a VPC with a Subnet in the Virtual Private Cloud User Guide.

  • After selecting a VPC from the drop-down list, you can click Create VPC to go to the VPC console to view details about the selected VPC.
  • You can click to refresh the options in the VPC drop-down list.

vpc-dws

Subnet

Specify a VPC subnet.

A subnet provides dedicated network resources that are isolated from other networks, improving network security.

Once a cluster is created, its subnet cannot be changed. To update the subnet, restore the cluster's snapshot into a new cluster. The new cluster will have identical data, and you can adjust the subnet during its creation.

subnet-dws

Security Group

Specify a VPC security group.

A security group restricts access rules to enhance security when DWS and other services access each other.

  • Automatic creation

    If Automatic creation is selected, the system automatically creates a default security group. This option is selected by default.

    The rule of the default security group is as follows: The outbound allows all access requests, while the inbound is open only to the database port that you set to connect to the DWS cluster.

    The format of the default security group's name is dws-<cluster name>-<database port of the DWS cluster>, for example, dws-dws-demo-8000.

  • Manual creation

    You can also log in to the VPC management console to manually create a security group. Then, go back to the page for creating DWS clusters, click next to the Security Group drop-down list to refresh the page, and select the new security group.

    To enable the DWS client to connect to the cluster, add an inbound rule to the new security group to allow access to the DWS cluster's database port. The following is an example of an inbound rule. For details, see Adding an Inbound Rule.

    • Protocol: TCP.
    • Port: 8000. Use the database port set when creating the DWS cluster. This port receives client connections to DWS.
    • Source: Select IP address and use the host IP address of the client host, for example, 192.168.0.10/32.
  • If the quotas of the security group and the security group rule are insufficient, an error message will be displayed after you submit the cluster creation application. You can select an existing group and retry.
  • After a DWS cluster is created, you can change the security group. You can also add, delete, or modify security group rules in the current security group. For details, see Modifying a Security Group. Changing the security group of a cluster may cause brief service disruption. Exercise caution when performing this operation. To improve network performance, limit your selection to no more than five security groups.

Automatic creation

EIP

Whether users can use a client to connect to a cluster's database over the Internet.

  • If you select EIP, you can select Buy now or Specify. If you select Buy now, the system automatically assigns an EIP with dedicated bandwidth to the cluster. You can set the bandwidth as needed. If you select Specify, you can bind an existing EIP to the cluster. If no EIP is available in the drop-down list, click Assign EIP to apply for an EIP.
  • By default, EIP is not selected.
  • In yearly/monthly billing mode, you cannot buy an EIP during cluster creation.
  • If you use the EIP binding function for the first time in each project of each region, the system prompts you to create the DWSAccessVPC agency to authorize DWS to access VPC. After the authorization is successful, DWS can switch to a healthy VM when the VM bound with the EIP becomes faulty.
  • By default, only Huawei Cloud accounts or users with Security Administrator permissions can query and create agencies. By default, the IAM users in those Huawei Cloud accounts cannot query or create agencies. When the users use the EIP, the system makes the binding function unavailable. Contact a user with the DWS Administrator permissions to authorize the agency on the current page. For details, see Allowing DWS to Manage Resources.
  • Do not use indicates disabling access to the cluster over the public network. After a cluster is created, if you want to access it over the Internet, bind an EIP to the cluster and create an Internet domain name. For details, see Creating a Public Network Domain Name.
  • If DWS is used for the production environment, the new DWS cluster needs to be bound to ELB and then to EIP. Select Do not use here.

-

ELB

Whether ELB is bound. With ELB health checks, CN requests of a cluster can be quickly forwarded to normal CNs. If a CN is faulty, the workload can be immediately shifted to a healthy node, minimizing cluster access faults.

  • By default, ELB is selected. You can bind a specified load balancer to the cluster. If no available load balancers are displayed in the drop-down list, click Create ELB to go to the ELB page and create one as needed.
  • If you deselect ELB, ELB is not used. If DWS is used in the production environment, first bind it to ELB, and then bind it to an EIP on the ELB page.

Configure load balancing to ensure load balancing and high availability of the cluster and prevent service interruptions. You are not advised to directly connect services to a single CN.

Currently, ELBs can be bound in the same VPC or across VPCs.

-

For how to set the parameters in this area, see Table 4.

Table 4 Cluster management parameters

Parameter

Description

Precaution

Example Value

Cluster Name

Set the name of the data warehouse cluster.

Enter 4 to 64 characters. Only letters (case-insensitive), digits, hyphens (-), and underscores (_) are allowed. The name must start with a letter.

DWS-demo

Cluster Version

Version of the database instance installed in the cluster. The example version number is for reference only.

-

-

Time Zone

You can set the time zone for the tenant cluster, including the system OS time zone and cluster data warehouse time zone.

-

-

Enterprise Project

Enterprise project of the cluster. This parameter is available only to users who have enabled the enterprise project management service.

An enterprise project facilitates project-level management and grouping of cloud resources and users.

You can select the default enterprise project default or other existing enterprise projects. To create an enterprise project, log in to the EPS console. For details, see the Enterprise Management User Guide.

-

default

Tags

Tags are key-value pairs used to identify clusters. You can click +Add to add tags to the cluster. By default, no tag is added to the cluster. For details about tags, see Overview.

  • Tag key: Enter a tag key name in the text box or select a predefined tag key and an existing resource tag key from the drop-down list. The tag key can contain a maximum of 128 characters. It cannot be an empty string, cannot start with _sys, and cannot start or end with a space. Only letters, digits, spaces, and the following special characters are allowed: _ . : = + - @
  • Tag value: Enter a tag value in the text box or select a predefined tag value and an existing resource tag value from the drop-down list. The tag value can contain a maximum of 255 characters. Only letters, digits, spaces, and underscores (_) are allowed. : = + - @
  • If your organization has configured DWS tag policies, you need to add tags to clusters based on the tag policies. If a tag does not comply with the tag policies, cluster creation may fail. Contact the administrator to learn more about tag policies.
  • A key must be unique in a given cluster.

-

The default database is set to gaussdb (which cannot be changed). Table 5 lists the database management, database encryption, and more configurations.

Table 5 Database management, database encryption, and more configurations

Parameter

Description

Precaution

Example Value

Administrator Account

Set the database administrator name.

The username must meet the following requirements:

  • Consists of lowercase letters, digits, or underscores.
  • Starts with a lowercase letter or an underscore.
  • Contains 6 to 64 characters.
  • The username cannot be a keyword of the DWS database. For details about the keywords of the DWS database, see Keyword in the Data Warehouse Service Database Developer Guide.

dbadmin

Administrator Password

Set the password of the database administrator account.

Change the password regularly and keep it secure.

The password must:
  • Consist of 12 to 32 characters.
  • Not be the username or the username spelled backwards.
  • Contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!?, .:;_(){}[]/<>@# %^&*+|\=-)
  • Pass the weak password check.

-

Confirm Password

Enter the database administrator password again.

-

-

Database Port

Set the port used when the client or application connects to the database in the cluster.

The port number ranges from 8000 to 30000.

The database port of a created cluster cannot be changed. You can specify the database port only when creating a cluster.

8000

Encrypt DataStore

If this function is enabled, Key Management Service (KMS) encrypts the cluster and the cluster's snapshot data. For clusters running 9.1.1.200 and later versions, you can select the encryption level (cluster-level or table-level). The function depends on KMS authorization instead of tenant agencies.

  • Method 1: Select a key name. You can create a resource share to share KMS resources with other members. After accepting the sharing invitation, members can select the shared KMS resource from the key source.
  • Method 2: Enter the key ID. Enter the key ID used for authorizing the current tenant. For details, see Viewing Key Details.

    When you grant permissions on the Creating a Grant page, the authorized object must be an account instead of a user. The authorized operations must at least contain Querying key details, Encrypting data, and Decrypting data.

  • If no KMS key is available, log in to KMS and create one. For details, see Data Encryption Workshop User Guide.
  • Only users with the Tenant Admin permission can view and toggle the Encrypt DataStore switch.
  • By default, only Huawei Cloud accounts or users with Security Administrator permissions can query and create agencies. IAM users under an account do not have the permission to query or create agencies by default. Contact a user with that permission and complete the authorization on the current page. For details, see Allowing DWS to Manage Resources.
  • If you have not created an agency with the KMS Administrator permissions, the Create Delegation dialog box is displayed when you enable database encryption for the first time. Click OK to grant DWS the permissions to access KMS. Select the created KMS key from the KMS Key Name drop-down list.
  • The database encryption function cannot be disabled once it is enabled.
  • After Encrypt DataStore is enabled, the key cannot be disabled, deleted, or frozen when being used. Otherwise, the cluster becomes abnormal and the database becomes unavailable.
  • After database encryption is enabled, you cannot use open APIs to restore created snapshots.

-

More Configurations

  • CNs: CNs, or Coordinators, receive access requests from the clients and return the execution results. They also split and distribute tasks to the data nodes (DNs) for parallel execution. In a large-scale cluster, you are advised to deploy multiple CNs.
  • Backup Device: The system automatically creates snapshots at the preset time and interval. For details, see Table 6.
  • IPv6 CIDR Block: Specify whether to enable the IPv6 dual stack for the cluster. If IPv6 is selected, a client or application can connect to the database using an IPv6 address.
  • Number of deployed CNs. The value ranges from 3 to the number of cluster nodes. The maximum value is 20 and the default value is 3.
  • To enable IPv6, ensure that the following conditions are met:
    • The subnet configured in Table 3 is an IPv6 dual-stack subnet.
    • The cluster supports IPv6 addresses and a maximum of three NICs.
    • The cluster version must be 8.2.1.210 or later.

-

Table 6 Backup device parameters

Parameter

Description

Backup Device

Select OBS or NFS from the drop-down list.

NFS Backup File System Address (NFS)

NFS shared IP address. To mount the SFS shared path, enter its IP address. After the mounting is successful, a mount directory will be created in the /var/chroot/nfsbackup directory of the cluster instance.

Table 7 Duration

Parameter

Description

Required Duration (Yearly/Monthly)

Configure the required duration. You get a greater discount if you purchase a longer period. Price is displayed at the bottom of the page for your reference. You can click Pricing details to view the detailed price.

Auto-renewal (Yearly/Monthly)

  • By default, this option is not selected.
  • Renewal rules:
    • If you select one month to nine months, the renewal interval is one month.
    • Your subscription will be renewed each year for yearly billing.

    Example: Customer A purchases a cluster in yearly/monthly mode and select enables auto-renewal. If the cluster is subscribed to for eight months, it will be automatically renewed each month. If the cluster is subscribed to for two years, it will be automatically renewed each year. For details about the renewal fee deduction, see Fee Deduction Rules.