Buying an Instance
This section describes how to buy a GeminiDB instance that is compatible with Redis APIs.
Prerequisites
- You have registered a Huawei Cloud account.
Procedure
- Log in to the management console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click Buy DB Instance.
- On the displayed page, specify a billing mode and instance specifications and click Next.
Figure 1 Billing mode and basic information
Table 1 Billing mode description Parameter
Description
Billing Mode
Method that the instance is billed in. The value can be Yearly/Monthly or Pay-per-use.
- Yearly/Monthly
- In this mode, specify Required Duration at the bottom of the page. The system bills you based on the service price.
- If you do not need such an instance any longer after it expires, change the billing mode to pay-per-use to optimize costs. For details, see Changing the Billing Mode from Yearly/Monthly to Pay-per-Use.
NOTE:
Yearly/Monthly instances cannot be deleted directly. If such an instance is no longer required, unsubscribe from it. For details, see Unsubscribing from a Yearly/Monthly Instance.
- Pay-per-use
- If you select this billing mode, you are billed based on how much time the instance is in use.
- If you expect to use an instance for a long period of time, change its billing mode to yearly/monthly to optimize costs. For details, see Changing the Billing Mode from Pay-per-Use to Yearly/Monthly.
Table 2 Basic information Parameter
Description
Region
The region where the instance is deployed.
NOTICE:Select the region nearest 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 Modifying the Name of an Instance.
Compatible API
Redis
DB Instance Type
- Proxy-based general purpose
Depending on ELB and proxy to balance load, this type of instance is compatible with single-node and primary/standby instances, Redis Codis, Redis Cluster, and Redis Sentinel.
Compatible Version
5.0 or earlier
Data Copies
The default value is 3. Three copies of the data is created, and each copy always provides the same data as the other two to keep services available.
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.
Figure 2 Specifications and storageTable 3 Specifications and storage Parameter
Description
Node Specifications
Provides a standard process to configure instance specifications, including specifying the specifications, node quantity, and storage space.
Nodes
Specify the number of nodes based on service requirements. After an instance is created, you can add nodes.
Storage Space
The storage is an integer and the minimum storage is 32 GB. You can add a minimum of 1 GB at a time.
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.
For details about how to create a VPC, see "Creating a VPC" in Virtual Private Cloud User Guide.
If there are no VPCs available, the system automatically allocates a VPC to you.
NOTE:- After a GeminiDB Redis instance is created, its VPC cannot be changed.
- If you want to connect to a GeminiDB Redis instance through an ECS over a private network, the instance and the ECS must be in the same VPC. If they are not in the same VPC, you can create a VPC peering connection to enable 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 Redis instances and other services. Ensure that the security group you select allows your client to access the instance.
If there are no security groups available, the system automatically allocates one to you.
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.
NOTE:- This function is in the open beta test (OBT) phase. To use this function, contact customer service.
- If SSL is not enabled when you create an instance, you can enable it after the instance is created. For details, see Configuring an SSL Connection.
Table 5 Database configuration Parameter
Description
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.
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.
Table 6 Tags Parameter
Description
Tags
This parameter is optional. Adding tags helps you better identify and manage your GeminiDB Redis 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. The key 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.
- Yearly/Monthly
- On the displayed page, confirm the instance details.
- For yearly/monthly instances
- If you need to modify the settings, click Previous to modify parameters.
- If no modification is required, read and agree to the service agreement, click Pay Now, and complete the payment.
- Pay-per-use
- If you need to modify the settings, click Previous to modify parameters.
- If no modification is required, read and agree to the service agreement and click Submit.
- For yearly/monthly instances
- On the Instances page, view and manage the created instance.
- 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.
- The default database port of the instance is 8635 and cannot be changed.
- After the creation is complete, the instance status changes to Available.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.