1 / 37

Developing And Deploying Your First Cloud Service

ES01. Developing And Deploying Your First Cloud Service. Steve Marx Windows Azure Microsoft Corporation. This talk is for developers. It’s about making things concrete. It’s about the present. It’s composed o f:. demo. 90% all at once. Overview. Developing an service

afra
Download Presentation

Developing And Deploying Your First Cloud Service

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ES01 Developing And Deploying Your First Cloud Service Steve Marx Windows Azure Microsoft Corporation

  2. This talk is for developers.

  3. It’s about making things concrete.

  4. It’s about the present.

  5. It’s composed of:

  6. demo 90% all at once

  7. Overview • Developing an service • Testing and debugging locally • Deploying to the cloud • Maintaining a running service

  8. No Surprises

  9. Consistent, Familiar Development • Visual Studio • Templates • Debugging • .NET platform • .NET, IIS7, WCF • “The cloud on your desktop” • Complete offline cloud simulation • Like Cassini (web development server)

  10. demo Hello, World!

  11. So What? Default.aspx

  12. We Got Scalability For Free! • Scalability • Availability • Zero-downtime upgrades • All with existing tools and skills LB Default.aspx

  13. Horizontal Scaling What about state? (e.g., shopping cart)

  14. Separating State Durable Store

  15. Durable Storage • Durable, scalable, available store • Simple abstractions • Simple interface • REST • ADO.NET Data Services Blobs Tables Queues …

  16. demo Hello, Storage!

  17. Simple Storage LB Default.aspx Storage(Blobs, Tables, Queues)

  18. Not Just Websites • Cloud services aren’t just websites • Many other types of work for the cloud • Bulk file conversion • Heavy analytics • Finding extraterrestrials • Even websites can offload async work • We need a more complex architecture

  19. Service ArchitecturesWeb role LB Default.aspx Worker.cs Storage

  20. Service ArchitecturesWorker role LB Default.aspx Worker.cs Storage

  21. Service ArchitecturesWeb and worker roles LB Default.aspx Worker.cs Storage

  22. demo Worker Role

  23. Web Role LB Default.aspx Storage(Blobs, Tables, Queues)

  24. Web And Worker Roles LB Default.aspx Worker.cs Simple queue interface Storage(Blobs, Tables, Queues)

  25. Oops, a bug! Probably not the first one…

  26. Debugging • Remember, no surprises • Offline, just what you would expect • Set breakpoints • Step into code • Inspect variables • What about in the cloud?

  27. Logging • Debugging the cloud really means logging • Simple logging API today • More functionality over time

  28. demo Debugging and Logging

  29. Publishing Your Service To The Cloud • Write code on your laptop • Upload your package to the web portal • Push “deploy” • Monitor, upgrade, scale…

  30. demo Hello, World!(the whole world)

  31. Summary • Familiar development • Local debugging • Simple deployment • Automated management

  32. What Next? • Go to http://azure.com • Download the SDK, write some code • Go to these talks: • Storage (Brad Calder) • Tuesday at 1:45pm (502A) • Best Practices (Sriram Krishnan) • Wednesday at 3pm (here) • Programming Model (Daniel Wang) • Thursday at 12pm (here)

  33. Credits Thanks for the photos! Developer desk:http://www.flickr.com/photos/dunkv/97119622/ Concrete, WA:http://flickr.com/photos/karynsig/771785316/

  34. Questions?

  35. Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

  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. 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.

More Related