Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Step 2: Creating a Cluster

Updated on 2023-03-17 GMT+08:00

Before using GaussDB(DWS) to analyze data, create a cluster. A cluster consists of multiple nodes in the same subnet. These nodes together provide services. This section describes how to create a GaussDB(DWS) cluster.

Creating a Cluster

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters in the navigation pane on the left.
  3. On the Clusters page, click Create Cluster in the upper right corner.
  4. Select the region to which the cluster to be created belongs.

    • Region: Select the current working area of the cluster.
    • AZ: Retain the default value.

  5. Configure node parameters.

    • Resource: For example, Standard.
    • CPU Architecture: Select a CPU architecture based on your requirements, for example, x86.
    • Node Flavor: Retain the default value.
    • Nodes: Retain the default value. At least 3 nodes are required.
    Figure 1 Configuring node parameters

  6. Configure cluster parameters.

    • Cluster Name: Enter dws-demo.
    • Cluster Version: The current cluster version is displayed and cannot be changed.
    • Default Database: The value is gaussdb, which cannot be changed.
    • Administrator Account: The default value is dbadmin. Use the default value. After a cluster is created, the client uses this account and its password to connect to the cluster's database.
    • Administrator Password: Enter the password.
    • Confirm Password: Enter the password again.
    • Database Port: Use the default port number. This port is used by the client or application to connect to the cluster's database.
    Figure 2 Configuring the cluster

  7. Configure network parameters.

    • VPC: You can select an existing VPC from the drop-down list. If no VPC has been configured, click View VPC to enter the VPC management console to create one, for example, vpc-dws. Then, go back to the page for creating a cluster on the GaussDB(DWS) management console, click next to the VPC drop-down list, and select the new VPC.
    • Subnet: When you create a VPC, a subnet is created by default. You can select the corresponding subnet.
    • Security Group: Select Automatic creation.

      The automatically created security group is named GaussDB(DWS)-<Cluster name>-<GaussDB(DWS) cluster database port>. The outbound allows all access requests, while the inbound enables only Database Port for access requests from clients or applications.

      If you select a custom security group, add an inbound rule to it to enable Database Port for client hosts to access GaussDB(DWS). Table 1 shows an example. For details about how to add an inbound rule, see "Security > Security Group > Adding a Security Group Rule" in the Virtual Private Cloud User Guide.

      Table 1 Inbound rule example

      Parameter

      Example Value

      Protocol/Application

      TCP

      Port

      8000

      NOTE:

      Enter the value of Database Port set when creating the GaussDB(DWS) cluster. This port is used for receiving client connections to GaussDB(DWS). The default port number is 8000.

      Source

      Select IP address, and enter the IP address and subnet mask of the client host that accesses GaussDB(DWS), for example, 192.168.0.10/16.

    • EIP: Select Automatically assign to apply for a cluster EIP as the public network IP address of the cluster. In addition, set the EIP bandwidth.
    Figure 3 Configuring the network

  8. Select Default for Advanced Settings in this example.

    • Default: indicates that the following advanced settings use the default configurations.
      • CNs: Three CNs are deployed by default.
      • Parameter Template: The default database parameter template is associated with the cluster.
      • Tag: By default, no tag is added to the cluster.
      • Encrypt DataStore: This parameter is disabled by default, indicating that the database is not encrypted.
    • Custom: Select this option to configure the following advanced parameters: CNs, Parameter Template, Tag, Encrypt DataStore

  9. Click Create Now. The Confirm page is displayed.
  10. Click Submit.

    After the submission is successful, the creation starts. Click Back to Cluster List. The Clusters 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.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback