Upload
finn
View
39
Download
0
Embed Size (px)
DESCRIPTION
SVC25. Automating the App Lifecycle. Sriram Krishnan Microsoft Corporation. a utomate \aw - t uh - meyt \ To replace or enhance human labor with machines. . October 2008. ?. Windows Azure Service Management API. announcing. API. Important portal functionality. What does this mean?. - PowerPoint PPT Presentation
Citation preview
Automating the App Lifecycle
Sriram KrishnanMicrosoft Corporation
SVC25
automate \aw-tuh-meyt\ To replace or enhance human labor with machines
<1>
October 2008
?
Windows Azure Service Management API
announcing
API
Important portal functionality
What does this mean?
Protocol
Protocol
REST + XML
Protocol
Everything over HTTPS
POST https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deploymentslots/<slot-name>
POST https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deploymentslots/<slot-name>
<?xml version="1.0" encoding="utf-8"?><Deployment xmlns=”http://schemas.microsoft.com/windowsazure”>
<Name>deployment-name</Name><PackageUrl>package-url-in-blob-storage</
PackageUrl><Configuration>base64-encoded-configuration-
file</Configuration><Label>base64-encoded-deployment-label</Label>
</Deployment>
Protocol
Auth
Protocol
X509 certs
Any valid cert
Multiple certs
Add/revoke anytime
Auth
Protocol
Operations
Auth
Protocol
Operations supported
C/R/U/D deployments
Role status
Change config (no. of VMs, settings, etc)
Upgrade
Storage keys
Much more…
Operations
Auth
Protocol
How can you use it?
csmanage.exe
Client library / WCF bindings
Use REST+XML to roll your own
Service Management API
demo
Pricing
Free!
What can you build with it?
http://www.flickr.com/photos/ejpphoto/2314610838/
http://www.flickr.com/photos/balakov/3082423010/
Integrate with tools/dashboards
Nightly build/continuous integration
Monitoring systems
</1>
December 4th, 1996
Oh Oh!
Trickiest patch ever
<2>
Upgrades can be hard
3
+
2
Stage Deployment Production Deployment
Stage Deployment Production Deployment
1
'In-place' upgrade
announcing
Production Deployment
Production Deployment
(new bits)
Upgrade Domain
Production Deployment
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
upgradeDomainCount=“2”
Automatic vs Manual
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
upgradeDomainCount=“2”
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
upgradeDomainCount=“3”
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
upgradeDomainCount=“1”
Role- specific upgrade
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
Web
Worker
When to use in-place upgrade
Changes affecting a single role
When you have ‘soft-state’
When you don’t want to maintain a staging environment
In-place upgrade
demo
</2>
<3>
Auto scaling
App
Diag.API
Control
Auto scaling
demo
</3>
© 2009 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.