anthroprose / devops-classday

devops-classday documentation & presentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

devops-classday

devops-classday documentation & presentation


Pre-Requisites

Common

Github Account

VirtualBox

Vagrant

Chef Based Provisioning

Meez

  • meez
  • Not Required, but good for bootstrapping chef cookbooks

Session One - Local Development Environment

Vagrant Setup

git clone git://github.com/{YOURGITHUBACCOUNT}/devops-classday.git
cd devops-classday
vagrant up {centos6|saucy}
vagrant ssh {centos6|saucy}

Session Two - Environment Automation with Chef

Chef-Zero

  • It's chef-lite!
  • Makes working with encrypted data bags a breeze
  • No need to install chef-solo-search on everything

Berkshelf

Make sure to destroy any previous vagrant boxes that may be running before reusing box names in other examples.

apt-get install ruby-dev
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-chef-zero
cd devops-cookbook
vagrant up {centos6|saucy}
vagrant ssh {centos6|saucy}

Session Three - Modern Web App

Nginx

uWSGI

Python/PHP

  • Backed by UNIX Socket or TCP/IP
  • This piece could also be a Tomcat app or anything else exposing a TCP/IP port
apt-get install -y nginx php5-cgi php5-cli uwsgi
service nginx start

Session Four - Continuous Integration

About

devops-classday documentation & presentation


Languages

Language:Ruby 100.0%