Scaling In a Logstash Cluster
If a cluster can process current traffic without fully utilizing its resources, you can scale in the cluster to cut costs.
Scaling in a Logstash cluster means to randomly remove some of its nodes, so that it is less costly to keep it running.
Prerequisites
The cluster is in the Available state and has no ongoing tasks.
Constraints
- To reduce the impact on services, you are advised to perform scale-in during off-peak hours.
- In a cross-AZ cluster, the difference between the numbers of the same type nodes in different AZs cannot exceed 1.
Reducing the Nodes of a Logstash Cluster
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Logstash. The Clusters page is displayed.
- In the cluster list, select the target cluster, and choose More > Modify Configuration in the Operation column. The Modify Configuration page is displayed.
- On the Modify Configuration page, choose the Scale Cluster tab and click Scale in to set parameters.
Table 1 Reducing nodes randomly Parameter
Description
Action
Select Scale in.
Resources
Shows the change of resources for this scale-in operation.
Nodes
Reduce the number of nodes in the Nodes column.
- Click Next.
- Confirm the information and click Submit.
- Click Back to Cluster List to switch to the Clusters page. The Task Status is Scaling in. When Cluster Status changes to Available, the cluster has been successfully scaled in.
Parent topic: Scaling a Logstash Cluster
- Prerequisites
- Constraints
- Reducing the Nodes of a Logstash Cluster