Creating a Manual Scaling Policy
-
On the Cloud Fabric > Scaling > Policies tab, click the Policy button and then click +Policy. The Create New Scaling Policy dialog displays.
-
Enter a name for the scaling policy that clearly describes what the policy will do.
-
Select Manual Scaling.
-
Select Spoke VPC/VNets, Transit VPC/VNets or SNAT Enabled VPC/VNets.
-
In the Monitor VPC/VNets field, enter the name of the VPC/VNet, which displays the matching VPC/VNets that can be assigned to the policy.
SNAT enabled VPC/VNets that also have BGP or egress enabled will not be available in the Monitor VPC/VNets field. -
Click Select All to select all of the matching VPCs/VNets and assign them to the policy. Or, select the checkbox next to specific VPC/VNets to include them.
-
Under Trigger Conditions, select ‘Matches all conditions (AND)’ or ‘Matches any condition (OR)’ to determine if all conditions must be met, or if only one of the conditions must be met. The metric chosen must have an average greater than or less than the chosen threshold limit, relative to the Evaluation Period. In either case these conditions must be sustained for the configured Evaluation Period to generate manual scaling recommendations.
When a scale recommendation is triggered, the recommendation will stay active as long as the metrics are above or below the threshold. If the metrics fall out of the threshold, the recommendation will no longer be active.
Available system and network trigger conditions are:
-
-
CPU Used (%)
-
Memory Used
-
Memory Used (%)
-
-
-
Transmitted Rate
-
Received Rate
-
Total Rate
-
Packets Transmitted Rate
-
Packet Received Rate
-
Total Rate (in packets)
-
Bandwidth Ingress Limit Exceeded Rate
-
Bandwidth Egress Limit Exceeded Rate
-
PPS Limit Exceeded Rate
-
Conntrack Limit Exceeded Rate
-
Packet Drop Rate
-
Packet Drop Rate (%)
-
-
-
Continue adding trigger conditions as needed. You can enter a maximum of five trigger conditions, or five groups that each contain a maximum of five trigger conditions.
-
In the Evaluation Period field, enter the duration of time (in minutes) where CoPilot evaluates the average of the metric(s) specified to trigger the action of recommending gateway scaling.
-
In the Recommendation Operation field, select the scaling operation to perform, which is dictated by the VPC/VNet type (Spoke or Transit).
In Spoke VPC/VNets you can increase/decrease instance sizes (scale up/down) or add/remove gateway instances (scale out/in).
In Transit VPC/VNets and SNAT Enabled VPC/VNets you can only increase/decrease instance sizes (scale up/down).
-
When scaling up/out, the current gateway size is increased for as long as the trigger conditions are met, or a gateway instance is added. If you are adding a gateway instance, an instance is added to an empty subnet.
-
When scaling down/in, the current gateway size is decreased for as long as the trigger conditions are met, or a gateway instance is removed.
Prior to version 7.0 gateways in a single VPC/VNet are scaled to use the same instance size.
Once the VPC/VNet recommendation has been created, and the scaling action has completed, the VPC/VNet will be removed from the policy.
-
Once a recommendation has been accepted, the gateway will not scale (up/down or in/out) until another manual policy has been configured, and another recommendation has been generated. |
-
In the Send Notifications To field, select the email address where the notification is sent when the trigger conditions are met. If this field is left blank, you will not receive alerts.
-
Click Save to save the policy and begin monitoring the selected VPCs/VNets.
-
After you receive your notification email, go to the Scaling > Recommendations tab to execute the recommendation.