Automating the App Lifecycle 1/18/2019 4:31 PM SVC25 Automating the App Lifecycle Sriram Krishnan Microsoft Corporation © 2007 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.
automate \aw-tuh-meyt\ To replace or enhance human labor with machines 1/18/2019 4:31 PM automate \aw-tuh-meyt\ To replace or enhance human labor with machines © 2007 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.
<1>
October 2008
?
Windows Azure Service Management API 1/18/2019 4:31 PM Windows Azure Service Management API announcing © 2007 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.
API
Important portal functionality
What does this mean?
Protocol
REST + XML Protocol
Everything over HTTPS Protocol
POST https://management. core. windows POST https://management.core.windows.net/<subscription-id>/ services/hostedservices/<service-name>/deploymentslots/<slot-name>
POST https://management. core. windows 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 1/18/2019 4:31 PM Service Management API demo © 2007 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.
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
Production Deployment Stage Deployment Production Deployment
Production Deployment Stage Deployment Production Deployment
1
announcing 'In-place' upgrade 1/18/2019 4:31 PM © 2007 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.
Production Deployment
Production Deployment (new bits)
Upgrade Domain
Production Deployment
Web Web Web Web Web Web Worker Worker Worker Worker Worker Worker
upgradeDomainCount=“2” Web Web Web Web Web Web Worker Worker Worker Worker Worker Worker
Automatic vs Manual
upgradeDomainCount=“2” Web Web Web Web Web Web Worker Worker Worker Worker Worker Worker
upgradeDomainCount=“3” Web Web Web Web Web Web Worker Worker Worker Worker Worker Worker
upgradeDomainCount=“1” Web Web Web Web Web Web Worker Worker Worker Worker Worker Worker
Role- specific upgrade
Web Web Web Web Web Web Worker Worker Worker Worker Worker 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
demo In-place upgrade 1/18/2019 4:31 PM © 2007 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.
</2>
<3>
Auto scaling
Control App Diag. API
demo Auto scaling 1/18/2019 4:31 PM © 2007 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.
</3>
sriramk@microsoft.com www.sriramkrishnan.com
1/18/2019 4:31 PM © 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.
1/18/2019 4:31 PM © 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.