Developing And Deploying Your First Cloud Service
Steve MarxWindows AzureMicrosoft Corporation
ES01
This talk is for developers.
It’s about making things concrete.
It’s about the present.
It’s composed of:
Demos90%
Other10%
90% all at once
demo
Overview
Developing an service
Testing and debugging locally
Deploying to the cloud
Maintaining a running service
No Surprises
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)
Hello, World!
demo
So What?
Default.aspx
We Got Scalability For Free!
Scalability Availability Zero-downtime upgrades All with existing tools and skills
Default.aspxLB
Horizontal Scaling
What about state?(e.g., shopping cart)
Separating State
Durable Store
Durable Storage
Durable, scalable, available store
Simple abstractions
Simple interface REST ADO.NET Data Services
Blobs Tables
…
Queues
Hello, Storage!
demo
Simple Storage
Default.aspx
Storage(Blobs, Tables, Queues)
LB
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
Service ArchitecturesWeb role
Storage
LB Worker.cs
Service ArchitecturesWorker role
Default.aspx
Storage
LB
Service ArchitecturesWeb and worker roles
Storage
LB
Worker Role
demo
Web Role
Default.aspx
Storage(Blobs, Tables, Queues)
LB
Web And Worker Roles
Default.aspx
Storage(Blobs, Tables, Queues)
LB Worker.cs
Simple queue interface
Probably not the first one…
Oops, a bug!
Debugging
Remember, no surprises
Offline, just what you would expect Set breakpoints Step into code Inspect variables
What about in the cloud?
Logging
Debugging the cloud really means logging
Simple logging API today
More functionality over time
Debugging and Logging
demo
Publishing Your Service To The Cloud
1. Write code on your laptop2. Upload your package to the web portal3. Push “deploy”
4. Monitor, upgrade, scale…
Hello, World!(the whole world)
demo
Summary
Familiar development
Local debugging
Simple deployment
Automated management
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)
Credits
Thanks for the photos!
Developer desk:http://www.flickr.com/photos/dunkv/97119622/
Concrete, WA:http://flickr.com/photos/karynsig/771785316/
Questions?
Evals & Recordings
Please fill
out your
evaluation for
this session at:
This session will be available as a recording at:
www.microsoftpdc.com
© 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.
Top Related