tencent cloud

Feedback

Configuring auto scale-out

Last updated: 2024-02-18 11:15:42
    This section describes how to enable and disable automatic scaling.

    Prerequisites

    The instance architecture uses MySQL general two-node/three-node or single-node local disk (read-only instance).
    The instance specification is equal to or less than 32 cores before the CPU Elastic Scaling feature is enabled.
    Your Tencent Cloud account has sufficient balance.
    Note:
    For information on billing of automatic scaling, please see Billing Overview.

    Enabling Automatic Scaling

    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID or Manage in the operations column to go to the instance details page.
    2. On Instance Details -> CPU Auto Scaling, click Enable.
    
    3. In the CPU Auto Scaling window, complete the following settings, and after confirming the scaling fee, click Scale Now.
    
    Parameter
    Description
    CPU Auto Scaling Type
    Select Automatic Scaling.
    CPU Auto Scaling Threshold
    Configure the threshold for automatic elastic scale-out triggered by average CPU utilization. Available options are 40%, 50%, 60%, 70%, 80%, and 90%.
    Observation Period
    Set the observation period to 1 minute, 3 minutes, 5 minutes, 10 minutes, 15 minutes, or 30 minutes. Within this specified time period, the system will monitor whether the average CPU utilization of the instance reaches the set scaling threshold. If it does, automatic elastic scaling will be triggered.
    Note:
    To mitigate the impact of continuous intermittent peaks, there is a minimum protection period of 10 minutes during automatic scaling. This means, if the automatic scaling lasts more than 10 minutes, the costs are calculated based on the actual scaling duration. If the automatic scaling lasts for no more than 10 minutes, the costs are calculated based on a 10-minute duration.
    
    
    CPU Automatic Elastic Scale-In Threshold
    Configure the threshold for automatic elastic scale-in triggered by average CPU utilization. Available options are 30%, 20%, and 10%.
    Observation Period
    Set the observation period to 5 minutes, 10 minutes, 15 minutes, or 30 minutes. This specifies an interval during which the system monitors the average CPU utilization of the instance and determines whether it reaches the set scale-in threshold. If the threshold is reached, automatic elastic scale-in is triggered.
    4. After automatic scale-out is triggered successfully, the interface will display as the following:
    
    Note:
    After automatic scaling is enabled, if you need to modify the automatic scaling policy, you can navigate to Instance Details -> CPU Auto Scaling, and click Modify for reconfiguration.

    Disabling Automatic Scaling

    Note:
    The billing for automatic scaling starts from the successful triggering of the scale-out operation to the moment of scale-in. If there is no scale-out operation, no extra fees will be charged.
    After automatic scaling is disabled, all expanded CPU capacity will immediately scale in to the original number of CPU cores, and no further scale-out operations will be triggered based on the scale-out threshold.
    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID or Manage in the operations column to go to the instance details page.
    2. Navigate to Instance Details -> CPU Auto Scaling and then click Disable.
    3. In the pop-up window End CPU Scaling, click OK.
    
    
    
    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