Autoscaling Application Block: Scaling Down is not working with Constraint rules

Topics: Windows Azure Integration Pack
Jun 5, 2012 at 5:23 AM

I have one instance of webrole hosted under the service which will autoscaled to 2 instances using constraint rules at particular time and specifying the duration.

After the time interval I wants to scale down again to 1 instance.

Is scale down works with Constraint rules ?

I defined rules.xml as

<constraintRules>

<rule name="default" enabled="true" rank="1" description="default constraint rule">  <actions>

<range min="1" max="1" target="AutoscalingApplicationRole">  

</acions>

</rule>

<rule name="peaktime" enabled="true" rank="10" description="Increase instance count at peak times">  

<timetable startTime="06:45:00" duration="00:20:00" utcOffset="+00:00"> />

<actions>

<range min="2" max="5" target="AutoscalingApplicationRole"/>

 </actions>

</rule> 

</constraintRules> 

Jun 5, 2012 at 7:26 AM

Issue resolved