Successfully reported this slideshow.
Cloud Computing & Windows Azure<br />Lessius Hogeschool, Mechelen<br />Maarten Balliauw – RealDolmenE-mail: maarten.ballia...
Who am I?<br />Maarten Balliauw<br />Antwerp, Belgium<br />www.realdolmen.com<br />Technology Specialist Windows Azure<br ...
Agenda<br />Cloud Computing<br />Microsoft Cloud & Windows Azure<br />Some examples<br />A Payroll Company<br />Chronorace...
Cloud Computing<br />What is cloud computing?<br />
Inefficiencies in traditional IT…<br />Allocated IT-capacities<br />Load Forecast<br />“Under-supply“ of capacities<br />“...
However, in a Cloud View<br />Load Forecast<br />Allocated IT capacities<br />No “under-supply“<br />IT CAPACITY<br />Redu...
three types of clouds<br />Off Premises<br />On Premises<br />Location<br />Homogeneous<br />Heterogeneous<br />Infrastruc...
IT as a Service – Types of services<br />Scalability<br />Customisation<br />Management and responsibilities by vendor<br ...
“Growing Fast“  <br />“On and Off “  <br />Inactivity<br />Period <br />Compute <br />Compute <br />Average Usage<br />Usa...
Over provisioned capacity is wasted
Time to market can be cumbersome
Successful services needs to grow/scale
Keeping up w/ growth is big IT challenge
Complex lead time for deployment</li></ul>“Unpredictable Bursting“  <br />“Predictable Bursting“  <br />Compute <br />Comp...
Sudden spike impacts performance
Can’t over provision for extreme cases
Services with micro seasonality trends
Peaks due to periodic increased demand
IT complexity and wasted capacity   </li></ul>Typical workload patterns that benefitfrom a cloud model<br />
And of course one more...<br />
Horseless Carriage Syndrome<br />Early 20th century: “car”<br />Long standing paradigm: “horse and carriage”<br />Initial ...
Mindswitches – Business perspective<br />Investments become costs<br />CapEx vs. OpEx<br />Difficult to work with fixed bu...
Mindswitches – IT staff<br />Your job will look different (a little)<br />No more server re-imaging*<br />Less server mana...
Mindswitches – Developers<br />Architecture becomes far more interesing<br />Storage can be different depending on your ne...
Microsoft Cloud<br />Overview of all platform components<br />
Birds-eye overview<br />Online<br />SaaS<br />PaaS<br />IaaS<br />Customer<br />Relation<br />Management<br />xRM<br />......
Technology support on Windows Azure<br />Supported by Microsoft:<br />.NET stack<br />PHP<br />Java<br />Ruby<br />Not sup...
North America Region  <br />Asia Pacific Region<br />Europe Region<br />N. Europe <br />Sub-region  <br />N. Central – US ...
EXAMPLE CASES<br />Some example cases<br />
A PayRoll Company<br />An example...<br />
A Payroll Company<br />Delivering payroll services to other companies<br />General payroll services, staffing, tax, legal,...
Their project: Compensations à la Carte<br />Allow customers to use their software<br />Allow customers to plug in differe...
What’s in the cloud?<br />The problem…<br />Compensations à la Carte<br />
Some issues...<br />Will it work?<br />What will it cost with 1 customer and 50 employees?<br />What will it cost with 100...
Cloud allows innovation!<br />Development costs will be there<br />Infrastructure costs will increase when revenue increas...
ChronoRace<br />An example...<br />FirstWindows Azure implementation in Belgium!<br />
ChronoRace<br />Delivering infrastructure for timing sports events<br />Running, biking, triathlon, mountainbike, …<br />F...
ChronoRace – Revenue <br />Revenue generated from<br />“Timing-as-a-Service”<br />Video advertising<br />
What’s in the cloud?<br />The problem…<br />Big events are fun, but also<br />
Google Analytics fromAntwerp 10 Miles 2010<br />
Big event…<br />20km through Brussels<br />> 30.000 participants<br />Downloading their certificate	30.000 hits processing...
What’s in the cloud?<br />Possible solutions<br />What are the options?<br />
Possible solutions<br />Current solution: traffic spread<br />Other options<br />Invest in infrastructure<br />Migrate to ...
Invest in infrastructure<br />Current infrastructure<br />Leased hardware at a hoster<br />10 Mbps Internet connection<br ...
Migrate to a cloud model<br />“What-if” cloud model<br />Windows Azure Storage<br />Windows Azure compute (1 instance ~ 15...
Economics<br />
Other indicators<br />Workload<br />Variable workload, predictable<br />Business<br />Availability has direct impact on re...
Issues identified<br />Technical<br />Application written in VS2005<br />Third-party component is 32bit only<br />Amount o...
Conclusion<br />Large economic benefit<br />Less costs, more capacity ~ more revenue<br />Clear indicators for cloud model...
What’s in the cloud?<br />Implementing the Solution<br />Let’s go Windows Azure!<br />
Step 1: Migrate tools<br />VS2005 Web Site project<br />Migrate to VS2010<br />Migration took some time<br />Add namespace...
Step 2: Database<br />Current database size: around 2,5 GB<br />Squeeze stuff into 1 GB?<br />Data retention<br />Restruct...
Step 2: Database<br />Decided to go for 10 GB version<br />Migration<br />Using open source: SQL Azure Migration Wizardhtt...
Step 2: Database<br />1 week after project start<br />Current website at www.chronorace.be with SQL Azure backend<br />As ...
Step 3: Streaming<br />Currently a Flash player<br />Downloads chunks of +/- 1 MB<br />Should work on blob storage!<br />C...
Step 3: Streaming<br />Getting a specific chunck was variable in response time<br />Decided to cache the video to compute ...
Step 4: Deployment<br />Site is +/- 300 MB, deploy this every time?<br />Deployment through portal seems to take forever<b...
Step 5: Scaling<br />Done by doing this:<br />Would be awesome to have this:<br />Not possible!<br />“When” should it scal...
Step 5: Auto Scaling<br />Auto scaling would be a big benefit<br />During events all 4 people are busy<br />It is the clou...
Auto Scaling – Scaling logic<br />Scaling logic provider uses sensor data to suggest an action (up/fast-up/down/stable)<br...
Upcoming SlideShare
Loading in …5
×

Cloud & Windows Azure - Lessius

1,691 views

Published on

Deze sessie geeft een duidelijk beeld over een nieuwe stroming in de IT-wereld: Cloud Computing. Beginnen doen we met een globaal beeld van wat deze nieuwe technologie te bieden heeft en hoe deze zich verhoudt tot “traditionele” infrastructuur en ontwikkeling. Daarna wordt de focus verlegd naar Microsoft’s implementatie van Cloud Computing: Windows Azure. Gecombineerd met een aantal praktijkvoorbeelden zal deze sessie de mist rond Cloud Computing uitklaren.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Cloud & Windows Azure - Lessius

  1. 1.
  2. 2. Cloud Computing & Windows Azure<br />Lessius Hogeschool, Mechelen<br />Maarten Balliauw – RealDolmenE-mail: maarten.balliauw@realdolmen.comBlog: http://blog.maartenballiauw.beTwitter: @maartenballiauw<br />
  3. 3. Who am I?<br />Maarten Balliauw<br />Antwerp, Belgium<br />www.realdolmen.com<br />Technology Specialist Windows Azure<br />Co-founder of AZUG<br />Focus on web<br />ASP.NET, ASP.NET MVC, PHP, Azure, …<br />MVP ASP.NET<br />http://blog.maartenballiauw.be<br />@maartenballiauw<br />
  4. 4. Agenda<br />Cloud Computing<br />Microsoft Cloud & Windows Azure<br />Some examples<br />A Payroll Company<br />Chronorace<br />Conclusion<br />
  5. 5. Cloud Computing<br />What is cloud computing?<br />
  6. 6. Inefficiencies in traditional IT…<br />Allocated IT-capacities<br />Load Forecast<br />“Under-supply“ of capacities<br />“Waste“ of capacities<br />Fixed cost of IT-capacities<br />IT CAPACITY<br />Barrier for<br />innovations<br />ActualLoad<br />TIME<br />
  7. 7. However, in a Cloud View<br />Load Forecast<br />Allocated IT capacities<br />No “under-supply“<br />IT CAPACITY<br />Reduction of “over-supply“<br />Possible reduction of IT-capacities in case of reduced load<br />Reduction of initial investments<br />ActualLoad<br />Time<br />
  8. 8. three types of clouds<br />Off Premises<br />On Premises<br />Location<br />Homogeneous<br />Heterogeneous<br />Infrastructure<br />Choices<br />Choices<br />CapEx (invest)<br />OpEx (cost)<br />Business model<br />Own<br />Lease/Rent<br />Ownership<br />Self<br />Third Party<br />Management<br />Self<br />Third Party<br />Responsibilities<br />Customized<br />Standardized<br />Standardization<br />Private Dedicated / Shared Shared<br />Private Dedicated / Shared Shared<br />
  9. 9. IT as a Service – Types of services<br />Scalability<br />Customisation<br />Management and responsibilities by vendor<br />In-house management, responsibilities, ...<br />
  10. 10. “Growing Fast“ <br />“On and Off “ <br />Inactivity<br />Period <br />Compute <br />Compute <br />Average Usage<br />Usage<br />Average<br />Time <br />Time <br /><ul><li>On & off workloads (e.g. batch job)
  11. 11. Over provisioned capacity is wasted
  12. 12. Time to market can be cumbersome
  13. 13. Successful services needs to grow/scale
  14. 14. Keeping up w/ growth is big IT challenge
  15. 15. Complex lead time for deployment</li></ul>“Unpredictable Bursting“ <br />“Predictable Bursting“ <br />Compute <br />Compute <br />Average Usage <br />Average Usage <br />Time <br />Time <br /><ul><li>Unexpected/unplanned peak in demand
  16. 16. Sudden spike impacts performance
  17. 17. Can’t over provision for extreme cases
  18. 18. Services with micro seasonality trends
  19. 19. Peaks due to periodic increased demand
  20. 20. IT complexity and wasted capacity </li></ul>Typical workload patterns that benefitfrom a cloud model<br />
  21. 21. And of course one more...<br />
  22. 22. Horseless Carriage Syndrome<br />Early 20th century: “car”<br />Long standing paradigm: “horse and carriage”<br />Initial failure to comprehend the new paradigm<br />“The horse is here to stay but the automobile is only a novelty“<br />High cost and shortage of capable drivers<br />Engineers kept designing the whip holder<br />First cars looked alike<br />However... Technology evolved<br />Faster time to “market” (horses get tired)<br />Reduction in complexity and cost<br />No need to care for a horse<br />
  23. 23. Mindswitches – Business perspective<br />Investments become costs<br />CapEx vs. OpEx<br />Difficult to work with fixed budgets*<br />Cloud is cheap in many cases<br />You rent capacity, not servers<br />Management is automated<br />IT staff will have other work to do<br />More innovation<br />IT department can be bypassed for quick PoCs<br />Low entry costs = lower barrier for innovation<br />New ways of generating revenue<br />
  24. 24. Mindswitches – IT staff<br />Your job will look different (a little)<br />No more server re-imaging*<br />Less server management<br />Monitoring of applications, not servers<br />Architecture of IT becomes far more interesting<br />On-premises servers and machines<br />Virtual machines somewhere in the cloud but also domain joined<br />Security<br />LAN/WAN capacity / interconnectivity<br />Provisioning<br />
  25. 25. Mindswitches – Developers<br />Architecture becomes far more interesing<br />Storage can be different depending on your needs<br />Databases can be different depending on your needs<br />Loosely coupled applications<br />Think big<br />It’s a Windows world<br />Proof of concepts<br />Why not bypass IT for PoCs if you can just fire up a new subscription?<br />
  26. 26. Microsoft Cloud<br />Overview of all platform components<br />
  27. 27. Birds-eye overview<br />Online<br />SaaS<br />PaaS<br />IaaS<br />Customer<br />Relation<br />Management<br />xRM<br />...<br />E-mail <br />Social networking<br />Blogging<br />Photos<br />Office online<br />SkyDrive<br />Live Mesh<br />...<br />Reporting<br />Connectivity<br />Access control<br />Compute<br />Storage<br />Management<br />Content Delivery Network<br />Relational Database<br />Reporting<br />Synchronization<br />Connectivity<br />Service bus<br />Authentication<br />Federation<br />Relational data<br />Management<br />Compute<br />Storage<br />Flexible APIs<br />Flexible APIs<br />Management<br />Information Marketplace<br />Information Marketplace<br />Reporting & BI<br />Connect<br />Billing & Payments<br />Data Sync<br />
  28. 28. Technology support on Windows Azure<br />Supported by Microsoft:<br />.NET stack<br />PHP<br />Java<br />Ruby<br />Not supported yet working smoothly:<br />MySQL<br />Memcached<br />Jetty (alternative JAVA server)<br />…<br />
  29. 29. North America Region <br />Asia Pacific Region<br />Europe Region<br />N. Europe <br />Sub-region <br />N. Central – US <br />Sub-region <br />E. Asia<br />Sub-region <br />W. Europe <br />Sub-region <br />S. Central - US <br />Sub-region<br />S.E. Asia<br />Sub-region <br />
  30. 30.
  31. 31.
  32. 32.
  33. 33.
  34. 34.
  35. 35.
  36. 36. EXAMPLE CASES<br />Some example cases<br />
  37. 37. A PayRoll Company<br />An example...<br />
  38. 38. A Payroll Company<br />Delivering payroll services to other companies<br />General payroll services, staffing, tax, legal, ...<br />Many processes not automated<br />Continuously on the look to automate processes and interaction with clients and their employees<br />
  39. 39. Their project: Compensations à la Carte<br />Allow customers to use their software<br />Allow customers to plug in different services<br />Allow employees of customers to select their compensations<br />
  40. 40. What’s in the cloud?<br />The problem…<br />Compensations à la Carte<br />
  41. 41. Some issues...<br />Will it work?<br />What will it cost with 1 customer and 50 employees?<br />What will it cost with 100 customers and 1000 employees?<br />What if all customers sign up and we have 100.000 employees?<br />And what about the interaction with other services?<br />Uncertainty!<br />Development costs will be fixed<br />Infrastructure costs... Maybe low, maybe high?<br />
  42. 42. Cloud allows innovation!<br />Development costs will be there<br />Infrastructure costs will increase when revenue increases<br />Cloud is a perfect fit to drive innovation!<br />
  43. 43. ChronoRace<br />An example...<br />FirstWindows Azure implementation in Belgium!<br />
  44. 44. ChronoRace<br />Delivering infrastructure for timing sports events<br />Running, biking, triathlon, mountainbike, …<br />Founded 10 years ago, Malmédy, 4 persons<br />Timing of every participant<br />Video footage of every participant<br />PDF certificates for every participant<br />Around 340 events per year!<br />Belgium, Luxemburg, France, Germany, Netherlands, …<br />Small events<br />Large events<br />Dwars door Brugge 8.000 participants<br />Antwerp 10 Miles 17.000 participants<br />20km of Brussels 30.000 participants<br />
  45. 45. ChronoRace – Revenue <br />Revenue generated from<br />“Timing-as-a-Service”<br />Video advertising<br />
  46. 46. What’s in the cloud?<br />The problem…<br />Big events are fun, but also<br />
  47. 47. Google Analytics fromAntwerp 10 Miles 2010<br />
  48. 48. Big event…<br />20km through Brussels<br />> 30.000 participants<br />Downloading their certificate 30.000 hits processing a PDF<br />Watching results online 30.000 hits*<br />Having a video online 30.000 x +/- 10MB (= 292 GB)<br />Watching their video 30.000 video views?<br />And showing off to family and friends… 30.000 x 10MB x 10 views (avg.) = 2,92 TB bandwidth in 1 day<br />About 35 Mbps<br />Over a 10 Mbps line…<br />
  49. 49.
  50. 50. What’s in the cloud?<br />Possible solutions<br />What are the options?<br />
  51. 51. Possible solutions<br />Current solution: traffic spread<br />Other options<br />Invest in infrastructure<br />Migrate to a cloud model<br />
  52. 52. Invest in infrastructure<br />Current infrastructure<br />Leased hardware at a hoster<br />10 Mbps Internet connection<br />1 web server (XEON, 2 GB RAM), IIS6<br />1 database server (XEON, 2 GB RAM), SQL Server 2005<br />“What-if” infrastructure<br />Leased hardware at a hoster<br />10 Mbps Internet connection<br />5 web server (XEON, 2 GB RAM), IIS6<br />1 database server (XEON, 2 GB RAM), SQL Server 2005<br />
  53. 53. Migrate to a cloud model<br />“What-if” cloud model<br />Windows Azure Storage<br />Windows Azure compute (1 instance ~ 15 days)<br />Windows Azure compute (5 instances ~ 15 days)<br />SQL Azure Business Edition<br />Equivalent of 10 Mbps bandwidth<br />
  54. 54. Economics<br />
  55. 55. Other indicators<br />Workload<br />Variable workload, predictable<br />Business<br />Availability has direct impact on revenue<br />Offering as a service<br />No system engineers: developer currently maintaininginfrastructure<br />Data<br />Large amount of data storage for short periods<br />
  56. 56. Issues identified<br />Technical<br />Application written in VS2005<br />Third-party component is 32bit only<br />Amount of traffic =~ 3 TB on 1 day<br />Deployment<br />Non-technical<br />Third-party component licensing per-server<br />All employees busy on event  no time for intervention<br />
  57. 57. Conclusion<br />Large economic benefit<br />Less costs, more capacity ~ more revenue<br />Clear indicators for cloud model<br />Some minor issues detected<br />An almost perfect cloud fit<br />
  58. 58. What’s in the cloud?<br />Implementing the Solution<br />Let’s go Windows Azure!<br />
  59. 59. Step 1: Migrate tools<br />VS2005 Web Site project<br />Migrate to VS2010<br />Migration took some time<br />Add namespaces<br />Restructure classes<br />Throw out stuff that was no longer used<br />Migration allowed us to get a cleaner application<br />
  60. 60. Step 2: Database<br />Current database size: around 2,5 GB<br />Squeeze stuff into 1 GB?<br />Data retention<br />Restructure database?<br />Use multiple databases?*<br />*future proved this would probably be better<br />
  61. 61. Step 2: Database<br />Decided to go for 10 GB version<br />Migration<br />Using open source: SQL Azure Migration Wizardhttp://sqlazuremw.codeplex.com<br />Worked surprisingly good!<br />2 stored procedures could not be migrated<br />
  62. 62. Step 2: Database<br />1 week after project start<br />Current website at www.chronorace.be with SQL Azure backend<br />As easy as changing the connection string!<br />Cloud is not all-or-nothing<br />
  63. 63. Step 3: Streaming<br />Currently a Flash player<br />Downloads chunks of +/- 1 MB<br />Should work on blob storage!<br />Cheap storage<br />Cheap traffic<br />CDN support<br />API supports downloading chunks<br />
  64. 64. Step 3: Streaming<br />Getting a specific chunck was variable in response time<br />Decided to cache the video to compute web roles<br />During the advert that is shown<br />Next view of the video is instant!<br />Option for the future: Silverlight & IIS Smooth Streaming<br />
  65. 65. Step 4: Deployment<br />Site is +/- 300 MB, deploy this every time?<br />Deployment through portal seems to take forever<br />Uploading 300 MB for a very small change is crazy<br />We decided to move images and static content to blob storage and serve it fromthere<br />Code and dynamic content are on Windows Azure. Making it a 3,5 MB application.<br />
  66. 66. Step 5: Scaling<br />Done by doing this:<br />Would be awesome to have this:<br />Not possible!<br />“When” should it scale?<br />“How” should it scale?<br />“Who” / “What” is responsible for scaling?<br /><Instancescount="2" /><br /><InstancesminInstances="3" maxInstances="10" /><br />
  67. 67. Step 5: Auto Scaling<br />Auto scaling would be a big benefit<br />During events all 4 people are busy<br />It is the cloud after all? The scale-up/down thing?<br />Application should be able to monitor itself<br />RealDolmen auto scaling component<br />
  68. 68. Auto Scaling – Scaling logic<br />Scaling logic provider uses sensor data to suggest an action (up/fast-up/down/stable)<br />To implement per application<br />Just a suggestion!<br />Scaling logic provider uses sensor data to suggest an action (up/fast-up/down/stable)<br />To implement per application<br />Just a suggestion!<br />
  69. 69. Step 5: Auto Scaling in ChronoRace<br />Sensor based on concurrent video streams<br />Scales between 2 and 20 instances automatically<br />Hard to verify! The Windows Azure portal is not willing to disclose the number of instances during scale.<br />MMC Snap-In does give useful info!http://code.msdn.microsoft.com/windowsazuremmc<br />
  70. 70. Step 5: Auto Scaling in ChronoRace<br />20km through Brussels<br />7 instances on average, 18 in peak<br />
  71. 71. What’s in the cloud?<br />Conclusion<br />Was it a good move?<br />
  72. 72. Economics<br /><ul><li>Price is high
  73. 73. Would have crashed
  74. 74. Ad revenue impact 
  75. 75. Price is moderate
  76. 76. All requests served
  77. 77. Ad revenue impact </li></li></ul><li>Economics – Migration costs<br />Have a guess…<br />Total work for migration: 9 days (FTE)<br />Migration of VS2005 to VS2010: 4 days<br />Migration of database and application: 5 days (FTE)<br />
  78. 78. ChronoRace summary<br />Pitfalls were identified during Windows Azure Assessment<br />Most hours spent with VS2005 - VS2010 migration<br />20km through Brussels event survived<br />RealDolmen auto scaling component<br />Leverage the platform<br />Benefit from Scale vs. Economics<br />
  79. 79. Takeaways<br />What to remember?<br />
  80. 80. What to remember?<br />Cloud is not all-or-nothing<br />Windows Azure is<br />Operating system (computing & storage)<br />SQL Azure<br />AppFabric (= integration)<br />Cloud is notall-or-nothing<br />Quick wins<br />On and Off<br />Scale fast, fail fast<br />Peak scenarios<br />
  81. 81. AZUG.BE – Azure User Group Belgium<br />Focus on the Azure Services Platform<br />Community driven<br />Focus on architecture<br />And development<br />And the business value of Azure<br />
  82. 82. Thankyou …<br />… foryourattention !<br />… for the invitation !<br />Maarten Balliauwhttp://blog.maartenballiauw.be<br />

×