Previous
Next

How to deploy a Scaling Group on Linode


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, as we are going to install LAMP, you should choose the Application tab and then category as Systems. After that, you have to select either LAMP system or LAMP system (configurable) as shown in picture below. You also provide your preferable Operating System. When finished, click next.






After that, you can choose different builders to deploy in your cloud server, being able to orchestrate scripts, configuration files, sources and recipes in different servers, choosing all the servers where you want to execute them. We have already selected the LAMP tool deployment. You are able to configure your server with these builders. You can upgrade your Operating System and also deploy your website files using sources as shown below. When finished, click next.






If you have selected LAMP systems (configurable), in the next step you have to provide configuration information about the deployment as illustrated:






After that, you choose the Security Keys used for ssh access, Load Balancer and Notification profile. 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 as illustrated:





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 servers 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 provides a option if you want to scale down the older cloud servers. It also allows 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 which 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 are able to scale immediately or cast a vote for scaling depending on your Target action. As, shown below:






You can also configure Scheduled scaling by defining 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:




30 day Free Trial.
No Credit Card required