Enabling Auto Scaling in Windows Azure Virtual Machine & adding Linked Resources
September 15, 2013 3 Comments
Recently faced few scenarios about handling auto scaling strategies in Windows Azure Virtual Machines. This demo will lap around the autoscaling establishment in virtual machines containing SharePoint 2013 VM/ SQL Server 2012/2014 CTP1 VM/Linux VM.
In this demo , I have selected a SQL Server 2014 CTP1 VM with Windows Server 2012 R2 edition in order to made effective auto scaling which contains hdinsight clusters as proof-of concept of SQL server 2014 CTP1 (Big Data Lambda Architecture).
Lets first create the VM , selected from Azure Management portal itself.
- Add Configuration to your name , including choosing availability set.
- Add Cloud service & associated Storage Account for storing VHD /s
- alternatively, you can specify the endpoint of your virtual machine on azure for HTTP/HTTPS/MSSQL etc .
- After configuring the VM, open the Dashboard from the management portal , select ‘Scale’ tab & specify your schedule settings for Constraints rules.
- Configure the scale settings based on schedule time Weekday/Weeknight/Weekend based on timezones , by selecting scale metrics (CPU, Queues) & scale up .
- Save your configuration rules in VM availability set.
- Next, open the dashboard , select the ‘Linked Resources‘ tab , in order to add additional storage account/ SQL database configured for VM.
- Specify , your storage credential , since it’s always advisable to keep your diagnostic storage account separate from other storage accounts.
- Next , connect to the SQL Server 2014 CTP 1 VM on Windows Server 2012 R2 , Open SSMS 2014 .