CreateInstances
API to make a purchase.Parameter | Required | Description |
Billing Mode | Yes | Currently, only pay-as-you-go is supported. |
Region | Yes | Select a region where your instance resides. You should select a region closest to you to reduce access latency. Note that the region cannot be changed after the instance is successfully created. We recommend that you select the same region as the CVM instance for private network communication. |
Instance Edition | Yes | Select the Memory Edition. The CKV Edition is unavailable currently. |
Compatible Version | Yes | It is a high-performance edition based on open-source Redis and compatible with Redis 6.2, 5.0, 4.0, and 2.8. |
Architecture | Yes | v4.0 or later supports the standard architecture and cluster architecture, while v2.8 only supports the standard architecture. For more information on the product architecture, see Memory Edition (Standard Architecture) and Memory Edition (Cluster Architecture). |
Memory | Yes | Configure the required memory size (0.25–64 GB) if you select Standard Architecture for Architecture. |
Replica Quantity | Yes | Select the number of database replicas. Multiple replicas provide master-replica high availability, enhancing the data security. Replicas can also be used to enhance the read-only performance. The replica quantity may vary by region or edition as configured in the console by default. |
Shard Quantity | Yes | Set the number of shards as needed if you select Cluster Architecture for Architecture. The more the shards, the larger the cluster storage capacity. |
Shard Capacity | Yes | Set the capacity of each shard if you select Cluster Architecture for Architecture. |
Specs Preview | - | Preview the selected specification and the supported maximum number of connections and maximum network throughput to verify whether they meet your expectations. |
Read-Only Replica | No | Specify whether to enable read/write separation. You can also enable it later as needed. For more information, see Read/Write Separation. |
Network Type | Yes | Currently, only VPC is supported. |
AZ | Yes | Choose whether to enable multi-AZ deployment. Both single-AZ deployment and multi-AZ deployment are supported. Multi-AZ deployed instances have higher availability and better disaster recovery capability than single-AZ deployed instances. For more information, see Multi-AZ Deployment. For single-AZ deployment, select the AZ of the master node in **Master Node Group (Master AZ)**. For multi-AZ deployment, select the master AZ from the drop-down list of **Master Node Group (Master AZ)**, and specify the AZs for replicas in the drop-down lists of replicas. |
IPv4 Network | Yes | Select the VPC and subnet. We recommend that you select the same VPC in the same region as the CVM instance to be connected to. VPCs are region-specific (e.g., Guangzhou), while subnets are AZ-specific (e.g., Guangzhou Zone 1). One VPC can be divided into one or multiple subnets, which are interconnected over the private network by default. Different VPCs are isolated over the private network by default, no matter whether they are in the same or different regions. You can switch the VPC after instance purchase as instructed in Configuring Network. You can also click Create VPCs and Create Subnets to create the desired network environment as instructed in Creating VPC. |
Port | Yes | Custom port. The default port is 6379. The value range is [1024,65535]. |
Parameter Template | Yes | Select the parameter template associated with the instance. You can apply a parameter template to configure parameters in batches for the instance. The system will automatically adapt the corresponding default template based on the selected compatible version and architecture. For more information, see the default template in Applying Parameter Templates. |
Project | Yes | Assign your instance to a project for easy management. |
Tag | No | Add tags to your instance for easy classification and management. Click Add to select tag keys and values. |
Security Group | Yes | Set security group rules to control the inbound traffic to your database. You can either select a security group from the Existing Security Groups drop-down list or click Custom Security Groups to create one and set inbound rules. For more information, see Configuring Security Group. |
Instance Name | Yes | Enter up to 60 letters, digits, hyphens, and underscores. |
Set Password | Yes | Select the password authentication method, which can be Password Authentication (default value) or Passwordless Authentication. |
Password | No | If you select Password Authentication for Set Password, you need to set an access password for the instance according to the following requirements: It can contain [8,30] characters. It must contain at least two of the following four types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/). It cannot start with a slash (/). |
Confirm Password | No | Enter the access password for the instance again. |
Quantity | Yes | You can purchase up to 30 pay-as-you-go instances at a time. 1–100 instances can be purchased in each region. |
Terms of Service | Yes | Read TencentDB Service Level Agreement and Service Level Agreement and select I have read and agreed to. |
API | Description |
Creates a TencentDB for Redis instance |
Was this page helpful?