Ops for Devs

Ops for Devs

A quick introduction to the "devops" buzzword for those that don't like dealing with servers.

A2d0a8d7b09e3651f71d86c2299e7d25?s=128

Peter Sobot

May 03, 2013
Tweet

Transcript

  1. 2.
  2. 13.

    BUT

  3. 14.

    WE HAVE TO CARE ABOUT SERVERS bugs in production! version

    mismatches! kernel issues! hardware failures! security holes! architecture mismatches! missing hardware instructions! virtualization bugs! performance drops! server bills! client latency! bandwidth costs! internet!!1! omg hakx!
  4. 16.
  5. 18.

    class nginx { package { 'nginx': ensure => latest }

    service { 'nginx': ensure => running } file { '/etc/nginx/nginx.conf': ensure => present, source => 'puppet:///modules/nginx/nginx.conf', notify => Service['nginx'], } }
  6. 24.
  7. 26.

    Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.network

    :forwarded_port, guest: 80, host: 8080 config.vm.network :forwarded_port, guest: 443, host: 8443 config.vm.synced_folder "./", "/var/www/" config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--memory", "2048"] end config.vm.provision :puppet do |puppet| puppet.module_path = "puppet/modules" puppet.manifests_path = "puppet" puppet.manifest_file = "wubmachine.pp" end end choose any OS use your Puppet code share folders map ports
  8. 27.
  9. 37.