Configuring AutoScale
159
6. In the Load Balancing node of the diagram, click View All.
In a Basic zone, you can also create a load balancing rule without acquiring or selecting an IP
address. CloudPlatform internally assigns an IP when you create the load balancing rule, which
is listed in the IP Addresses page when the rule is created. To do that, select the name of the
network, then click the Add Load Balancer tab. Continue with 7.
7. Fill in the following:
• Name: A name for the load balancer rule.
• Public Port: The port receiving incoming traffic to be balanced.
• Private Port: The port that the VMs will use to receive the traffic.
• Algorithm: Choose the load balancing algorithm you want CloudPlatform to use. CloudPlatform
supports a variety of well-known algorithms. If you are not familiar with these choices, you will
find plenty of information about them on the Internet.
• Stickiness: (Optional) Click Configure and choose the algorithm for the stickiness policy. See
Section 16.8.3, “Sticky Session Policies for Load Balancer Rules”.
• AutoScale: Click Configure and complete the AutoScale configuration as explained in
Section 16.8.2, “Configuring AutoScale”.
• Health Check: (Optional; NetScaler load balancers only) Click Configure and fill in the
characteristics of the health check policy. See Section 16.8.4, “Health Checks for Load Balancer
Rules”.
• Ping path (Optional): Sequence of destinations to which to send health check queries.
Default: / (all).
• Response time (Optional): How long to wait for a response from the health check (2 - 60
seconds). Default: 5 seconds.
• Interval time (Optional): Amount of time between health checks (1 second - 5 minutes).
Default value is set in the global configuration parameter lbrule_health check_time_interval.
• Healthy threshold (Optional): Number of consecutive health check successes that are
required before declaring an instance healthy. Default: 2.
• Unhealthy threshold (Optional): Number of consecutive health check failures that are
required before declaring an instance unhealthy. Default: 10.
8. Click Add VMs, then select two or more VMs that will divide the load of incoming traffic, and click
Apply.
The new load balancer rule appears in the list.
9. You can repeat these steps to add more load balancer rules for this IP address.
16.8.2. Configuring AutoScale
AutoScaling allows you to scale your back-end services or application VMs up or down seamlessly
and automatically according to the conditions you define. With AutoScaling enabled, you can ensure
that the number of VMs you are using seamlessly scale up when demand increases, and automatically
decreases when demand subsides. Thus it helps you save compute costs by terminating underused