92
Windows Azure - Automating app lifecycle
Embed Size (px)
DESCRIPTION
Talk from PDC 2009
Citation preview
- 1.
- 2. Automating the App Lifecycle
Sriram Krishnan
Microsoft Corporation
SVC25
- 3. automate aw-tuh-meytTo replace or enhance human labor with
machines
- 4.
- 5. October 2008
- 6.
- 7.
- 8. ?
- 9. Windows Azure Service Management API
announcing
- 10. API
- 11. Important portal functionality
- 12. What does this mean?
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19. REST + XML
- 20. Everything over HTTPS
- 21. POST
https://management.core.windows.net//services/hostedservices//deploymentslots/
- 22. POST
https://management.core.windows.net//services/hostedservices//deploymentslots/
deployment-name
package-url-in-blob-storage
base64-encoded-configuration-file
base64-encoded-deployment-label
- 23.
- 24.
- 25. X509 certs
- 26. Any valid cert
Multiple certs
Add/revoke anytime
- 27.
- 28.
- 29. Operations supported
- 30. C/R/U/D deployments
Role status
Change config (no. of VMs, settings, etc)
Upgrade
Storage keys
Much more
- 31.
- 32. How can you use it?
- 33. csmanage.exe
- 34. Client library / WCF bindings
- 35. Use REST+XML to roll your own
- 36.
- 37. Service Management API
demo
- 38. Pricing
- 39. Free!
- 40. What can you build with it?
- 41.
http://www.flickr.com/photos/ejpphoto/2314610838/
- 42. http://www.flickr.com/photos/balakov/3082423010/
- 43.
- 44. Integrate with tools/dashboards
Nightly build/continuous integration
Monitoring systems
- 45.
- 46.
- 47. December 4th, 1996
- 48.
- 49.
- 50.
- 51. Oh Oh!
- 52.
- 53. Trickiest patch ever
- 54.
- 55.
- 56. Upgrades can be hard
- 57. 3
- 58. +
- 59. 2
- 60. Stage Deployment
Production Deployment
- 61. Stage Deployment
Production Deployment
- 62. 1
- 63. 'In-place' upgrade
announcing
- 64. Production Deployment
- 65. Production Deployment
(new bits)
- 66. Upgrade Domain
- 67. Production Deployment
- 68. Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 69. upgradeDomainCount=2
Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 70. Automatic vs Manual
- 71. upgradeDomainCount=2
Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 72. upgradeDomainCount=3
Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 73. upgradeDomainCount=1
Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 74. Role- specific upgrade
- 75. Web
Web
Web
Web
Web
Web
Worker
Worker
Worker
Worker
Worker
Worker
- 76. When to use in-place upgrade
- 77. Changes affecting a single role
When you have soft-state
When you dont want to maintain a staging environment
- 78. In-place upgrade
demo
- 79.
- 80.
- 81.
- 82.
- 83.
- 84.
- 85. Auto scaling
- 86. App
Control
Diag.API
- 87. Auto scaling
demo
- 88.
- 89.
- 90.
- 91. [email protected]