Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

Explored Azure Cloud Service auto scaling feature

This weekend I had a chance to try this blog post by Kirk Evans here. Finally decided to try myself and experience the fact. Trust me, its one of the cool feature implemented in Azure. I can’t imagine how many lines of code would execute in the back-end for each of those button click from portal, say increase the core, queue, cpu etc – really hard to imagine or think about it.

#Hats off to Azure team for their flawless implementation. I was able to experience this feature end to end without any bug or hassle. few observation from my point,

Objective:
========
How to automatically scale the worker role based on the number of messages in a queue

+ Kirk has used Azure service bus to validate this functionality. I have also used the same .NET console application to pump the queue message. It took sometime to fix those project reference etc. Finally with Nuget able to resolve the dependencies and publish it successfully.
+ Everything went flawlessly from there. Spent my time mostly in the portal to know the settings and tweaking it. I think we should bring those nuget console to the project context menu for quicker launch. Right now it is buried some where under main menu of Visual Studio.
+ Though auto scaling worked like charm, the dashboard chart is not getting refreshed or reflecting real data, not sure what’s going on there.

Note: Auto scale feature automatically creates or destroys the VM’s based on the rules

+ Source code uploaded here – http://1drv.ms/1M0I0dS && http://1drv.ms/1M0I51d

+ Screenshots here.

This slideshow requires JavaScript.

Happy weekend !

Advertisements

March 1, 2015 Posted by | Azure, Azure Cloud Service | | Leave a comment

   

%d bloggers like this: