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

CodeCamp Iasi 10 march 2012 - Infrastructure as code

on

  • 1,350 views

 

Statistics

Views

Total Views
1,350
Views on SlideShare
1,350
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 CodeCamp Iasi 10 march 2012 - Infrastructure as code Presentation Transcript

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