ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications

296 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
296
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications

  1. 1. itcampro@ itcamp13# Premium conference on Microsoft technologiesBuilding Elastic, AutoscalableSolutions with Windows AzureMihai TătăranGeneral Manager, AvaelgoMicrosoft MVP | Windows AzureMihai.tataran@avaelgo.rowww.itcamp.ro@mihai_tataran
  2. 2. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloudHuge thanks to our sponsors!
  3. 3. itcampro@ itcamp13# Premium conference on Microsoft technologiesAbout meMihai Tătăran• Microsoft MVP, Windows Azure Insider• General Manager, Avaelgo◦ Custom software development◦ Consulting / training◦ Microsoft Cloud SME of the Month in Europe◦ Case study about a solution on Azure - Microsoft .com website• www.itcamp.ro , www.codecamp.ro
  4. 4. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Understand elasticity– Azure Scalability– How to achieve elasticity• Autoscaling Application Block– Definitions– Usage scenarios– Handling varying load levels– Implementing your AAB applicationAgenda
  5. 5. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Windows Azure is ascalable platform• Which allows you to addand remove resources• With flexible pricingUnderstand elasticity
  6. 6. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Scaling is manual, basedon your decisionsUnderstand elasticity
  7. 7. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• You can automate scaling:– Service Management API– PowerShell– Writing your own code• 3rd party tools• Or use Autoscaling Application BlockUnderstand elasticity
  8. 8. itcampro@ itcamp13# Premium conference on Microsoft technologiesAUTOSCALING APPLICATION BLOCK
  9. 9. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Part of Enterprise Library Integration Pack forWindows Azure– Same configuration and usage with the other ELblocks• A block designed for elasticity / autoscalingAzure applications• From the Microsoft Patterns and PracticesteamAutoscaling Application Block
  10. 10. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Business reason:• Minimize operational costs:– Reduce manual work– Reduce the risk of introducing mistakes whenscaling– Pay exactly what you needAutoscaling Application Block
  11. 11. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Usage scenarios:• Predictable load patterns. E.g.: businesshours, days of week, etc.• React to specific resource usage variationsAutoscaling Application Block
  12. 12. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Reactions to usage variations:• Instance scaling. Add or remove instances(virtual machines actually running your app)• Throttling. Limit or disable applicationfeaturesAutoscaling Application Block
  13. 13. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• AAB collectsmonitored data fromyour Windows Azureapplication• Based on your rules,initiates scaling actions• AAB is part of acustom application(that you build), hostedon premises or inWindows AzureAutoscaling Application Block
  14. 14. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Resources involved:– 1 “monitor” application which you develop,based on AAB• Hosted in Azure or on Premises– Rules XML file– Diagnostics enabled in the Azure application– Azure Table Storage which stores logsAutoscaling Application Block
  15. 15. itcampro@ itcamp13# Premium conference on Microsoft technologiesDEMO 1: INTRO AAB
  16. 16. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Define the operands and the rules (XML file)– Resources to be monitored (e.g. CPU load, queuelength)– Constraint and reactive rules– Actions: scale or throttle• Define the service information (XML file)– Which Windows Azure application to monitor– Where to look for monitoring data• Configure the AAB application (app.config)– Using EntLib configuration consoleAutoscaling Application Block
  17. 17. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Autoscaling (automatically) while performingan update• Lack of limits (min and max instance count)• No “opposite” rule.– i.e.: scale up for a certain condition -> make sureyou scale down for the opposite condition• Host the monitoring / autoscaling app onpremises• No stabilizerCommon mistakes
  18. 18. itcampro@ itcamp13# Premium conference on Microsoft technologiesDEMO 2: ADVANCED SETTINGS
  19. 19. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Understand elasticity– Azure Scalability– How to achieve elasticity• Autoscaling Application Block– Definitions– Usage scenarios– Handling varying load levels– Implementing your AAB applicationSummary
  20. 20. itcampro@ itcamp13# Premium conference on Microsoft technologiesAUTOSCALE- PAY EXACTLY WHAT YOU NEED
  21. 21. itcampro@ itcamp13# Premium conference on Microsoft technologiesPrivate & PublicCloud• Enterprise Library– http://entlib.codeplex.com/• Patterns and Practices – Autoscaling ApplicationBlock– http://msdn.microsoft.com/en-us/library/hh680892(v=pandp.50).aspx• HOLs - EntLib Integration Pack forWindows Azure– http://www.microsoft.com/en-us/download/details.aspx?id=28785Resources
  22. 22. itcampro@ itcamp13# Premium conference on Microsoft technologiesQ & A

×