2. Create Scaling Policy
Last updated
Last updated
Scaling Policy is used to scale based on metrics with further information about the rules that users give to decide how many instances are added or removed from the group during an in/out scaling execution.
Step 1: Go to Autoscaling page > Autoscale Policy > Select Create Policy.
Step 2: A new dialog box will appear. On Policy type, select Scaling.
Step 3: A new dialog box will appear with three more options. Users configure as following:
Change type
The type of adjustment for Autoscale group (Exact capacity/Change in capacity/Change in percentage)
Event
The type of event that will trigger this policy
(Scale in/Scale out)
Number
Depending on the Change type field, the value will have different meanings:
Exact capacity: The new capacity of the Autoscale Group (Must be a positive integer).
Change in capacity: The number of Instances added/removed from the Autoscale Group (Must be a positive integer).
Change in percentage: The current capacity percentage of Autoscale Group to calculate the number of Instances to be added or removed.
Eg: The value of Number is 50%, the capacity of Autoscale Group is 4, the event is Scale out, then when a Scale out action is performed, the number of Instances added is 50% of 4, and the new capacity is 6.
Step 4: Click Create.
The system will confirm and create a new policy.