first look at built-in autoscaling and alerting
DESCRIPTION
Presentation of First Look at Built-in Autoscaling and Alerting at Brisbane Azure User Group Brisbane Azure User Group http://www.meetup.com/Brisbane-Azure-User-Group/events/126120562/TRANSCRIPT
![Page 1: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/1.jpg)
First Look at Built-in Autoscaling and Alerting
Paul Bouwer@pbouwer | blog.paulbouwer.com
![Page 2: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/2.jpg)
autoscaling
![Page 3: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/3.jpg)
Justifying your Cloud Investment: Web Sites – Forrester (Nov 2010)
The power of cloud economics is elasticity - the ability to pay for resources only when they are needed and to scale infrastructure up and down on demand
![Page 4: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/4.jpg)
tCom
pute
Inactivity
Period
t
t
On and OffOn & off workloads (e.g. batch job)Over provisioned capacity is wasted Time to market can be cumbersome
Unpredictable BurstingUnexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases
Com
pute
Predictable BurstingServices with micro seasonality trends Peaks due to periodic increased demandIT complexity and wasted capacity
Com
pute
![Page 5: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/5.jpg)
WASABi - Windows Azure Autoscaling Application Block Microsoft Enterprise Library 5.0 (Integration Pack for Windows Azure)
AzureWatchParaleap
MetricsHub
![Page 6: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/6.jpg)
![Page 7: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/7.jpg)
![Page 8: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/8.jpg)
![Page 9: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/9.jpg)
what do you get?
![Page 10: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/10.jpg)
Built in• Currently in Preview• Available for Mobile Services, Web Sites, Cloud
Services, Virtual Machines• Limited to 10 rules across all resources
![Page 11: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/11.jpg)
Scale• Instance range• Scale up/down size• Scaling cool downs• Scale linked resources
![Page 12: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/12.jpg)
Metrics• Evaluated every 5 minutes• Use only one• CPU percentage (60 min average across all
instances)• Queue depth (Storage and Service Bus)
![Page 13: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/13.jpg)
Scheduled Rules• Day and night schedule
![Page 14: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/14.jpg)
Operational• History• Failure Notifications to Service Admin and Co-
Admin
![Page 15: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/15.jpg)
demo
![Page 16: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/16.jpg)
limitations
![Page 17: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/17.jpg)
Virtual Machines• Must be in Availability Set
![Page 18: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/18.jpg)
Web Sites• Standard• Metrics (CPU percentage)
![Page 19: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/19.jpg)
Mobile Services• Standard (6 units), Premium (10 units)• Metrics (API usage)• Scales up at 90% of daily API usage• Does not scale down• Resets to base units at start of each UTC day
![Page 20: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/20.jpg)
demo
![Page 21: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/21.jpg)
alerting
![Page 22: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/22.jpg)
what do you get?
![Page 23: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/23.jpg)
Built in• Threshold based alerts on monitoring metrics• Currently in Preview• Available for Mobile Services, Web Sites, Cloud
Services, Virtual Machines• Limited to 10 alert rules across per subscription
![Page 24: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/24.jpg)
Operational• Alert History (last 20 occurences)• Alert Notifications to Service Admin and Co-Admin
![Page 25: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/25.jpg)
Virtual Machines• Monitoring metrics from host
CPU percentage, Network In/Out, Disk Read Bytes/sec, Disk Write Bytes/sec
• Monitoring metrics from monitoring web endpoint urlsResponse time, Uptime percentage
![Page 26: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/26.jpg)
Cloud Services• Monitoring metrics from host
CPU percentage, Network In/Out, Disk Read Bytes/sec, Disk Write Bytes/sec
• Monitoring metrics from guestPerformance counters within the VM
• Monitoring metrics from monitoring web endpoint urlsResponse time, Uptime percentage
![Page 27: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/27.jpg)
Web Sites• Monitoring metrics from monitoring web endpoint
urlsResponse time, Uptime percentage
![Page 28: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/28.jpg)
Mobile Services• Standard
• Monitoring metrics from monitoring web endpoint urlsResponse time, Uptime percentage
![Page 29: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/29.jpg)
demo
![Page 30: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/30.jpg)
Resources• MetricsHub is joining forces with Microsoft!
http://blog.metricshub.com/2013/03/04/future-of-metricshub/
• New Windows Azure features for MetricsHub Usershttp://blog.metricshub.com/2013/06/28/new-windows-azure-features-for-
metricshub-users/
![Page 31: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/31.jpg)
Resources• Windows Azure: General Availability of Web Sites + Mobile
Services, New AutoScale + Alerts Support, No Credit Card Needed for MSDN
http://weblogs.asp.net/scottgu/archive/2013/06/27/windows-azure-general-availability-release-of-web-sites-mobile-services-new-autoscale-alerts-support-no-credit-card-needed-for-msdn-subscribers.aspx
• Windows Azure autoscaling now built-inhttp://blogs.msdn.com/b/agile/archive/2013/07/02/windows-azure-autoscaling-now-built-in.aspx
• How to Scale an Applicationhttp://www.windowsazure.com/en-us/manage/services/cloud-services/how-to-
scale-a-cloud-service/http://www.windowsazure.com/en-us/manage/services/web-sites/how-to-scale-
websites/
![Page 32: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/32.jpg)
Resources• An autoscaling build farm using TeamCity and Windows Azure
http://blog.maartenballiauw.be/post/2013/08/05/An-autoscaling-build-farm-using-TeamCity-and-Windows-Azure.aspx
• How to scale effectively in windows azure?http://stackoverflow.com/questions/18150884/how-to-scale-effectively-in-windows-
azure
• Windows Azure Autoscaling Options Side by Side Comparisonhttp://blog.paraleap.com/post/2013/07/29/Windows-Azure-Auto-scaling-Options-
Side-by-Side-Comparison
![Page 33: First Look at Built-in Autoscaling and Alerting](https://reader035.vdocuments.us/reader035/viewer/2022062513/5565fd78d8b42a2a4d8b4c30/html5/thumbnails/33.jpg)
Resources• How to Monitor Web Sites
http://www.windowsazure.com/en-us/manage/services/web-sites/how-to-monitor-websites/