Create Scaling Policy

An Auto Scaling policy defines how to perform scaling actions in response to CloudWatch alarms. Auto scaling policies can either scale-in, which terminates instances in your Auto Scaling group, or scale-out, which will launch new instances in your Auto Scaling group. For more information on Auto Scaling, see Using Auto Scaling in the Eucalyptus User Guide.

  1. Type a name for the scaling policy in the Name text box.
  2. Select an action type using the Action control. The action specifies what to do when a scaling condition is met.
  3. Type the numerical unit for the scaling action in the Amount text box. This value is used in conjunction with the value entered in the Measure control to determine how many instances to scale for this policy.
  4. Select the measure for the scaling action using the Measure control. This can be either a number of instances (for example: 'scale up by 2 instances') or a percentage value (for example: 'scale down by 10 percent').
  5. The cooldown period is the amount of time after the previous alarm-related scaling activity ends before new alarm-related scaling activities can start. Use the Cooldown period (seconds) widget to specify a cooldown period.
  6. Note: A CloudWatch alarm cannot be associated with more than 5 scaling policies.
    Select a CloudWatch alarm from the Alarm control. You can click the Create Alarm link to display the Create Alarm dialog. Auto Scaling uses CloudWatch alarms to determine when to take scaling actions.

Saving the Scaling Group

Once you're satisfied with the properties you've defined for your scaling policy, click the Create Scaling Policy button to save your work, or click the Cancel button to cancel.
For more information on Auto Scaling, see Eucalyptus User Guide.