Auto scaling in Windows Azure & configuring Management Services from Management Portal

Recently announced the availability of auto scaling rules from Azure Management portal  instead of using the existing Enterprise Library block for Autoscaling(WASABi) app blocks. Auto scaling is now inbuilt for every hosted services (aka Cloud service, Virtual Machine, Website, Mobile service) .

Auto scaling rule as specifies executes based on following rules:

  • Constraint Rule : Constraint rules consist of one or more actions to set minimum and maximum values for the number of instances of a target, a rank, and optionally a timetable that defines when the rule is in effect. If there is no timetable, the rule is always in effect.
  • Reactive Rule : The rule based on varied metrics or constraints.
  • Importantly, constraint rules always take precedence over reactive rules, to ensure that these reactive rules cannot continue to add new role instances above a maximum value or remove role instances below a minimum level.

Lets check about the latest improvement on auto scaling improvements integrated from Azure Management Portal.

First , lets create a new cloud service & deploy webrole package.


  • Specify the settings for the role, add custom diagnostics  plan from settings (support from Azure SDK 2.0) configured with your storage account.



  • Lets publish the cloud service & start monitoring the configuration dashboard.


  • Lets open the scale tab from Cloud service details pane. Check the scaling settings by schedule , setting by metric (none, cpu, queue length).


  • Lets set up the schedule time span for adding / removing role instance setting.


  • Specify the setting rules for autoscaling metrics , in this demo , I have set up schedule rules for daytime of our cloud service.


  • You can configure the notification alerts from Azure Management Portal itself using Management Service tab.


  • To create a notification alert for autoscale, Click on Add Rule icon & specify the rule settings.



  • After creating the rule , check the dashboard of rule alert to monitor the activated notifications.


  • From latest add- on s of Auto scaling improvements in hosted services, an updated preview of web endpoints is also available. Click on Web endpoint preview section of your cloud service. For this demo, I have configured two web endpoints for monitoring the scale metric & log the throttling information (minimal) in the selected storage. Similarly an option of Linked Resource(SQL database, Storage Account) is also available now from the Azure Management portal itself.



About Anindita
Anindita Basak is working as Big Data Cloud Consultant in Microsoft. Worked in multiple MNCs as Developer & Senior Developer on Microsoft Azure, Data Platform, IoT & BI , Data Visualization, Data warehousing & ETL & of course in Hadoop platform.She played both as FTE & v- employee in Azure platform teams of Microsoft.Passionate about .NET , Java, Python & Data Science. She is also an active Big Data & Cloud Trainer & would love share her experience in IT Training Industry. She is an author, forum contributor, blogger & technical reviewer of various books on Big Data Hadoop, HDInsight, IoT & Data Science, SQL Server PDW & PowerBI.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: