TencentDB for Redis

TencentDB for Redis
Purchase Guide
Product Documentation©2013-2022 Tencent Cloud. All rights reserved.

Page 1 of 14

TencentDB for Redis

Copyright Notice©2013-2024 Tencent Cloud. All rights reserved.
Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distributein any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.
Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by Tencent Cloud Computing (Beijing)
Company Limited and its affiliated companies. Trademarks of third parties referred to in this document are owned bytheir respective proprietors.
Service Statement
This document is intended to provide users with general information about Tencent Cloud's products and services
only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services aresubject to change. Specific products and services and the standards applicable to them are exclusively provided for inTencent Cloud's applicable terms and conditions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 2 of 14

TencentDB for Redis

Contents
Purchase Guide
Billing Overview
Pricing
Purchase Method
Payment Overdue©2013-2022 Tencent Cloud. All rights reserved.

Page 3 of 14

TencentDB for Redis

Purchase Guide
Billing Overview：

Last updated 2024-04-25 15:01:00
After you select the appropriate instance specifications, you may choose the billing mode that matches your businessscenario. Then you may budget the instance cost based on the unit price of different regional billing items.

Billing Mode
TencentDB for Redis provides two billing modes: monthly subscription and pay-as-you-go. Currently, only pay-asyou-go is supported. Monthly subscription is under development.

Pay-as-You-Go
Postpaid Billing is recommended for the following cases: There is significant volatility in business development thatcannot be accurately predicted, or resource usage exhibits temporary or sudden characteristics. When TencentDB for
Redis is purchased, an hour's worth of fees will be frozen in the user's cloud account, with settlement occurring once
per full hour (Beijing Time). Users only need to pay for the actual usage of TencentDB for Redis, without any upfront
costs.

Monthly Subscription (Currently Not Supported)
Prepaid Billing is suitable for long-term businesses with relatively stable volumes of operations. Compared to pay-asyou-go, the cost is more affordable. When purchasing TencentDB for Redis, users pay in advance for one month orseveral months/years according to their business needs.
Note:
The monthly subscription mode of this product is currently in beta, and the price document is forreference only. The final price will be determined by the bill. If needed, contact the business team.

Billing and Pricing
TencentDB for Redis adopts a linear pricing strategy, where the total billing cost for an instance is calculated as thepurchased specification multiplied by the cost per unit of that specification. Pricing for the prepaid monthly
subscription mode is provided for reference only. For the per-hour and per-GB unit pricing under the pay-as-you-go
billing mode, see the Product Pricing.

©2013-2022 Tencent Cloud. All rights reserved.

Page 4 of 14

TencentDB for RedisPricing：

Last updated 2024-04-25 15:08:26

Pay-as-you-go
For pay-as-you-go of TencentDB for Redis, billing is divided into the following three tiers based on various usage
duration, with longer usage periods resulting in lower unit pricing.
For durations more than 0 days and up to and including 4 days, the pay-as-you-go price for the first tier is used.
For durations more than 4 days and up to and including 15 days, the pay-as-you-go price for the second tier is used.
For durations exceeding 15 days, the pay-as-you-go price for the third tier is used.
Note:
After instance scaling and isolation, pricing is recalculated starting from the first tier.

Cluster edition single node pricing
Instance price = number of shards * shard capacity * (1 + number of replicas) * node unit price per GB
RegionTier 1 (USD/GB/Hour)

Tier 2 (USD/GB/Hour)

Tier 3 (USD/GB/Hour)

Guangzhou

0.017964

0.013464

0.008964

Nanjing

0.017964

0.013464

0.008964

Shanghai

0.017964

0.013464

0.008964

Beijing

0.017964

0.013464

0.008964

Chengdu0.017964

0.013464

0.008964

Chongqing

0.017964

0.013464

0.008964

Hong Kong(China)

0.019224

0.014436

0.009612

Bangkok

0.023940

0.019745

0.011952

Jakarta

0.031624

0.023718

0.015812

Singapore

0.025632

0.019224

0.012816

Mumbai0.029916

0.022428

0.016455©2013-2022 Tencent Cloud. All rights reserved.

Page 5 of 14

TencentDB for Redis

Seoul

0.027792

0.020844

0.013896

Tokyo

0.030780

0.023076

0.015372

SiliconValley0.023940

0.019745

0.011952

Virginia

0.017964

0.013464

0.008964

Frankfurt

0.029052

0.021780

0.014544

Sao Paulo0.023940

0.019745

0.011952

Standard edition single node pricing
Instance price = node capacity * (1 + number of replicas) * node unit price per GB
RegionTier 1 (USD/GB/Hour)

Tier 2 (USD/GB/Hour)

Tier 3 (USD/GB/Hour)

Guangzhou

0.015276

0.011457

0.007638

Nanjing

0.015276

0.011457

0.007638

Shanghai

0.015276

0.011457

0.007638

Beijing

0.015276

0.011457

0.007638

Chengdu0.010653

0.007990

0.005326

Chongqing

0.010653

0.007990

0.005326

0.0194850.014614

0.009742

Bangkok

0.022512

0.016884

0.011258

Jakarta

0.026496

0.019872

0.013

Singapore

0.019899

0.014924

0.009949

Mumbai0.022512

0.016884

0.011256

Seoul

0.027

0.02

0.013

Tokyo

0.026532

0.019899

0.013266

Silicon0.024356

0.018267

0.012178

Hong Kong(China)©2013-2022 Tencent Cloud. All rights reserved.

Page 6 of 14

TencentDB for Redis

ValleyVirginia

0.016080

0.012060

0.008040

Frankfurt

0.028205

0.021154

0.014103

Sao Paulo0.024356

0.018267

0.012178

Monthly subscription
Note:
Monthly subscription is currently in beta, and current pricing for different regions is for reference only,
please see your bill for the actual price. If you wish to use this billing option, please contact sales.

Standard edition pricing
Instance price = node capacity * (1 + number of replicas) * node unit price per GB
Region (no region specified means there’s no distinction between

Pricing

regions)

type

Guangzhou, Shanghai, Beijing, Nanjing, Wuhan, Qingyuan

Linear5.4992736

Thailand, India

Linear

5.7525336

Taipei (China)

Linear9.23184

Japan, Seoul

Linear

9.551376

Silicon Valley (US)Linear

10.4196816

Virginia

Linear

5.7887136

Frankfurt

Linear

11.16923

Toronto, Hong Kong (China), Singapore

Linear7.163532

Chengdu, Chongqing

Linear3.8350224

Sao Paulo

Linear9.3076923

Price (USD/GB/month)

Cluster edition pricing
Instance price = number of shards * shard capacity * (1 + number of replicas) * node unit price per GBRegion (no region specified means there’s no distinction betweenregions)©2013-2022 Tencent Cloud. All rights reserved.

PricingtypePrice (USD/GB/month)Page 7 of 14

TencentDB for Redis

Guangzhou, Shanghai, Beijing, Nanjing, Wuhan, Qingyuan

Linear

6.45408

Hong Kong (China)

Linear6.92064

TorontoLinear

7.54272

Silicon Valley (US), Thailand

Linear8.60544

Singapore

Linear9.22752

Seoul

Linear

10.00512

Taipei (China)

Linear

10.18656

India

Linear

10.7568

Frankfurt

Linear

11.50769

Japan

Linear

11.06784

Sao Paulo

Linear9.47692©2013-2022 Tencent Cloud. All rights reserved.

Page 8 of 14

TencentDB for Redis

Purchase Method：

Last updated 2024-04-25 15:16:56

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
You have registered a Tencent Cloud account and completed identity verification.
Click here to complete identity verification.
You have determined a region and AZ for the instance. For more information, see Regions and AZs.
You have determined the specification and performance requirements of the instance. For more information, seeMemory Edition (Standard Architecture) and Performance.
You have determined a VPC and security group for the instance. For more information, see Virtual Private Cloud andConfiguring Security Group.
To deploy the instance across multiple AZs in the same region, learn more about the architecture of multi-AZ
deployment first.
To support read/write separation, learn more about how it is implemented first.
You have checked out the billing details of the instance. For more information, see Billing Overview. Database fees forone hour will be frozen when you create a pay-as-you-go database. Make sure that your account balance is sufficient
before making a purchase.

Purchasing in the 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:
Parameter

Required

Description

Billing
Mode

Yes

Currently, only pay-as-you-go is supported.

RegionYes

Select a region where your instance resides. You should select a region closest toyou to reduce access latency.

©2013-2022 Tencent Cloud. All rights reserved.

Page 9 of 14

TencentDB for Redis

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.
InstanceEditionYes

Select the Memory Edition. The CKV Edition is unavailable currently.
It is a high-performance edition based on open-source Redis and compatible withCompatible
VersionYes

Redis 6.2, 5.0, 4.0, and 2.8.
v2.8 is unavailable currently, and v4.0 or later is recommended. To purchase v2.8,
submit a ticket.

ArchitectureYes

MemoryYes

v4.0 or later supports the standard architecture and cluster architecture, while v2.8
only supports the standard architecture. For more information on the productarchitecture, see Memory Edition (Standard Architecture) and Memory Edition(Cluster Architecture).
Configure the required memory size (0.25–64 GB) if you select Standard
Architecture for Architecture.
Select the number of database replicas. Multiple replicas provide master-replica

Replica
Quantityhigh availability, enhancing the data security. Replicas can also be used toYes

enhance the read-only performance.
The replica quantity may vary by region or edition as configured in the console bydefault.

Shard
Quantity
Shard
Capacity
Specs
Preview
Read-OnlyReplicaNetworkType
AZ

Yes

Yes

Set the number of shards as needed if you select Cluster Architecture forArchitecture. The more the shards, the larger the cluster storage capacity.
Set the capacity of each shard if you select Cluster Architecture forArchitecture.
Preview the selected specification and the supported maximum number of-No

connections and maximum network throughput to verify whether they meet yourexpectations.
Specify whether to enable read/write separation. You can also enable it later asneeded. For more information, see Read/Write Separation.

Yes

Currently, only VPC is supported.

Yes

Choose whether to enable multi-AZ deployment. Both single-AZ deployment andmulti-AZ deployment are supported. Multi-AZ deployed instances have higher
availability and better disaster recovery capability than single-AZ deployedinstances. For more information, see Multi-AZ Deployment.

©2013-2022 Tencent Cloud. All rights reserved.

Page 10 of 14

TencentDB for Redis

For single-AZ deployment, select the AZ of the master node in **Master NodeGroup (Master AZ)**.
For multi-AZ deployment, select the master AZ from the drop-down list of **MasterNode Group (Master AZ)**, and specify the AZs for replicas in the drop-down listsof replicas.
Select the VPC and subnet. We recommend that you select the same VPC in thesame 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, whichIPv4
NetworkYes

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 ordifferent 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 thedesired network environment as instructed in Creating VPC.

PortYesCustom port. The default port is 6379. The value range is [1024,65535].
Select the parameter template associated with the instance.

Parameter
Template

Yes

You can apply a parameter template to configure parameters in batches for theinstance.
The system will automatically adapt the corresponding default template based on
the selected compatible version and architecture. For more information, see thedefault template in Applying Parameter Templates.

ProjectYes

Assign your instance to a project for easy management.

Tag

No

Add tags to your instance for easy classification and management. Click Add toselect tag keys and values.
Set security group rules to control the inbound traffic to your database. You canSecurityGroupYes

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

Yes

Enter up to 60 letters, digits, hyphens, and underscores.

SetPassword

Yes

Select the password authentication method, which can be Password
Authentication (default value) or Passwordless Authentication.

PasswordNo

If you select Password Authentication for Set Password, you need to set anNameaccess 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 (()`~!@#$%^&*-+=_|{}[]:;<>,.?/).

©2013-2022 Tencent Cloud. All rights reserved.

Page 11 of 14

TencentDB for Redis

It cannot start with a slash (/).
ConfirmPassword

NoQuantity

Yes

Terms ofServiceYesEnter the access password for the instance again.
You can purchase up to 30 pay-as-you-go instances at a time. 1–100 instances
can be purchased in each region.
Read TencentDB Service Level Agreement and Service Level Agreement andselect I have read and agreed to.

3. After verifying that the parameters are correctly configured, click Buy Now. After the purchase success message isdisplayed, click Go to Console. After the instance becomes Running in the status , you can use it normally.
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 APIs
APIDescription

CreateInstances﻿

Creates a TencentDB for Redis instance©2013-2022 Tencent Cloud. All rights reserved.

Page 12 of 14

TencentDB for Redis

Payment Overdue：

Last updated 2024-03-13 11:33:24
Note:
If you are a customer of a Tencent Cloud partner, the rules regarding resources when there are overdue payments aresubject to the agreement between you and the partner.

Pay-as-You-Go
Note:
After you stop using pay-as-you-go resources, terminate them as soon as possible to avoid fee deduction.
As your actual resource consumption may change over time, there may be some deviation in the balance alert.

AlertsPay-as-you-go resources are billed on the hour. When your account balance becomes negative, the system will sendan alert to your Tencent Cloud account creator, global resource collaborators, and financial collaborators via email,
SMS, and other methods as configured in the message subscription in the Message Center.
For more information on the message notification mechanism, see Postpaid Billing.

Overdue payment policy
When your account balance becomes negative:
You can continue to use your TencentDB instance for 24 hours. We will continue to bill you for this period.
After 24 hours, the TencentDB instance will be automatically shut down and isolated into the recycle bin, and thebilling will stop.
After automatic shutdown:
Within 3 days of shutdown, if you top up your account balance to greater than or equal to 0, the TencentDB instancecan be restarted, and billing will resume. However, if your account balance is less than 0, restarting will not bepossible.
After 3 days of shutdown,the TencentDB instance will be repossessed by Tencent Cloud. All data will be erased andcannot be recovered. Tencent Cloud account creator, global resource collaborators, and financial collaborators will be
notified by email, SMS, etc.

©2013-2022 Tencent Cloud. All rights reserved.

Page 13 of 14

TencentDB for Redis

Rectification Process
Once the account balance is topped up to a positive value, the Pay-As-You-Go instances will be transitioned into a
recoverable state. At this point, you can access the Recycle Bin and initiate the recovery process for the instances.

©2013-2022 Tencent Cloud. All rights reserved.

Page 14 of 14