0
CODECAMP 2012            @hurrycaneSaturday, March 10, 12
Infrastructure as code                           Tools for DevOps                            Bogdan GâzaCODECAMP 2012     ...
$ whoami                   Student at Faculty of Computer Science, Iasi, Romania                           https://github....
Agenda                         DevOps Culture                         Tools for devops                         Automated i...
Devs                          vs                         OpsCODECAMP 2012                   @hurrycaneSaturday, March 10, 12
The teamCODECAMP 2012                       @hurrycaneSaturday, March 10, 12
Dev   Ops   Dev   Ops                               The teamCODECAMP 2012                                    @hurrycaneSat...
Ops            Ops’ job is to keep the site stable and fastCODECAMP 2012                                              @hur...
Dev                         Dev’s job is to add new featuresCODECAMP 2012                                               @h...
Discourage change to increase stability                                          VS                          Allow change ...
The blame gameCODECAMP 2012                             @hurrycaneSaturday, March 10, 12
Lowering risk of change                         through tools and cultureCODECAMP 2012                                    ...
Ops who think like devs                         Devs who think like opsCODECAMP 2012                                      ...
DevOpsCODECAMP 2012                     @hurrycaneSaturday, March 10, 12
Tools for DevOpsCODECAMP 2012                               @hurrycaneSaturday, March 10, 12
Tools for DevOps                     • Automated infrastructure                     • Shared version control              ...
Automated infrastructure                         Reconstructing of the application from                                sou...
In cloud environments:                               Role &                             Configuration                      ...
Automated infrastructureCODECAMP 2012                                       @hurrycaneSaturday, March 10, 12
Minions                         Automated infrastructureCODECAMP 2012                                       @hurrycaneSatu...
Automated infrastructureCODECAMP 2012                                       @hurrycaneSaturday, March 10, 12
Puppet                         A tour of puppetCODECAMP 2012                               @hurrycaneSaturday, March 10, 12
Puppet               Modules           Puppet Master      Configuration                         Node   Node     Node    Nod...
Puppet                         node codecamp.ro {                           package { ruby                             ens...
Puppet                         yum install ruby                         apt-get install ruby                         ports...
Chef                         A tour of chefCODECAMP 2012                             @hurrycaneSaturday, March 10, 12
Chef            Coobooks                Chef Server                         Chef     Chef      Chef     Chef              ...
Chef                         Each system that has chef-client                            installed is called a nodeCODECAM...
Chef                         Each node has attributes.                          {                              "kernel" : ...
Chef         Each node has a Run list in which each Role is applied                         {                             ...
Chef         To describe a state of your node you use Resources                         package "ruby" do                 ...
Chef                                Cookbook directory                         .                         !""   metadata.rb...
Demo                     Setting up a Ruby on Rails stack using Chef and EC2CODECAMP 2012                                 ...
QARubyAndRails 2010             @hurrycaneSaturday, March 10, 12
Thanks!                         And please don’t forget the evaluation form!RubyAndRails 2010                             ...
Upcoming SlideShare
Loading in...5
×

CodeCamp Iasi 10 march 2012 - Infrastructure as code

963

Published on

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
963
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "CodeCamp Iasi 10 march 2012 - Infrastructure as code"

  1. 1. CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  2. 2. Infrastructure as code Tools for DevOps Bogdan GâzaCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  3. 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. 4. Agenda DevOps Culture Tools for devops Automated infrastructure DemoCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  5. 5. Devs vs OpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  6. 6. The teamCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  7. 7. Dev Ops Dev Ops The teamCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  8. 8. Ops Ops’ job is to keep the site stable and fastCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  9. 9. Dev Dev’s job is to add new featuresCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  10. 10. Discourage change to increase stability VS Allow change as soon as it’s needed.CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  11. 11. The blame gameCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  12. 12. Lowering risk of change through tools and cultureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  13. 13. Ops who think like devs Devs who think like opsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  14. 14. DevOpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  15. 15. Tools for DevOpsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  16. 16. Tools for DevOps • Automated infrastructure • Shared version control • One step build / deploy • Always ship trunk • Shared metricsCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  17. 17. Automated infrastructure Reconstructing of the application from source code repository application data backup bare metal resources.CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  18. 18. In cloud environments: Role & Configuration Management OS ImagingCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  19. 19. Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  20. 20. Minions Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  21. 21. Automated infrastructureCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  22. 22. Puppet A tour of puppetCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  23. 23. Puppet Modules Puppet Master Configuration Node Node Node NodeCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  24. 24. Puppet node codecamp.ro { package { ruby ensure => latest } }CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  25. 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. 26. Chef A tour of chefCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  27. 27. Chef Coobooks Chef Server Chef Chef Chef Chef client client client clientCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  28. 28. Chef Each system that has chef-client installed is called a nodeCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  29. 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. 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. 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. 32. Chef Cookbook directory . !"" metadata.rb !"" recipes #   %"" default.rb %"" templates %"" default %"" port_ssh.erbCODECAMP 2012 @hurrycaneSaturday, March 10, 12
  33. 33. Demo Setting up a Ruby on Rails stack using Chef and EC2CODECAMP 2012 @hurrycaneSaturday, March 10, 12
  34. 34. QARubyAndRails 2010 @hurrycaneSaturday, March 10, 12
  35. 35. Thanks! And please don’t forget the evaluation form!RubyAndRails 2010 @hurrycaneSaturday, March 10, 12
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×