How to Create a Horizontal Auto Scaling Rule

Description

Icon

This article describes how to add a Horizontal Auto Scaling Rule.

Prerequisites:

  1. We strongly recommend you create a separate Sub-Administrator account with "Network" and "Server" roles to manage all of the Auto Scaling functions. See How to Create a Sub-Administrator using the CloudControl UI
  2. For an overview of Horizontal Auto Scaling and how to use it, see: What is Horizontal Auto Scaling and How Do I Use It
  3. Cloud Monitoring must be enabled on the Servers in order to utilize this feature. See: How to Enable Cloud Monitoring for a Server
  4. Must have 2 or more load balanced Virtual Servers assigned to the same VIP. For details see: Understanding MCP 1.0 vs. MCP 2.0 Data Center Locations

Content / Solution:

  1. Access the Auto Scaling Manager as described here:

  2. Once you have logged in to the Auto Scaling Manager, click on the Get Started button:

    Note: This screen will be displayed each time you access the Auto Scaling Manager, unless you select the "Do not show again" checkbox, located on the bottom right of the screen:

    Selecting this checkbox will disable this screen permanently.

  3. Click on the Add New Horizontal Auto Scaling Rule button:


  4. The Create New Horizontal Auto Scaling Rule form will be displayed:


  5. Fill out the form with the appropriate information:

    • Network - Choose the desired Network from the dropdown menu.
    • VIP - Choose the desired VIP from the dropdown menu.
    • Metric - Choose the desired Metric (either CPU or Memory).
    • Auto Scaling Thresholds - Set minimum and maximum thresholds based on the Metric you defined by sliding the buttons up and down the scale to either increase or decrease the threshold. You can also click on the button and use the directional arrows on your keyboard to increase or decrease the threshold. The Auto Scaling Thresholds cannot be set to within 20 percentage points of each other.
      • CPU - System defaults: Minimum 10%, Maximum 80%
      • Memory - System defaults: Minimum 10%, Maximum 70%
        • Note: Auto Scaling relies on the maximum burstable limit of a vCPU when initiating its auto scaling actions. Since it is more difficult for VMs with High Performance CPU Speeds in MCP 2.0 locations to reach their burstable limits during periods of contention, it is a good idea to use a lower maximum threshold for these types of virtual machines.  See the following article for more information on CPU Speeds: Introduction to CPU Speeds (vCPU Classes)
      • Amount of Time Before Up Scaling - Set the amount of time (in minutes) before up scaling. The minimum amount of time is 5 minutes. The maximum amount of time is 6 hours.
      • Note: Options are displayed in 5 minute increments. 
      • Amount of Time Before Down Scaling - Set the amount of time (in minutes) before down scaling. The minimum amount of time is 30 minutes. The maximum amount of time is 6 hours.
        • Note: Options are displayed in 5 minute increments.
      • Minimum Server Limit - Set a hard minimum Server limit (e.g. if you have 4 Servers deployed, but never want to go below 2 Servers running in the Server Farm, set the Minimum Server Limit to 2 Servers). 
      • Send Email Notifications - Indicates whether or not you will receive email notifications each time an Auto Scaling action is performed. Leave this box checked if you want to receive email notifications when the Auto Scaling system performs an action. To opt out of receiving these email notifications, uncheck this box.
      • Notify Email Address - The email address(es) to which the system will send Auto Scaling notifications.
        • Note: Multiple email addresses must be separated by a comma (,).
        • Note: Hover your mouse over the 'information' button  to see a popup with additional information about each item.
           
  6. Click the Save Rule button:

     

  7. You will be redirected back to the Auto Scaling Manager page where your new Auto Scaling rule will be displayed:


  8. The Recent Auto Scaling Actions section displays all of the Auto Scaling actions that have taken place within the last 24 hours. Click on the View All Auto Scaling Actions button to see a list of all of the Auto Scaling actions:

    Note: It may take several seconds to populate the list

Recently Updated