tencent cloud

Feedback

Creating Serverless Cluster

Last updated: 2023-11-09 14:27:04
    This document describes how to create a serverless cluster in the TDSQL-C for MySQL console.

    Prerequisite

    To make a purchase, you need to complete identity verification first. For more information, see Identity Verification Guide.

    Directions

    1. Log in to the purchase page and complete the Database Configuration settings.
    Parameter
    Description
    Instance Mode
    Select Serverless.
    Database Engine
    Select MySQL.
    Region
    Select a region for database deployment.
    Currently, the serverless billing mode is supported only in Guangzhou, Shanghai, Beijing, Nanjing, Hong Kong (China), Silicon Valley, Virginia, and Singapore regions. If you need to use it in other regions, submit a ticket for assistance.
    Source AZ
    Select an AZ for deployment. Specific AZs in the selected region are shown on the actual purchase page.
    Multi-AZ Deployment
    Currently, serverless instances don't support multi-AZ deployment.
    Transfer Linkage
    It is "High IO" by default.
    Network‍
    For performance and security considerations, only VPC network is supported currently. CVM instances can communicate with TDSQL-C instances only in the same VPC.
    Database Version
    MySQL 5.7 and 8.0 are supported.
    Compute Unit
    Select the upper and lower limits of the TDSQL-C compute unit (CCU), and the instance will be automatically and elastically scaled within the selected resource range.
    CCU is the computing and billing unit for the serverless mode. A CCU is approximately equal to 1 CPU core and 2 GB memory. The number of CCUs used in each billing cycle is the greater of the number of CPU cores used by the database and 1/2 of the memory size. For more information, see Compute Unit.
    Auto-Pause
    Configure the automatic pause time of the instance. If there is no connection to access the database within the set time, the instance will be automatically paused, with billing stopped.
    2. Complete the Specification Billing configuration and click Next.
    Note
    Total serverless cluster fees = compute node fees + storage space fees = serverless computing power price number of CCUs + storage space price storage space
    Parameter
    Description
    Compute Billing Mode
    Resource pack (monthly subscription) and pay-as-you-go billing are supported.
    The compute resource pack will be used preferably for the deduction of actual usage of pay-as-you-go products. When the pack is used up, the resource usage will be pay-as-you-go. Compute resource packs are deducted based on the actual CCU used per second. The resource pack mode is more cost-effective and flexible than the pay-as-you-go option.
    Compute resource pack (displayed when selecting Resource Pack in the compute billing mode)
    You can bind all valid compute resource packs available in the selected region under the current account. If no resource pack is available, you can purchase a resource package first.
    Storage Billing Mode
    Resource pack (monthly subscription) and pay-as-you-go billing are supported.
    ‌The storage resource pack will be used preferably for the deduction of actual usage of pay-as-you-go products. When the pack is used up, the resource usage will be pay-as-you-go. Storage resource packs are deducted based on the actual storage used per hour. The resource pack mode is more cost-effective and flexible than the pay-as-you-go option.
    Storage resource pack (displayed when selecting Resource Pack in the storage billing mode)
    You can bind all valid storage resource packs available in the selected region under the current account. If no resource pack is available, you can purchase a resource package first.
    3. Select the number of clusters. You can batch purchase multiple clusters of the same specification. Then, click Next.
    4. Complete the Basic Info and Advanced Configuration settings, confirm the fees, and click Buy Now.
    Basic Info
    Parameter
    Description
    Cluster Name
    Set a name for the cluster now or later. It must contain less than 60 letters, digits, or symbols (-_.).
    Admin Username
    It is root by default.
    Password
    The password can contain 8–64 characters in at least three of the following character types: uppercase letters, lowercase letters, digits, and symbols ~!@#$%^&*_-+=|\\(){}[]:;',.?/.
    Default Character Set
    UTF8, GBK, LATIN1, and UTF8MB4 are supported.
    Custom Port
    It is 3306 by default and can be customized.
    Advanced Configuration
    Parameter
    Description
    Security Group
    Select or create a security group.
    Parameter Template
    Select or create a parameter template.
    Table Name Case Sensitivity
    Select Case-Insensitive or Case-Sensitive.
    Project
    Specify a project for the cluster to be created.
    Alarm Policy
    Select or create an alarm policy.
    Tag
    Add a tag to facilitate resource categorization and management.
    Terms and Conditions
    Read and indicate your consent to the terms and conditions.
    5. After the purchase is completed, you will be redirected to the cluster list. After the status of the cluster becomes Running, it can be used normally.
    Note
    If only the compute resource pack is bound, the compute nodes of the serverless cluster will be deducted by using the bound compute resource pack, while the storage nodes will be billed on a pay-as-you-go basis.
    If only the storage resource pack is bound, the storage nodes of the serverless cluster will be deducted by using the bound storage resource pack, while the compute nodes will be billed on a pay-as-you-go basis.
    If both the compute and storage resource packs are bound, both the compute and storage nodes of the serverless cluster will be deducted by using the bound compute and storage resource packs.
    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