Architecting for continuous delivery (33rd Degree)

880
-1

Published on

My talk from the 33rd Degree conference 2013 in Warsaw

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

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

No notes for slide

Architecting for continuous delivery (33rd Degree)

  1. 1. Axel Fontaine ARCHITECTING FORCONTINUOUS DELIVERY
  2. 2. Axel Fontaine @axelfontaine axelfontaine.comSoftware Development Expert business@axelfontaine.com • Independent consultant • Located in Munich • Founder of Flyway
  3. 3. aboutquestions
  4. 4. Automatically deploy a complete application into production multiple times a day with zero downtimeGoal
  5. 5. Perspective
  6. 6. http://digitalcitizen.ca/2009/06/22/simpsons-profile-pics-for-facebook-and-other-applications/
  7. 7. ContinuousDelivery http://www.flickr.com/photos/kamshots/3096111340/
  8. 8. stackoverflow.com
  9. 9. Prerequisites(a.k.a. if you recognize this, you still have work to do)
  10. 10. processhttp://www.flickr.com/photos/feffef/460299390/in/photostream/
  11. 11. build
  12. 12. version control
  13. 13. testinghttp://www.flickr.com/photos/vitorcastillo/2994723741/
  14. 14. DEVBuildSmallTests
  15. 15. DEVBuildSmallTestsMedium Tests
  16. 16. DEVBuildSmallTestsMedium Tests Large Tests
  17. 17. DEV Continuous IntegrationBuild Build Version ControlSmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  18. 18. AutomatedDeployment http://www.flickr.com/photos/soldiersmediacenter/3650607959/
  19. 19. DoNOTdeploySNAPSHOTS !
  20. 20. DEV Continuous IntegrationBuild Build Release Version Artifact Control RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  21. 21. What gets deployed?Code Configuration DB Delta
  22. 22. CodeDeployment Package
  23. 23. backup stop install start … CodeDeployment Deployment Script Package
  24. 24. backup stop install start … CodeDeployment Deployment Script Package
  25. 25. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  26. 26. Configuration ApplicationEnvironment + Application Security Environment Configuration Deployment Code File Server Package System
  27. 27. Environment Detection ? Code Deployment Package
  28. 28. Environment Acceptance Detection Code Auto-Configuration
  29. 29. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  30. 30. DB Delta CodeDeployment Package
  31. 31. Database Migrations Code ? ? DB Deployment Package
  32. 32. Database Migrations http://flywaydb.org
  33. 33. Continuous TargetIntegration backup stop install start … Release Artifact Deployment Repository Script
  34. 34. MailServiceRegistration
  35. 35. MailServiceRegistration
  36. 36. MailServiceRegistration v2 ParcelService
  37. 37. Feature TogglesBranch by Abstraction MailService Registration ParcelService
  38. 38. Feature TogglesBranch by Abstraction MailService Registration ParcelService
  39. 39. DB
  40. 40. Memcache DB
  41. 41. State ManagementBlue/Green Deployments Memcache DB
  42. 42. Summary
  43. 43. Continuous TargetDEV Integration backup stop install start …Build Build Release Deployment Version Artifact Control Script RepositorySmall SmallTests TestsMedium Medium Tests Tests Large Large Tests Tests
  44. 44. http://de.wikipedia.org/wiki/Datei:Yemen_Chameleon.jpg
  45. 45. One more thing
  46. 46. Axel Fontaine @axelfontaine axelfontaine.comSoftware Development Expert business@axelfontaine.com

×