Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
ITCamp 2013 - Mihai Tataran - Building Autoscalable Azure Applications
1. itcampro@ itcamp13# Premium conference on Microsoft technologies
Building Elastic, Autoscalable
Solutions with Windows Azure
Mihai Tătăran
General Manager, Avaelgo
Microsoft MVP | Windows Azure
Mihai.tataran@avaelgo.ro
www.itcamp.ro
@mihai_tataran
2. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
CloudHuge thanks to our sponsors!
3. itcampro@ itcamp13# Premium conference on Microsoft technologies
About me
Mihai 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. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Understand elasticity
– Azure Scalability
– How to achieve elasticity
• Autoscaling Application Block
– Definitions
– Usage scenarios
– Handling varying load levels
– Implementing your AAB application
Agenda
5. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Windows Azure is a
scalable platform
• Which allows you to add
and remove resources
• With flexible pricing
Understand elasticity
6. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Scaling is manual, based
on your decisions
Understand elasticity
7. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• You can automate scaling:
– Service Management API
– PowerShell
– Writing your own code
• 3rd party tools
• Or use Autoscaling Application Block
Understand elasticity
9. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Part of Enterprise Library Integration Pack for
Windows Azure
– Same configuration and usage with the other EL
blocks
• A block designed for elasticity / autoscaling
Azure applications
• From the Microsoft Patterns and Practices
team
Autoscaling Application Block
10. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Business reason:
• Minimize operational costs:
– Reduce manual work
– Reduce the risk of introducing mistakes when
scaling
– Pay exactly what you need
Autoscaling Application Block
11. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Usage scenarios:
• Predictable load patterns. E.g.: business
hours, days of week, etc.
• React to specific resource usage variations
Autoscaling Application Block
12. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Reactions to usage variations:
• Instance scaling. Add or remove instances
(virtual machines actually running your app)
• Throttling. Limit or disable application
features
Autoscaling Application Block
13. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• AAB collects
monitored data from
your Windows Azure
application
• Based on your rules,
initiates scaling actions
• AAB is part of a
custom application
(that you build), hosted
on premises or in
Windows Azure
Autoscaling Application Block
14. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• 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 logs
Autoscaling Application Block
16. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Define the operands and the rules (XML file)
– Resources to be monitored (e.g. CPU load, queue
length)
– 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 console
Autoscaling Application Block
17. itcampro@ itcamp13# Premium conference on Microsoft technologies
Private & Public
Cloud
• Autoscaling (automatically) while performing
an update
• Lack of limits (min and max instance count)
• No “opposite” rule.
– i.e.: scale up for a certain condition -> make sure
you scale down for the opposite condition
• Host the monitoring / autoscaling app on
premises
• No stabilizer
Common mistakes