Monday, May 18, 2015

Dev Ops 101

Dev Ops 101

Published in: SoftwareEngineeringTechnology

Transcript

  • 1. DEVOPS101 Spellworking your environments
  • 2. DevOps ?
  • 3. But it works on my machine….
  • 4. Development Staging Production
  • 5. Web server Database server Business server Development Staging Production
  • 6. Development Staging Production Web server Business Server Database Server
  • 7. 7 Tomcat Nagios Git Postgres Activemq Gradle Vim Base box
  • 8. Now Imagine if this installation needs to happen on 37 machines
  • 9. Philosophy “If you are repeating a manual task, you are probably doing it wrong”
  • 10. Tomcat Nagios Git Postgres Activemq Gradle Vim As Code Via Con figuration manag ement Git Puppet
  • 11. Our Mission
  • 12. Environment Frontend Backend
  • 13. 13 Virtual machines
  • 14. vagrant init box_name vagrant up vagrant box add box_name address vagrant ssh vagrant provision vagrant halt/destroy + =
  • 15. Idempotent Solution Cross Platform Testable & Maintainable
  • 16. Type Name Attribute Value Package Exec File Service RESOURCE
  • 17. CLASS Install JDK C L A S S Download JDK
  • 18. CUSTOM RESOURCE TYPES
  • 19. Manifest Manifest Manifest Manifest CATALOG
  • 20. Let’s Get to Business
  • 21. Hands-on Building a todo App Server
  • 22. https://github.com/sreedevivedula/devops101 Repo URL
  • 23. https://github.com/sreedevivedula/devops10 1/tree/stage0-bootstrap STAGE 0: Bootstrap todo Server
  • 24. https://github.com/sreedevivedula/devops10 1/tree/stage1-papply STAGE 1: Install papply
  • 25. https://github.com/sreedevivedula/devops10 1/tree/stage2-java STAGE 2: Install Java
  • 26. https://github.com/sreedevivedula/devops10 1/tree/stage3-tomcat STAGE 3: Install Tomcat
  • 27. https://github.com/sreedevivedula/devops10 1/tree/stage4-appdeploy STAGE 4: Deploy todo app
  • 28. Mission achieved!
  • 29. REFERENCES https://www.vagrantup.com/ https://puppetlabs.com/
  • 30. IMAGE REFERENCES http://www.publicdomainpictures.net/ http://magicka.gamepedia.com/ http://litablog.org/author/bryjbrown/ https://www.vagrantup.com/ https://puppetlabs.com/ http://samcl4.deviantart.com/art/Puppet-Master-384251252
  • 31. Thank you
  • 32. The Team
  • 33. Mukund Dhandhania Email Id:mukundd@thoughtworks.co m Sreedevi Vedula Twitter: @suryasreevedula Blog: https://sreedevivedula.github.io/ Linkedin: https://www.linkedin.com/in/ suryasreedevivedula Abubacker Siddique Twitter: @justabu Krishna Kumar Sure Twitter: @kksure Shraddha Suman Twitter: @shraddhaSuman18 Linkedin: http://in.linkedin.com/in/shradd hasuman