Setting Auto-Scale Virtual Server (Linux Only)

 

Create Auto scale

Auto-scale allows for the automatic resizing (increasing/decreasing) of your virtual server according to the intensity of your workload. You can specify the conditions for the auto-scaling to take place for the CPU, RAM, and disk. Two auto-scaling options are available:

Option 1: Scale up-down - Increasing/decreasing the ram and disk of the virtual serer.
Option 2: Scale in-out - Increasing/decreasing the number of virtual server (also called node). This option requires the use of a load balancer. Please see our Knowledgeable to find the instructions of setting up load balancers.

Remark: 
For Linux-based VSs only.
 

Create Auto scale up-down

1. On the page that follows, click the Overview tab, and then click Autoscaling.
 


2. Press the required tab - Memory Usage, Disk Usage or CPU Usage - to see the statistics for each type of resources.
Below you will see UP and DOWN autoscaling options. Move the slider to the right to add the autoscaling rule or move it to the left to remove the rule.
 
Add autoscaling rules as explained below:

Set autoscale up options:

  • If RAM usage is above X% for a specific time period, add Y MB – but no more than Z MB in a 24 hour period.
  • If CPU usage is above X % for a specific time period, add Y% - but no more than Z% in a 24 hour period.
  • If disk usage is above X % for a specific time period, add Y GB - but no more than Z GB in a 24 hour period.

Set autoscale down options:

  • If RAM usage is below X% for a specific time period, remove Y MB.
  • If CPU usage is below X % for a specific time period, remove Y%.
  • If disk usage is below X % for a specific time period, remove Y GB.


3. Click Apply.
 
 

Create Autoscaling Cluster (in-out)

To add an autoscaling cluster to your cloud:

  1. Go to your Control Panel's Load Balancers menu.

Click the Add a Balancer button.
On the page that follows, fill in the form that appears:

Cluster Configuration

Port - specify the port for this load balancer to run on (e.g. 9090, 8080)

Load Balancer Instance

Label – give a name for your load balancer instance.

Hostname – specify a host name which will identify your load balancer.

Compute zone – choose a compute zone.

Compute resource – select a compute resource that will be enabled for the cluster.

Network zone – choose a network zone for this load balancer.

Port Speed – use the slider to set a port speed or tick the Unlimited box if required.

Load Balancer Type

Load balancer type - choose the Autoscaling option and click Next.

Cluster Nodes
These settings configure the nodes that will be added to your cluster.

 

Nodes network 

Nodes network group - the nodes network group for the cluster nodes.
Cluster Node Template

Image template – choose a template from the drop-down box: nodes will be built on this template

Min node amount – the minimum number of nodes in this cluster.

Max node amount – the maximum number of nodes in this cluster.

Example: if you set Min node amount = 2 and Max node amount = 5, then the system will scale out the cluster up to 5 nodes, and scale in to 2 nodes if required.
The only templates you can add to a cluster are those based on the selected compute resource/compute zone.

Cluster Node Parameters
These are the settings for each node of a cluster. Each node added to a cluster will have the following parameters:

Memory – set the amount of memory allocated per node in MB.

CPUs – the number CPUs which will form each node.

CPU Priority – specify CPU priority. For more info on CPU priority, refer to Create VSs section.

Rate Limit – set the port speed for a node.

Autoscale Out Parameters
Set the rules defining when the system should add more nodes to your autoscaling cluster. The system will add nodes until the limit set in the Max node amount field is reached.

- If CPU usage is above X % for a specific time period, add Y Node Time x Minutes.

Autoscale In Parameters
Set the rules defining when the system should remove the nodes from your autoscaling cluster. The system will remove nodes until the limit set in the Min node amount field is reached.

- If CPU usage is below X % for a specific time period, remove Y Node.

 

Click Save.

  • Email, SSL
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Edit Virtual Server Network Speed

1. Click Networking > Network Interface to view your port speed2. Click the edit icon to...

Edit Resource Virtual Server

Editing your virtual server allows you to make changes to the label, CPU, RAM and time zone of...

Rebuild Virtual Server - Changing Your OS

Rebuilding Virtual Server allows you to change the OS of your server without having to create a...

Basic Cloud Server Navigation

1. Dashboard - Gives you an overview of the current resources in your cloud environment (CPU,...

Migrate Virtual Server

Virtual server migration allows you to move your virtual server from 1 physical server to...