tencent cloud

Feedback

DocumentationTDSQL-C for MySQLPurchase GuideChange from Pay-as-You-Go to Serverless Billing
DocumentationTDSQL-C for MySQLPurchase GuideChange from Pay-as-You-Go to Serverless Billing

Change from Pay-as-You-Go to Serverless Billing

Last updated: 2024-12-26 19:38:15
The billing mode of TDSQL-C for MySQL can change from the pay-as-you-go mode to the Serverless mode. TDSQL-C for MySQL implements this change by converting the cluster type on the backend. After a successful conversion, the cluster's instance form will also change from pre-allocated resources to the Serverless form. After the conversion, bills and details will change, while the billing mode will remain as the pay-as-you-go mode.
Note:
During the change from pay-as-you-go billing to serverless billing, the database can be accessed normally but will experience a momentary interruption when the billing mode is changed. Therefore, we recommend you configure an automatic reconnection feature for your application.
The change from pay-as-you-go billing to serverless billing is irreversible.
The change from the pay-as-you-go mode to the Serverless mode is supported only if the original cluster's regions and availability zones support creating clusters with the Serverless instance type.
After the original pay-as-you-go cluster is converted to a Serverless cluster, the original private network address will remain unchanged.

Directions

1. Log in to the TDSQL-C for MySQL console.
2. Select a region at the top and proceed according to the actually used view mode:
Tab view
List view
Click Target Cluster in the cluster list on the left to enter the cluster management page, and click More > Pay-as-You-Go to Serverless.

Select the target instance in the instance list, and click More > Pay-as-You-Go to Serverless in the Operation column.

3. In the pop-up dialog box, set the relevant configuration of the database requiring change to the Serverless mode, read the rule, check the box of agreeing to it, and click OK.

Parameters
Note:
Serverless Architecture
If there are only read-write instances in the original pay-as-you-go cluster, the Serverless Architecture can be set to the Single-Node Edition or the Cluster Edition.
If there are both read-write instances and read-only instances in the original pay-as-you-go cluster, the Serverless Architecture will be set to the Cluster Edition by default.
Read-Write Node Compute Unit Configuration
It is used to configure the compute unit range for read-write nodes. For more information on compute unit configuration, see Service Compute Unit Configuration.
Read-Only Node Compute Unit Configuration
If the Serverless Architecture is the Single-Node Edition, this parameter is not required.
If the Serverless Architecture is the Cluster Edition, you can configure the number of read-only nodes (1-8) and the compute unit range here. For more information on compute unit configuration, see Service Compute Unit Configuration.
Auto-Pause
Checking this option indicates that the database will automatically enter a paused state if unused within a set time. Within a pause, computing resources will not be billed. After checking this option, you need to set the auto-pause time below.
If this option is not checked, the database will remain in continuous operation. You can manually pause the database as needed and also enable the auto-pause feature in the console later. For details, see Auto Start/Stop.
Operation Time
Execute Immediately: After you click OK, the task will be executed immediately.
Within Maintenance Time: After you click OK, the conversion task will be executed within the next maintenance time.
Note:
During the operation, there will be second-level interruption. Please ensure your business has a reconnection mechanism.
4. When the cluster status is updated from "Running Async Task: Switching Serverless" to "Running", the conversion is successful.
Note:
You can go to the Task List to view the progress and details of the conversion task. See Task List.

Catalog

In The Article

Change from Pay-as-You-Go to Serverless Billing

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