CodeCamp Iasi 10 march 2012 - Infrastructure as code
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

CodeCamp Iasi 10 march 2012 - Infrastructure as code

on

  • 1,390 views

 

Statistics

Views

Total Views
1,390
Views on SlideShare
1,390
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CodeCamp Iasi 10 march 2012 - Infrastructure as code Presentation Transcript

  • 1. CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 2. Infrastructure as code Tools for DevOps Bogdan GâzaCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 3. $ whoami Student at Faculty of Computer Science, Iasi, Romania https://github.com/sferik/rails_admin bogdan.gaza@info.uaic.ro @hurrycaneCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 4. Agenda DevOps Culture Tools for devops Automated infrastructure DemoCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 5. Devs vs OpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 6. The teamCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 7. Dev Ops Dev Ops The teamCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 8. Ops Ops’ job is to keep the site stable and fastCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 9. Dev Dev’s job is to add new featuresCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 10. Discourage change to increase stability VS Allow change as soon as it’s needed.CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 11. The blame gameCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 12. Lowering risk of change through tools and cultureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 13. Ops who think like devs Devs who think like opsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 14. DevOpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 15. Tools for DevOpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 16. Tools for DevOps • Automated infrastructure • Shared version control • One step build / deploy • Always ship trunk • Shared metricsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 17. Automated infrastructure Reconstructing of the application from source code repository application data backup bare metal resources.CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 18. In cloud environments: Role & Configuration Management OS ImagingCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 19. Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 20. Minions Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 21. Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 22. Puppet A tour of puppetCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 23. Puppet Modules Puppet Master Configuration Node Node Node NodeCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 24. Puppet node codecamp.ro { package { ruby ensure => latest } }CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 25. Puppet yum install ruby apt-get install ruby ports install ruby rpm -Uvh ruby-1.8.7.i386.rpm up2date ruby fink install rubyCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 26. Chef A tour of chefCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 27. Chef Coobooks Chef Server Chef Chef Chef Chef client client client clientCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 28. Chef Each system that has chef-client installed is called a nodeCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 29. Chef Each node has attributes. { "kernel" : { "machine" : "x86_64", "os" : "Darwin", "release" : "10.7.3" }, "ipaddress" : "192.168.0.12", "hostname" : "latte" }CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 30. Chef Each node has a Run list in which each Role is applied { "runlist" : [ "role[webserver]", "role[database_master]", "role[development]" ] }CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 31. Chef To describe a state of your node you use Resources package "ruby" do version 1.8.7, action install endCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 32. Chef Cookbook directory . !"" metadata.rb !"" recipes #   %"" default.rb %"" templates %"" default %"" port_ssh.erbCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 33. Demo Setting up a Ruby on Rails stack using Chef and EC2CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  • 34. QARubyAndRails 2010 @hurrycaneSaturday, March 10, 12
  • 35. Thanks! And please don’t forget the evaluation form!RubyAndRails 2010 @hurrycaneSaturday, March 10, 12