Updated on 2023-11-21 GMT+08:00

Buying a Cluster Instance

This section describes how to buy a cluster instance that is compatible with InfluxDB APIs on the GeminiD console.

Each tenant can have up to 50 GeminiDB Influx instances by default. To request a higher quota, contact customer service.

Prerequisites

  • You have registered a Huawei Cloud account.

Procedure

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Instances page, click Buy DB Instance.
  4. On the displayed page, specify instance specifications and click Next.

    Figure 1 Billing mode and basic information
    Table 1 Billing description

    Parameter

    Description

    Billing Mode

    Method that the instance is billed in. The value can be Yearly/Monthly or Pay-per-use.

    • Yearly/Monthly
    • Pay-per-use
    Table 2 Basic information

    Parameter

    Description

    Region

    The region where the tenant is located. It can be changed in the upper left corner.

    NOTICE:

    Select the nearest region where you will access the instance from, so latency can be kept to a minimum and response will be faster. Instances deployed in different regions cannot communicate with each other over a private network. After you buy an instance, you cannot change its region.

    DB Instance Name

    The instance name:

    • Can be the same as an existing instance name.
    • Can include 4 to 64 bytes and must start with a letter. It is case-sensitive and allows only letters, digits, hyphens (-), and underscores (_).

    You can change the name of an instance after it is created. For details, see Changing an Instance Name.

    Compatible API

    InfluxDB

    DB Instance Type

    Cluster

    Compatible Version

    1.7

    AZ

    Availability zone where the instance is created. An AZ is a part of a region with its own independent power supplies and networks. AZs are physically isolated but can communicate with each other over a private network.

    Table 3 Specifications and storage

    Parameter

    Description

    Instance Specifications

    Data nodes provide read and write capabilities for time series databases. The specifications depend on configurations of the DFV shared resource pool and memory. Select specifications based on service requirements.

    For details about supported specifications, see Instance Specifications.

    Nodes

    Select the number of nodes based on service requirements. After an instance is created, you can add nodes. For details, see Adding Nodes.

    Analysis Node Specifications

    Analysis nodes analyze time series data.

    The analysis node is in the open beta test (OBT) phase. To use it, contact customer service.

    Analysis Nodes

    Select the number of analysis nodes based on your service requirements.

    Storage Space

    The storage is an integer and the minimum storage is 100 GB. You can add a minimum of 1 GB at a time.

    Purchase Cold Storage

    Cold storage is used to store historical data that is not frequently queried. When purchasing a GeminiDB Influx instance, you can purchase cold storage and configure the retention policy to specify the retention period of hot data. In this way, hot data will be automatically archived in cold storage after the retention period expires, reducing storage costs. The value can be:

    • Yes

      Set the cold storage capacity to suit your service requirements.

    • No

      Do not purchase cold storage.

    For more information about cold and hot data separation, see Cold and Hot Data Separation.

    If you do not enable cold storage when creating an instance, you can enable it later based on service requirements. For details, see Enabling Cold Storage.

    NOTE:

    Cold storage cannot be disabled after being enabled.

    Cold Storage

    The cold storage is an integer from 500 GB to 100,000 GB. You can add a minimum of 1 GB each time you scale up storage space.

    After an instance is created, you can scale up its cold storage. For details, see Scaling Up Cold Storage.

    Load Balancer IP Address

    This option is selected by default and cannot be changed.

    After an instance is created, you can use the load balancer address to connect to the instance. For details, see Connecting to an Instance Using a Load Balancer Address (Recommended).

    Figure 2 Network and database configurations
    Table 4 Network information

    Parameter

    Description

    VPC

    The virtual network where the instance is created. A VPC isolates networks for different services. You can select an existing VPC or create one.

    If there are no VPCs available, the system automatically allocates a VPC to you.

    NOTE:
    • After the GeminiDB Influx instance is created, the VPC where the instance resides cannot be changed.
    • If you want to connect to a GeminiDB Influx instance using an ECS over an internal network, the GeminiDB Influx instance and the ECS must be in the same VPC. If they are not, you can create a VPC peering connection between them for access.

    Subnet

    A subnet where your instance is created. The subnet provides dedicated and isolated networks, improving network security.

    NOTE:

    Creating an IPv4 subnet or selecting an existing one is recommended. IPv6 subnets are not supported.

    Security Group

    A security group controls access between GeminiDB Influx instances and other services. Ensure that the security group you selected allows your client to access the instance.

    If there are no security groups available, the system automatically allocates one to you.

    Table 5 Database configurations

    Parameter

    Description

    Administrator

    Username of the administrator account. The default value is rwuser.

    Administrator Password

    Password of the administrator account. The password:

    • Can contain 8 to 32 characters.
    • Can include uppercase letters, lowercase letters, digits, and any of the following special characters: ~!@#%^*-_=+?
    • For security reasons, set a strong password. The system will verify the password strength.

    Keep your password secure. The system cannot retrieve it if it is lost.

    Confirm Password

    This password must be consistent with the administrator password.

    Parameter Template

    A template of parameters for creating an instance. The template contains API configuration values that are applied to one or more instances.

    After an instance is created, you can modify its parameters to better meet your service requirements. For details, see Modifying a Parameter Template.

    Enterprise Project

    This parameter is provided for enterprise users.

    An enterprise project groups cloud resources, so you can manage resources and members by project. The default project is default.

    Select an enterprise project from the drop-down list. For more information about enterprise projects, see Enterprise Management User Guide.

    SSL

    A security protocol. 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 an instance is created, you can connect to it using SSL.

    After SSL is enabled, you can select the default certificate or the certificate issued by the CCM service.

    NOTE:
    Table 6 Tags

    Parameter

    Description

    Tags

    The setting is optional. Adding tags helps you better identify and manage your instances. Each instance supports up to 20 tags by default.

    A tag consists of a tag key and a tag value.

    • Tag key: Mandatory if the instance is going to be tagged

      Each tag key is unique for each instance. It can include up to 36 characters, including digits, letters, underscores (_), and hyphens (-).

    • Tag value: Optional if the instance is going to be tagged

      The value can contain up to 43 characters, including digits, letters, underscores (_), periods (.), and hyphens (-).

    After an instance is created, you can click its name to view its tags on the Tags page. In addition, you can add, modify, and delete tags of an existing instance. For details, see Managing Tags.

    Table 7 Required duration

    Parameter

    Description

    Required Duration

    The length of your subscription if you select Yearly/Monthly billing. Subscription lengths range from one month to three years.

    Auto-renew

    • This option is not selected by default.
    • If you select this option, the renew cycle is the same as the selected duration.

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

    • For yearly/monthly instances
      • If you need to modify the settings, click Previous.
      • If no modification is required, read and agree to the service agreement, click Pay Now, and complete the payment.
    • For pay-per-use instances
      • If you need to modify the settings, click Previous.
      • If no modification is required, read and agree to the service agreement and click Submit.

  6. On the Instances page, view and manage the created instance.

    • Creating an instance takes about 5 to 9 minutes. During the process, the instance status displayed in the DB instance list is Creating.
    • After the creation is complete, the instance status changes to Available.

      You can click in the upper right corner of the page to refresh the instance status.

    • Automated backup is enabled by default during instance creation. A full backup is automatically triggered after an instance is created.
    • The default database port of the instance is 8635 and cannot be changed.