Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)

  • 824 views
Uploaded on

Enabling Continuous Delivery ...

Enabling Continuous Delivery

The primary goals of this session are to:

Give a brief, platform-agnostic overview of the “why” and “what” of Continuous Delivery. The purpose is to simply educate the student and bring everyone to the same level.
Explain how Cloud Foundry benefits Continuous Delivery.

Provide a hands-on lab experience where the student takes a Spring Boot microservice application and builds a continuous delivery pipeline for it using Jenkins, Artifactory, and Cloud Foundry. This is all done using free trial SaaS versions of the software.

Pivotal Cloud Platform Roadshow is coming to a city near you!
Join Pivotal technologists and learn how to build and deploy great software on a modern cloud platform. Find your city and register now http://bit.ly/1poA6PG

More in: Software
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
824
On Slideshare
800
From Embeds
24
Number of Embeds
2

Actions

Shares
Downloads
102
Comments
0
Likes
4

Embeds 24

https://twitter.com 20
http://www.slideee.com 4

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Pivotal Cloud Platform Deep Dive Part 3: Enabling Continuous Delivery Pivotal CF Team © Copyright 20134 Pivotal. All rights reserved. 1
  • 2. Before we get started… © Copyright 2014 Pivotal. All rights reserved. 2
  • 3. Setup Prerequisites • CloudBees Account (Jenkins) http://grandcentral.cloudbees.com • JFrog Artifactory Online Account https://www.jfrog.com/registration/registration.html © Copyright 2014 Pivotal. All rights reserved. 3
  • 4. © Copyright 2014 Pivotal. All rights reserved. CloudBees 4
  • 5. © Copyright 2014 Pivotal. All rights reserved. 5
  • 6. © Copyright 2014 Pivotal. All rights reserved. 6
  • 7. © Copyright 2014 Pivotal. All rights reserved. 7
  • 8. © Copyright 2014 Pivotal. All rights reserved. 8
  • 9. © Copyright 2014 Pivotal. All rights reserved. 9
  • 10. © Copyright 2014 Pivotal. All rights reserved. 10
  • 11. © Copyright 2014 Pivotal. All rights reserved. Artifactory Online 11
  • 12. © Copyright 2014 Pivotal. All rights reserved. 12
  • 13. © Copyright 2014 Pivotal. All rights reserved. 13
  • 14. © Copyright 2014 Pivotal. All rights reserved. 14
  • 15. © Copyright 2014 Pivotal. All rights reserved. 15
  • 16. © Copyright 2014 Pivotal. All rights reserved. 16
  • 17. © Copyright 2014 Pivotal. All rights reserved. 17
  • 18. © Copyright 2014 Pivotal. All rights reserved. 18
  • 19. Enabling Continuous Delivery • Setup Prerequisites • Continuous Delivery Overview • How Cloud Foundry Enables Continuous Delivery • Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF Client, and PWS © Copyright 2014 Pivotal. All rights reserved. 19
  • 20. Meet Henry (Our Business Owner) 20 !
  • 21. Meet Henry ! He needs an app built in the next 8 weeks He knows what the app should do He expects competitors to try to beat us to market 21
  • 22. Meet Jane (Our App Architect) 22 !
  • 23. Meet Jane Jane is a little worried: ! Not everyone understands agile here Environment setup takes a long time 8 Weeks isn’t much time to get a release to production (!) 23
  • 24. Continuous Delivery To The Rescue! 24
  • 25. Continuous Deployment 25 Github: On August 23, 2012 – 563 builds and 175 deploys github.com/blog/1241-deploying-at-github
  • 26. Continuous Delivery != Continuous Deployment 26 !
  • 27. Continuous Delivery != Continuous Deployment 27 twitter.com/ccaum/statuses/372620989257232384
  • 28. The Difference: ! Who Presses The Button For A Production Deployment? 28
  • 29. What Could Get In Jane’s Way? 29
  • 30. Cycle Time How Long Does It Take To Deploy One Line Of Code To Production? 30 www.flickr.com/photos/nnova/3399904953
  • 31. Silos … But We Have A DevOps Team! 31 www.flickr.com/photos/denimdave/6334224428
  • 32. Process You Need To Open A Ticket For That! 32 www.flickr.com/photos/kevgilmour/4843051331
  • 33. Feedback Loop Are We Building The Right Thing? 33 www.flickr.com/photos/tenspeedphotography/5450456783
  • 34. 34 Change Production Breaks When Changes Are Made (!) … Right?
  • 35. Jane Needs Some Help (This Seems Insurmountable) 35
  • 36. Strategies For Success 36
  • 37. Strategies For Success Do Implement Continuous Integration 37 !
  • 38. Strategies For Success Do Not Create Environment Specific Packages 38 ! ! ! ! !
  • 39. Strategies For Success Do Externalize Environment Specific Configuration ! ! ! | ! ! ! 39
  • 40. Strategies For Success Do Automate Everything 40 !
  • 41. Strategies For Success Do Not Assume Existing Processes Are Right (Engage In Continuous Improvement) 41 !
  • 42. Strategies For Success Do Not Use A Different Process For Different Environments 42 ! ! ! ! !
  • 43. Strategies For Success Do Recreate App Environments Frequently (Also Known As: Servers Are Not Puppies) 43 !
  • 44. Strategies For Success Do Ensure Database Changes Are Automated 44 ! ! ! ! !
  • 45. Strategies For Success Do Deploy Less More Frequently ! 45 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! v2.1 v2.1 ! ! ! ! v2.2 ! ! ! ! ! ! v2.3 ! ! !
  • 46. Strategies For Success Do Automate All Testing Where Test Failures Would Prevent A Production Release From Occurring ! 46 ! ! ! | ! ! !
  • 47. Strategies For Success Do Try To Use Tools That Support The Process (But Don’t Get Stuck In Tool Selection Hell!) 47 g ! !
  • 48. Enabling Continuous Delivery • Setup Prerequisites • Continuous Delivery Overview • How Cloud Foundry Enables Continuous Delivery • Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF Client, and PWS © Copyright 2014 Pivotal. All rights reserved. 48
  • 49. Cloud Foundry Helps Jane… 49
  • 50. Cloud Foundry Helps Jane… Get A New App Environment In Seconds 50 ! in a !
  • 51. Cloud Foundry Helps Jane… Have Complete Consistency Between Environments 51 ! ! ! ! !
  • 52. Cloud Foundry Helps Jane… Have A Consistent API To Automate Deployments 52 ! ! ! ! !
  • 53. Cloud Foundry Helps Jane… Inject Environment Specific Configuration 53 ! ! !
  • 54. Cloud Foundry Helps Jane… Inject External Dependencies 54 ! ! !
  • 55. 55 Cloud Foundry Helps Jane… Promote Apps Through Environments With The Same Process ! !! ! ! ! ! !
  • 56. Cloud Foundry Helps Jane… By Providing New Options: + Canary Deployment + Zero Downtime Deployment + A/B Testing + Scale Apps On-Demand 56
  • 57. App Developers Can Be More Successful When They Are Supported By Agile Infrastructure 57 !
  • 58. Enabling Continuous Delivery • Setup Prerequisites • Continuous Delivery Overview • How Cloud Foundry Enables Continuous Delivery • Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF Client, and PWS © Copyright 2014 Pivotal. All rights reserved. 58
  • 59. Lab • Follow the instructions found at https://github.com/cf-platform- eng/cf-workshop-cd-module using your: • Pivotal Web Services Account • CloudBees Account • Artifactory Online Account © Copyright 2014 Pivotal. All rights reserved. 59
  • 60. Enabling Continuous Delivery • Setup Prerequisites • Continuous Delivery Overview • How Cloud Foundry Enables Continuous Delivery • Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF Client, and PWS © Copyright 2014 Pivotal. All rights reserved. 60
  • 61. Coming Up • Break (4:00 - 4:15) • Part Four (4:15 - 5:30) • Learn CF Extension Points • Customize a Buildpack -OR- •Write and Deploy a Service Broker © Copyright 2014 Pivotal. All rights reserved. 61
  • 62. A NEW PLATFORM FOR A NEW ERA