tencent cloud

Feedback

Purchase Method

Last updated: 2022-05-17 17:03:21

    Overview

    This document describes how to purchase and configure a TencentDB for Redis instance in the following two ways:

    • Console: You can configure the instance parameters and directly make a purchase in the web console.
    • API: You can call the CreateInstances API to make a purchase.

    Preparations for Purchase

    Purchasing in Console

    1. Log in to the TencentDB for Redis purchase page with your Tencent Cloud account.
    2. Configure the instance as needed based on the parameter descriptions below:
      ParameterDescription
      Billing Mode Pay-as-you-go is supported. For more information, see Billing Overview.
      Region 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 you select the same region as the CVM instance for private network communication.
      Instance Edition Select the Memory Edition. The CKV Edition is unavailable currently.
      Compatible Version Select a high-performance version based on the open-source Redis engine, which is compatible with Redis 6.0, 5.0, 4.0, and 2.8. v2.8 is unavailable currently, and v4.0 or later is recommended. To purchase an instance of Redis 2.8 or 6.0, submit a ticket for application.
      Architecture 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 Configure the required memory size (0.25–64 GB) if you select Standard Architecture for Architecture.
      Replica Quantity Select the number of database replicas. Multiple replicas can provide master/replica high availability, thus improving 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 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 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 Specify whether to enable read/write separation. For more information, see Read/Write Separation.
      Network Both VPC and classic network are supported.
      • If you select VPC, only devices in the selected subnet can access the database instance. If you select the classic network, only devices in the selected classic network can access the database instance, and public network address and multi-AZ deployment are not supported. For more information, see Classic Network.
      • After the instance is created, you can switch the network from the classic network to VPC or from one VPC to another VPC but not from VPC to the classic network. For detailed directions, see Configuring Network.
      AZ Specify whether to enable multi-AZ deployment. Both single-AZ deployment and multi-AZ deployment are supported. A multi-AZ deployed instance has higher availability and disaster recovery capabilities than a single-AZ deployed instance. For more information, see Multi-AZ Deployment.
      • For single-AZ deployment, select an AZ for the master node from Master Node Group (Master AZ).
      • For multi-AZ deployment, select a master AZ from the drop-down list of Master Node Group (Master AZ) and specify an AZ for the replica from the drop-down list of replica x, where x is the replica number, such as replica 1 and replica 2.
      IPv4 Network Network: Select VPC. You should select a specific VPC and subnet, preferably the same VPC in the same region as the CVM instance. 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 a required network environment as instructed in Creating VPCs.
      Port Custom port. The default port is 6379. Value range: 1024–65535.
      Parameter Template Apply a parameter template to configure parameters in batches for the instance. For more information, see Applying Parameter Templates.
      Project Assign your instance to a project for easy management.
      Tag Add tags to your instance for easy classification and management. Click Add to select tag keys and values.
      Security Group 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 Enter up to 60 letters, digits, hyphens, and underscores.
      Set Password Password Authentication is selected by default.
      Password Set an access password for the instance, which must meet the following requirements:
      • It must contain 8–30 characters.
      • It must contain characters in at least two of the following character types: lowercase letters, uppercase letters, digits, and special symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
      • It cannot start with a slash (/).
      Confirm Password Enter the access password for the instance again.
      Quantity You can purchase up to 100 instances in each region and up to 30 instances each time.
    3. After verifying that the parameters are correctly configured, click Buy Now. After the purchase success message is displayed, click Go to Console to enter the instance list page. After the instance's status becomes Running, you can use it.
    Note:

    • After activating TencentDB for Redis, make sure that your account balance is sufficient. An insufficient balance may cause overdue payments or even instance repossession. For more information, see Payment Overdue.
    • For subsequent operations, see Creating TencentDB for Redis Instance.

    Purchasing via API

    API Description
    CreateInstances Creates TencentDB for Redis instance
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support