Autoscaling in CloudHub

logo cloud active logo hybrid disabled logo server disabled logo pcf disabled

To use the autoscaling feature, you must have the correct product license. Contact your account representative to obtain the required license.

CloudHub allows you to make the processing power behind your applications responsive to changes in their usage. You can define policies that respond to CPU or Memory usage thresholds by either scaling up or scaling down the processing resources used by an application.

Configuring Autoscaling

  1. Enter the Applications tab of the Runtime Manager.

  2. Select an application deployed to CloudHub to open open its panel

  3. In the panel click Manage Application.

  4. In the Settings section, select the Autoscaling tab. From here you can see all existing autoscaling policies, activate or deactivate them, create or delete them, and create associated Alerts on Runtime Manager.

Creating a Policy

To create a policy, click the Create Policy button, then configure a few fields to set your policy up.


Changes in worker size or number are triggered when a policy meets its requirements. Policies can either be based upon CPU or Memory usage, and they can either modify worker numbers or worker size. All policies include a scale up and a scale down condition.


  1. Provide a Name for your policy

  2. Determine if the scaling will be based on Memory or CPU usage.

    The percentage shown is the percentage of total memory or CPU allocated for the JVM that’s being used (includes the memory being consumed by jvm itself)
  3. Determine the Rules for your scaling. You must provide the following values both for the upscale and the downscale conditions:

    1. A usage percentage

    2. A period of time throughout which this level must be sustained before the policy is applied

    3. A cool-down period that blocks this and other policies from affecting scaling from being applied

  4. Define what action will be performed when the policy is applied

    1. If it will affect the number of workers or the size of them

    2. Set a maximum and minimum value to fluctuate in between

Scaling Considerations

All policies scale your application one step at a time. To scale up to meet a very pronounced spike that requires scaling various steps, each step will take CloudHub the sum of the policy evaluation time plus the cool-down period.

You can only apply one autoscaling policy per application.

The maximum amount and size of workers that you have available is limited by the characteristics of your account. If multiple applications running in your account compete for limited resources, they are allocated in a first-come, first-serve manner.

Editing an Existing Policy

To edit an existing policy, open the policies tab. Click the policy name and you will access the same menu that is used to create a new policy.

Deactivating a Policy

To deactivate a running policy, open the policies tab and flip the switch in its corresponding Status field:


Deleting a Policy

To delete an existing policy, go to the policies tab, then click its corresponding delete icon.

Setting an Alert and Viewing Autoscaling History

Two specific types of Alerts can be set up for applications on CloudHub that warn you whenever a worker autoscaling event occurs. One alerts you about scale ups and the other about scale downs.

With this alert set, emails will be automatically sent to the addresses you provide whenever such an event occurs.

You can also see a full history of all of the times that the alert has been triggered. To see this, from the Alerts page, click on an alert name to open its corresponding panel:


We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.