Configuring Custom Scale-Up Policies for a Serverless Instance (OBT)
Scenarios
You can configure custom scale-up policies and increments for a serverless instance. In this way, you can effectively control the conditions for triggering a compute scale-up. You can configure scale-up policies for CPU usage and memory usage. You can configure up to two custom scale-up policies for CPU usage and memory usage respectively, with at least one policy required for each of them.
If no custom scale-up policies are configured, the default scale-up policies will be used.
Usage Notes
To configure custom scale-up policies for a serverless instance, submit a service ticket.
Billing
After the compute is scaled up, the new compute is billed based on actual usage. For details, see Product Pricing Details.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Click
in the upper left corner of the page and choose Databases > TaurusDB. - On the Instances page, click the instance name to go to the Basic Information page.
- In the Serverless Information area, click Configure under Scaling Type.
Figure 1 Changing serverless information
- In the displayed dialog box, enable Custom Expansion Policy and Customized expansion step, customize policies for CPU usage and memory usage, and set Step length threshold.
Figure 2 Configuring custom scale-up policies
Figure 3 Configuring the custom scale-up increment
Table 1 Parameter description Parameter
Description
Metric Name
Only CPU usage and memory usage are supported.
Metric Value
If the metric value remains above the threshold within the specified duration, the compute will be scaled up.
Value range: 60% to 80%
Duration
If the metric value remains above the threshold for the specified duration or longer, the compute will be scaled up.
Value range: 2s to 5s
Interval time
This parameter specifies the time elapsed since the last scale-up.
Value range: 1s to 5s
Step length threshold
This parameter specifies the increment (in TCUs) for each scale-up. 1 TCU is approximately equal to 1 CPU and 2 GB of memory.
If the conditions are met, the compute will be scaled up by this increment. If no increment is configured, the current compute will be used as the scale-up increment by default.
Value range: 2 to half of the maximum compute
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot