Your SlideShare is downloading. ×
Continuous Deployment
with
Windows Azure
InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese an...
Presented at QCon New York
www.qconnewyork.com
Purpose of QCon
- to empower software development by facilitating the sprea...
web developer
program manager
cloud connoisseur
geek dad
@JustinBeckwith
jbeckwith.com
2001
DEPLOY MORE!!!
Windows Azure
Windows Azure – Cloud Review
• Virtual Machines
• Web Sites
• Cloud Services
• Mobile Services
• Storage / CDN
• Cache
• S...
Web Sites
Cloud Services
Virtual Machines{
+ Java, Ruby,
Scala, Jython,
JRuby, Mono,
Clojure, Groovy,
Erlang, Haskell,
Go,...
LINUX!
OPEN SOURCE!
DEVELOPERS! *
* developers, developers
Deployment
Technologies
Windows Azure Web Sites
• Git / TFS / Hg
• Web Deploy
• FTP
• DropBox
Windows Azure
Services
Windows Azure Web Sites
• SQL Azure
• Storage / CDN
• Cache
• Service Bus
• Azure Store
Team Foundation Service
Team Foundation
Service
Continuous Integration with TFS
• Cloud SCC
• Git & TFS Support
• Build
• Test
• Windows Azure
Test your build
before deploying
my friends.
JavaScript likes
tests too!
Deploy Scripts
• Chutzpah
• QUnit
• Jasmine
• Mocha
• PhantomJS
GitHub, Node, and CLI
OH MY!
not just for .NET
developers!!!
GitHub, node, and the CLI
• Open source SDKs
• CLI built on node
• Git / Hg Support
* but ...
azure site create
--github
GitHub, node, and the CLI
• Cross Platform
• PowerShell
• CRUD
BYOCI
Bring your own
CI – deploy to
Windows Azure
BYOCI
• Local TFS
• Team City
• Jenkins
• Travis-CI
• Open source plugin
• Image in VM Depot
• Eclipse tools for Java
• Java SDK
BYOCI
Do this not that
Don’t wait to start
Tips & Tricks #1
Do run tests on every build
Tips & Tricks #2
Don’t use master
Tips & Tricks #3
Do use package restore
Tips & Tricks #4
Don’t check in secrets
Tips & Tricks #5
Tips & Tricks #1
Doing crazy awesome
things with Deploy Scripts
Custom deploy
scripts
Deploy Scripts
• Logic for git push
• Batch, bash, c#, node
• Compile, Test, Minify
• Cross platform
Not needing to
be in the office
for every build
Continuous Deployment
thanks
Resources
http://github.com/JustinBeckwith
http://jbeckwith.com
http://github.com/WindowsAzure
http://windowsazure.com
htt...
Deploy Scripts
%KUDU_SYNC_CMD%
%DEPLOYMENT_TEMP%
%DEPLOYMENT_TARGET%
%NEXT_MANIFEST_PATH%
%MSBUILD_PATH%
%DEPLOYMENT_SOURC...
Watch the video with slide synchronization on
InfoQ.com!
http://www.infoq.com/presentations/continuo
us-delivery-azure
Code to Cloud: Continuous Delivery with Windows Azure
Code to Cloud: Continuous Delivery with Windows Azure
Code to Cloud: Continuous Delivery with Windows Azure
Code to Cloud: Continuous Delivery with Windows Azure
Code to Cloud: Continuous Delivery with Windows Azure
Code to Cloud: Continuous Delivery with Windows Azure
Upcoming SlideShare
Loading in...5
×

Code to Cloud: Continuous Delivery with Windows Azure

465

Published on

Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/1ae4bAe.

Justin Beckwith introduces several ways to deploy ASP.NET, Node, and PHP applications to Windows Azure, including git deployment, TFS deployment, continuous integration and custom scripts. Filmed at qconnewyork.com.

Justin Beckwith is a Program Manager, web developer, and geek dad working on tooling and the developer experience for Windows Azure. He writes code, speaks at events, and stirs up trouble. Before joining Microsoft, he filled various developer and architect roles with startups, healthcare companies, and universities. He blogs at http://jbeckwith.com and twitters as @justinbeckwith

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
465
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Code to Cloud: Continuous Delivery with Windows Azure"

  1. 1. Continuous Deployment with Windows Azure
  2. 2. InfoQ.com: News & Community Site • 750,000 unique visitors/month • Published in 4 languages (English, Chinese, Japanese and Brazilian Portuguese) • Post content from our QCon conferences • News 15-20 / week • Articles 3-4 / week • Presentations (videos) 12-15 / week • Interviews 2-3 / week • Books 1 / month Watch the video with slide synchronization on InfoQ.com! http://www.infoq.com/presentations /continuous-delivery-azure
  3. 3. Presented at QCon New York www.qconnewyork.com Purpose of QCon - to empower software development by facilitating the spread of knowledge and innovation Strategy - practitioner-driven conference designed for YOU: influencers of change and innovation in your teams - speakers and topics driving the evolution and innovation - connecting and catalyzing the influencers and innovators Highlights - attended by more than 12,000 delegates since 2007 - held in 9 cities worldwide
  4. 4. web developer program manager cloud connoisseur geek dad @JustinBeckwith jbeckwith.com
  5. 5. 2001
  6. 6. DEPLOY MORE!!!
  7. 7. Windows Azure
  8. 8. Windows Azure – Cloud Review • Virtual Machines • Web Sites • Cloud Services • Mobile Services • Storage / CDN • Cache • Service Bus (Queues, PubSub) • SQL Azure • Doc DB • Identity Services • Azure Store
  9. 9. Web Sites Cloud Services Virtual Machines{ + Java, Ruby, Scala, Jython, JRuby, Mono, Clojure, Groovy, Erlang, Haskell, Go, we’re all like whatever {ASP.NET, PHP, node.js, Ruby, Python
  10. 10. LINUX! OPEN SOURCE! DEVELOPERS! * * developers, developers
  11. 11. Deployment Technologies Windows Azure Web Sites • Git / TFS / Hg • Web Deploy • FTP • DropBox
  12. 12. Windows Azure Services Windows Azure Web Sites • SQL Azure • Storage / CDN • Cache • Service Bus • Azure Store
  13. 13. Team Foundation Service
  14. 14. Team Foundation Service Continuous Integration with TFS • Cloud SCC • Git & TFS Support • Build • Test • Windows Azure
  15. 15. Test your build before deploying my friends.
  16. 16. JavaScript likes tests too! Deploy Scripts • Chutzpah • QUnit • Jasmine • Mocha • PhantomJS
  17. 17. GitHub, Node, and CLI OH MY!
  18. 18. not just for .NET developers!!! GitHub, node, and the CLI • Open source SDKs • CLI built on node • Git / Hg Support * but seriously, it’s pretty awesome for .NET
  19. 19. azure site create --github GitHub, node, and the CLI • Cross Platform • PowerShell • CRUD
  20. 20. BYOCI
  21. 21. Bring your own CI – deploy to Windows Azure BYOCI • Local TFS • Team City • Jenkins • Travis-CI
  22. 22. • Open source plugin • Image in VM Depot • Eclipse tools for Java • Java SDK BYOCI
  23. 23. Do this not that
  24. 24. Don’t wait to start Tips & Tricks #1
  25. 25. Do run tests on every build Tips & Tricks #2
  26. 26. Don’t use master Tips & Tricks #3
  27. 27. Do use package restore Tips & Tricks #4
  28. 28. Don’t check in secrets Tips & Tricks #5
  29. 29. Tips & Tricks #1
  30. 30. Doing crazy awesome things with Deploy Scripts
  31. 31. Custom deploy scripts Deploy Scripts • Logic for git push • Batch, bash, c#, node • Compile, Test, Minify • Cross platform
  32. 32. Not needing to be in the office for every build Continuous Deployment
  33. 33. thanks
  34. 34. Resources http://github.com/JustinBeckwith http://jbeckwith.com http://github.com/WindowsAzure http://windowsazure.com http://tfs.visualstudio.com
  35. 35. Deploy Scripts %KUDU_SYNC_CMD% %DEPLOYMENT_TEMP% %DEPLOYMENT_TARGET% %NEXT_MANIFEST_PATH% %MSBUILD_PATH% %DEPLOYMENT_SOURCE% %ARTIFACTS% %PREVIOUS_MANIFEST_PATH%
  36. 36. Watch the video with slide synchronization on InfoQ.com! http://www.infoq.com/presentations/continuo us-delivery-azure

×