Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DevDays 2011- Let’s get ready for the cloud: Building your applications so they are cloud ready

1,419 views

Published on

More details: http://www.sadev.co.za/content/devdays-south-africa-2011-my-talks

In a world where you hear people talking about the cloud, here are some guidelines on how to start building and structuring applications that will be easy to migrate to the Azure platform.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

DevDays 2011- Let’s get ready for the cloud: Building your applications so they are cloud ready

  1. 1.
  2. 2. Robert MacLean<br />www.sadev.co.za<br />BBD Software<br />Get Ready For The Cloud<br />TRACK: Cloud & ALM<br />
  3. 3. AgendaGet ready for the cloud<br />The cloud is important!<br />We do not have supported Azure here yet<br />All about planning & current applications<br />The Azure talk with no Azure bits<br />Why should you care about this talk?<br />Pure in house<br />Consume the cloud<br />Hybrids<br />Pure cloud<br />
  4. 4. (On-Premises)<br />Platform<br />(as a Service)<br />Software<br />(as a Service)<br />Infrastructure<br />(as a Service)<br />You manage<br />Applications<br />Applications<br />Applications<br />Applications<br />You manage<br />Data<br />Data<br />Data<br />Data<br />Runtime<br />Runtime<br />Runtime<br />Runtime<br />Managed by vendor<br />Middleware<br />Middleware<br />Middleware<br />Middleware<br />You manage<br />Managed by vendor<br />O/S<br />O/S<br />O/S<br />O/S<br />Managed by vendor<br />Virtualization<br />Virtualization<br />Virtualization<br />Virtualization<br />Servers<br />Servers<br />Servers<br />Servers<br />Storage<br />Storage<br />Storage<br />Storage<br />Networking<br />Networking<br />Networking<br />Networking<br />
  5. 5. Cloud Terms<br />Blob Storage<br />Web Roles<br />Worker Roles<br />
  6. 6. Virtualisation!<br />Virtualise today<br />Limited big hardware vs. lot’s of small cheap hardware<br />Learn what is a problem in virtualisation<br />VM Hosting (IaaS)<br />Create a Hyper-V image<br />Upload image<br />How do people access that image?<br />What about state?<br />
  7. 7. The General Theme<br />THINK IN LEGO<br />Loosely Coupled<br />Single Responsibility <br />Abstraction<br />Very Light with Data<br />
  8. 8. Our Demo Story For Today<br />NASA gets ~3 500 applications for ~15 spots<br />Disqualifies ~700 for Medical, Educational, Professional etc…<br />Just a simple: Submit data > Parse > Analyse<br />Source: http://www.astronautforhire.com/2008/09/nasas-2009-astronaut-class-selection.html<br />
  9. 9. What’s in my toolbox?<br />Do you know CodePlex?<br />ZeroMQ<br />http://zeromq.codeplex.com<br />AutoMapper<br />http://automapper.codeplex.com<br />
  10. 10. Start with data<br />Structured & Unstructured<br />LINQ 2 SQL<br />Façade <br />WCF<br />Data Access Operations<br />
  11. 11. demo<br />
  12. 12. How does this cloud?<br />Structured & Unstructured<br />Structured<br />LINQ 2 SQL<br />LINQ 2 SQL<br />Data Access Operations + Façade <br />WCF<br />Blob Storage<br />
  13. 13. Overkill for crud?<br />Structured & Unstructured<br />LINQ 2 SQL<br />oData*<br />
  14. 14. Data Design Proven Practises<br />Choose where appropriate<br />Relational data: SQL Server ≡SQL Azure<br />Blobs: File system ≡Blob storage<br />Queues: MSMQ ≡AppFabric 2.0<br />Potential pain areas<br />Limited Data Types<br />Keep Data Size, Growth & Transaction Volume in min<br />Reduce logic in SQL databases<br />
  15. 15. Connectivity Design Proven Practises<br />Interface (contract) based design<br />Uses standards<br />Abstract the connectivity layer away from the logic layer<br />* non marketing way to tell you to use WCF<br />
  16. 16. Features we want in processing<br />ASAP Asynchronicity <br />Light with data <br />Great WCF, REST & oData support<br />Persistable<br />Monitoring * <br />Caching *<br />
  17. 17. Structure of our processing<br />Service<br />Service<br />Service<br />Service<br />Data<br />
  18. 18. demo<br />
  19. 19. How does this cloud?<br />Service<br />Service<br />Service<br />Service<br />Data<br />
  20. 20. Application Design Proven Practises<br />Lego again<br />Small pieces that do a job (function)<br />Can operate independently<br />Worker roles<br />Great for processing, better than web roles<br />Can run forever! …. Not really <br />Expect the “Chaos Monkey” sometimes<br />
  21. 21. Worker Role?<br />Queue<br />App<br />Worker Role<br />Service<br />Data<br />
  22. 22. demo<br />
  23. 23. How does Worker Role Cloud?<br />Queue<br />App<br />Worker Role<br />Service<br />Data<br />
  24. 24. Regulation & Compliance<br />Where is your data stored?<br />Personal info can’t leave the country*<br />Store locally, process in the cloud<br />
  25. 25. Security Design Proven Practises<br />Security Golden Rule: Don’t roll your own <br />You should prefer an external identify provider for AuthN & AuthZ <br />Development Options<br />Today: WIF <br />“Tomorrow”: AppFabric Access Control 2.0 (Labs)<br />
  26. 26. Why use WIF?<br />App<br />App<br />App<br />Security<br />Active Directory<br />WIF<br />AD, OAuth, etc…<br />
  27. 27. demo<br />
  28. 28. How does this cloud?<br />MVC App<br />Just a web role<br />WIF<br />Just a web role<br />AD, OAuth, etc…<br />
  29. 29. Deployment Design Proven Practises<br />Plan, plan, plan<br />Work on DNS and control that DNS<br />Use IPv6 for forward thinking with Azure Connect<br />Packaging and Configuration is KEY<br />Package Application Binaries and Configuration Separately<br />Automate your deployments<br />Build components exist<br />
  30. 30. The General Theme… again<br />THINK IN LEGO<br />Loosely Coupled<br />Single Responsibility <br />Abstraction<br />Very Light with Data<br />
  31. 31. Windows Azure 30 Day Pass<br />http://windowsazurepass.com/<br />Country:<br />South Africa<br />Promo Code:<br />DEVDAYS11JHB<br />
  32. 32. Grab the Azure Pass: DevDays11JHB<br />Slides + Demos up @ www.sadev.co.za<br />Plan, plan & plan some more<br />Calls to Action<br />Come to my talk in track 2 next. <br />“Every cloud has a SilverLight” - @jvanrhyn<br />
  33. 33. Keep in Touch<br />facebook.com/msdevsa<br />@msdevsa<br />http://blogs.msdn.com/southafrica<br />
  34. 34. Don’t forget the Xbox Kinect show-down after sessions this evening!<br />
  35. 35. DevDays 2011 Sponsors<br />PLATINUM SPONSOR<br />www.bbd.co.za<br />SILVER SPONSOR<br />www.dvt.co.za<br />SILVER SPONSOR<br />www.ctutraining.co.za<br />
  36. 36. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.<br />The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />

×