Scaling Groups


ECmanaged provides you scaling groups to ease up your platform deployment and management. With it you can define your platform's configuration, so you do not need to go through the New Cloud Server wizard repeatedly. You can also configure automatic scaling of your platform.

To create a scaling group, you have to go to the Infrastructure > Scaling Groups and click on the New Scaling group button which will bring up the New Scaling Group wizard. In the first step of the wizard, you have to provide a name to the scaling group. You also choose the cloud provider, availability zone for the server, and the size of the server. When finished, click next.

In the next step, you need to select the Image properties for you cloud platform. You choose a Simple image with the distribution name and distribution version as shown in picture below. You can also choose a pre-defined application deployment from Application tab or use a backup image from backup tab. When finished, click next.

In the next step, you can choose different builders to deploy in your cloud server. You can learn more about builders here. When finished, click next.

In the next step, you choose the Security Keys used for ssh access. Notification Profile is another advanced option which is discussed here. You can schedule destruction of your cloud server using Cloud Server Expires. The ECMagent monitoring is enabled by default. With the Launch cloud server checkbox, you can control if you want to only create the scaling group or also launch the server. When finished, click Save or Save and Launch.

If you choose to launch the server, the output is shown below:

Once you finish configuring your scaling group, it will be listed on the Infrastructure > Scaling Groups. As shown below:

Next step is to define your custom rules for auto scaling. You should click on your scaling group and then navigate to Autoscaler and click on the Add Autoscaler button as shown below:

You can define the number of minimum and maximum cloud server for your scaling group cloud platform. Scaling group works on basis of votes generated by your triggers to scale up or down your platform. You can define the number of votes required for scaling up or down. The checkbox provide the option if you want to scale down the older cloud servers. It also also provides you to define the cooldown or wait time after a scale up or down.

Some cloud providers have a minimum time price which will be charged if you instantiate a server. With the Save Money you can configure your scaling group accordingly.

Then you need to define your triggers. The first is the Capacity trigger, with it you can schedule the scaling up basis of usage of CPU, memory and disk. You can define different conditions for scaling up and down. You can scale immediately or cast a vote for scaling depending on your Target action. As, shown below:

You can also configure Scheduled scaling. You can define the weekdays and the hour when you want to scale up and down.

Using the Date and Time, you can pre-define a date and time for scaling. With this you can be ready for scheduled traffic as for christmas.

ECmanaged also supports triggers defined with webhook. As shown below: