Grigori Melnik, Fernando Simonazzi Microsoft patterns & practices patterns & practices symposium 2013 Autoscaling in Windows Azure aka.ms/autoscaling.

Slides:



Advertisements
Similar presentations
System Center 2012 R2 Overview
Advertisements

19 % System Center FY14 Revenue Growth Large enterprises actively using SC 63% SC customers actively using SCOM 30% SC customers still using.
Building Applications for the Cloud Applications David Aiken Windows Azure Evangelist.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
Application Models for utility computing Ulrich (Uli) Homann Chief Architect Microsoft Enterprise Services.
Overview Of Microsoft New Technology ENTER. Processing....
Maintaining and Updating Windows Server 2008
Tech·Ed North America /19/2017 7:21 AM
New Challenges in Cloud Datacenter Monitoring and Management
Cross Platform Mobile Backend with Mobile Services James
WINDOWS AZURE Scott Guthrie Corporate Vice President Windows Azure Application Platform.
DCIM325. PREVIEW workflow Write-HelloWorld { param ( # Optional parameter of type string. # The default value of Name will be World [parameter(Mandatory=$false)]
Getting Started with Windows Azure Name Title Microsoft Corporation.
Austin code camp 2010 asp.net apps with azure table storage PRESENTED BY CHANDER SHEKHAR DHALL
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Your First Azure Application Michael Stiefel Reliable Software, Inc.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Copyright Solidsoft 2011 Architect & Business Decision- Maker’s guide to Windows Azure Azure EAI Case Study Charles Young.
What's New with IIS 8 Performance, Scalability, and Security Robert McMurray Program Manager Microsoft Corporation WSV332.
WINDOWS AZURE Scott Guthrie Corporate Vice President Windows Azure
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Understand your end-users and your app with Application Insights.
Windows Azure Conference 2014 Caching Data in the Cloud with Windows Azure.
Microsoft Azure Active Directory. AD Microsoft Azure Active Directory.
SQL Server 2008 R2 Manageability. Challenges facing database administrators today: Scaling management to multiple data centers Proactively monitoring.
Ceilometer + Gnocchi + Aodh Architecture
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
Windows Azure Fundamentals Services Storage. Table of contents Overview Cloud service basics Managing cloud services Cloud storage basics Table storage.
4/26/2017 Use Cloud-Based Load Testing Service to Find Scale and Performance Bottlenecks Randy Pagels Sr. Developer Technology Specialist © 2012 Microsoft.
MGT305 - Application Management in Private and Public Clouds Sean Christensen Senior Product Marketing Manager Microsoft Corporation MGT305.
Entwicklung einer echten „Software-as-a-Service" App Mario Szpuszta Platform Strategy Advisor, Microsoft Corp.
Enabling the Cloud OS Today  New high-density Web Sites with elastic cloud scaling and complete dev-ops experiences  New rich IaaS experience for self-service.
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
MGT305 - Application Management in Private and Public Clouds Daniel Savage Microsoft Corporation MGT305 Kenan Owens Microsoft Corporation.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
How To Build a Production-Ready SP 2013 Farm Martin Cox SharePoint / O365 Architect SharePoint 2013 BI Farm Setup Best Practices.
Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan.
Bellevue College Cloud Workshops Try: Cloud services Friday, May 6, 2016 Azure Virtual Machines (VM) Fawad Khan.
Going Hybrid – part 2 Moving to Hybrid Cloud with Windows Azure Virtual Machines & System Center 2012 R2.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Microsoft Virtual Academy
Business Continuity & Disaster Recovery
Introducing Azure Functions
Cloud Data platform (Cloud Application Development & Deployment)
Azure Functions and Automation: The SQL Agent in the Cloud
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
Infrastructure Provisioning Kenon Owens Sr
Diagnostics and Service Management
Exam : Implementing Microsoft Azure Infrastructure Solutions
9/13/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Business Continuity & Disaster Recovery
9/23/2018 1:04 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Exam VCE Questions
Dev Test on Windows Azure Solution in a Box
TechEd /14/2018 6:05 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /14/2018 6:26 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
11/16/ :06 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Build /14/2019 8:42 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Virtual Academy
Developing Microsoft Azure Solutions Jump Start
02 – Cloud Services Bret Stateham | Senior Technical Evangelist​
Microsoft Virtual Academy
TechEd /7/2019 1:38 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
ZORAN BARAC DATA ARCHITECT at CIN7
Presentation transcript:

Grigori Melnik, Fernando Simonazzi Microsoft patterns & practices patterns & practices symposium 2013 Autoscaling in Windows Azure aka.ms/autoscaling

13 Achieving Elasticity (prior to ) 1. Manually via Windows Azure Management Portal 2. Autoscaling Service (third-party only) 3. Writing your own plumbing using Azure Management REST API

13 Making Apps More Elastic Types:  instance autoscaling  application throttling  hybrid Triggered by:  schedules  metrics => Autoscaling Application Block (“Wasabi”) Other features Scale groups Notifications Optimizing stabilizer PowerShell cmdlets

Symposium Rule Types  Constraint rules  Use timetables (with recurrences) to proactively set limits on #instances  Have a rank to determine precedence if there are multiple overlapping rules  Upper bound guards your budget  Lower bound guards your SLA  Reactive rules  Use conditions to reactively adjust #instances or perform some other action  Based on  perf counters  queue length (Azure queue)  current instance count  custom-defined business metrics  Help respond to unexpected bursts or collapses in your application’s workload  Guard both your budget and SLA

Sample Instance Count Pattern for a Single Role Based on Metrics TimetableMinMaxPriority Default26100 Constraint Rules Reactive Rules If [number of unprocessed documents] > 100 THEN increase by 1 If [number of unprocessed documents] < 20 THEN decrease by 1 Maximum Instances Minimum Instances Actual Instances

TimetableMinMaxRank Default241 Daily, between 7AM – 7PM355 Every Friday, between 7AM – 12PM3810 Every Friday, between 12PM – 3PM41020 Every Friday, between 3PM-6PM Every Friday, between 6PM-8PM3880 Constraint Rules Reactive Rules If [number of unprocessed documents] > 100 THEN increase by 1 If [number of unprocessed documents] < 20 THEN decrease by 1 Sample Instance Count Pattern for a Single Role Business metric (number of unprocessed documents) Maximum Instances Minimum Instances Actual Instances

DEMO Wasabi in Action

13 Important Remark  Wasabi makes your app elastic but doesn’t make your app scalable  Design-for-scalability!

13 Customizing Wasabi to your business  Custom actions  Custom operands/data collectors

DEMO Customizing Wasabi to your business

13 Stabilizer  Dealing with the high-frequency oscillation (the "yo-yo" problem)  Supports hysteresis  Enable "cool-down" period after a scaling action during which no other scaling action can take place  Granularity: global or at the role level  Direction: up or down  On by default  The user can opt-out

13 Optimizing Stabilizer  Making sure that scale actions correspond to the most optimal compute hour pricing charges.  Specifying intervals of time in which to execute an action E.g. only run reactive scaling up rules during the first 15 mins of the hour …  Supports for scale groups  User-configurable cool down on notifications too

13 How to Get All This Goodness? Via NuGet (search key “Wasabi”) or MS Download Center

13 Learning Resources  Developer’s Guide  Reference Documentation  Tailspin Reference Implementation  14 Comprehensive Hands-on Labs  2 case studies  4 videos on Channel 9  Codeplex forum

13 Case Study: MSDN/TechNet  Objectives  to maximize resources utilization (from 20% to 67%)  to reduce infrastructure and running costs  to "green" the MSDN and TechNet services.  while:  No code or architecture changes  Equivalent or better performance  Ease of operation  Reduced on-premises requirements According to the IT Energy Efficiency Imperative ( the biggest potential for improving the IT energy efficiency in a data center lies with increasing server utilization.

13 Resources  Windows Azure Dev Center windowsazure.com/develop/net/how-to-guides/autoscaling  Wasabi home page aka.ms/wasabi  Comprehensive hands-on labs microsoft.com/download/en/details.aspx?id=28785  CloudCover Episode on Autoscaling  Case studies and  IT Energy Efficiency Imperative  Grigori’s blog: blogs.msdn.com/agile

13 Wasabi Recap: Supported Scenarios 1. Autoscaling web and worker roles in Windows Azure by dynamically changing instance counts or performing application throttling. 2. Autoscaling roles based on timetables. 3. Autoscaling based on metrics collected from the application and/or Windows Azure. 4. Constraining the instance count per role by upper and lower bounds. 5. Preventing fast oscillations in the number of role instances with the stabilizer. 6. Optimizing costs by limiting scaling operations acknowledging billing hours. 7. Monitoring and tracing autoscaling activity. 8. Sending notifications to preview any scaling operations before they take place. 9. Encrypting the rules and other configuration in Windows Azure blob storage or in local file storage. 10. Managing the autoscaler operation by using Windows PowerShell. 11. All blocks and guidance are 100% MS IP, free and available under MS-PL.

13 Thank you  Questions & Answers