Slide 1

Slide 1 text

Supercharge Your Stack with Vagrant Monday, 1 April, 13

Slide 2

Slide 2 text

Michael Cheng Senior Software Engineer, mig33 http://twitter.com/coderkungfu http://github.com/miccheng http://CoderKungfu.com Monday, 1 April, 13

Slide 3

Slide 3 text

What is Vagrant? • Vagrant provides easy to configure, reproducible, and portable work environments. • Built on top of industry-standard technology and controlled by a single consistent workflow. • Help maximize the productivity and flexibility of you and your team. Monday, 1 April, 13

Slide 4

Slide 4 text

What is Vagrant? • Management tool for development Virtual Machines (VirtualBox, VMWare, AWS). • Spins up a VM with a base OS installation. • Allow for automated pre-installation of your dev stack/tools in the box via a Shell Script, Puppet or Chef. (Provisioning) • Work on files in your host OS and have it synced automatically to the VM. Monday, 1 April, 13

Slide 5

Slide 5 text

Problems it Solve • Clean separation of your computer's OS and the Dev stack. Closer to the production environment. • Reproducible config that can be shared with your co-workers. No more inconsistent Dev setup. • Automated install - not manually running multiple shell commands and making a mess cos u run them in the wrong order. • Lets you focus on the important things - writing code. Monday, 1 April, 13

Slide 6

Slide 6 text

Demo Dev Stack on CentOS in VirtualBox Monday, 1 April, 13

Slide 7

Slide 7 text

Demo • Download Vagrant from http://vagrantup.com • Pick a base OS: http://www.vagrantbox.es • Terminal Commands • vagrant init • vagrant up • vagrant suspend • vagrant reload • vagrant destroy Monday, 1 April, 13

Slide 8

Slide 8 text

Monday, 1 April, 13

Slide 9

Slide 9 text

Projects • Dev stack for NodeJS (https://github.com/ miccheng/vagrant-nodejs) • LAMP stack in CentOS (https://github.com/ miccheng/vagrant-lamp-centos63) Monday, 1 April, 13