33
First Look at Built-in Autoscaling and Alerting Paul Bouwer @pbouwer | blog.paulbouwer.com

First Look at Built-in Autoscaling and Alerting

Embed Size (px)

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/

Citation preview

Page 1: First Look at Built-in Autoscaling and Alerting

First Look at Built-in Autoscaling and Alerting

Paul Bouwer@pbouwer | blog.paulbouwer.com

Page 2: First Look at Built-in Autoscaling and Alerting

autoscaling

Page 3: First Look at Built-in Autoscaling and Alerting

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

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

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
Page 7: First Look at Built-in Autoscaling and Alerting
Page 8: First Look at Built-in Autoscaling and Alerting
Page 9: First Look at Built-in Autoscaling and Alerting

what do you get?

Page 10: First Look at Built-in Autoscaling and Alerting

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

Scale• Instance range• Scale up/down size• Scaling cool downs• Scale linked resources

Page 12: First Look at Built-in Autoscaling and Alerting

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

Scheduled Rules• Day and night schedule

Page 14: First Look at Built-in Autoscaling and Alerting

Operational• History• Failure Notifications to Service Admin and Co-

Admin

Page 15: First Look at Built-in Autoscaling and Alerting

demo

Page 16: First Look at Built-in Autoscaling and Alerting

limitations

Page 17: First Look at Built-in Autoscaling and Alerting

Virtual Machines• Must be in Availability Set

Page 18: First Look at Built-in Autoscaling and Alerting

Web Sites• Standard• Metrics (CPU percentage)

Page 19: First Look at Built-in Autoscaling and Alerting

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

demo

Page 21: First Look at Built-in Autoscaling and Alerting

alerting

Page 22: First Look at Built-in Autoscaling and Alerting

what do you get?

Page 23: First Look at Built-in Autoscaling and Alerting

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

Operational• Alert History (last 20 occurences)• Alert Notifications to Service Admin and Co-Admin

Page 25: First Look at Built-in Autoscaling and Alerting

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

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

Web Sites• Monitoring metrics from monitoring web endpoint

urlsResponse time, Uptime percentage

Page 28: First Look at Built-in Autoscaling and Alerting

Mobile Services• Standard

• Monitoring metrics from monitoring web endpoint urlsResponse time, Uptime percentage

Page 29: First Look at Built-in Autoscaling and Alerting

demo

Page 30: First Look at Built-in Autoscaling and Alerting

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

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

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

Resources• How to Monitor Web Sites

http://www.windowsazure.com/en-us/manage/services/web-sites/how-to-monitor-websites/