VAGRANT



for the weird and STRANGE ... 





event:  @denverjug  
speaker: @virtualandy  


...dependencies


Vagrant with Michael Ries (Ruby Rogues Podcast 82)

http://rubyrogues.com/082-rr-vagrant-with-michael-ries/

(December 2012)


flickr.com/photos/brenda-starr/3466560105/

"works on my machine"

flickr.com/photos/bfsminid/4326256277

"notes on a wiki isn't reproducible"

"bring process to a dev environment"

Insta-training



http://vagrantup.com



Jan 2010 - Nov 2012


Vagrant = VirtualBox + Ruby 

(Chef/Puppet)

March 2013 - 1.1

Vagrant = 


(VirtualBox || VMWare || EC2) 
+
Chef/Puppet/shell/other

Current 1.2

Vagrant = 


All that other stuff
+
better Windows support

Resources


Vagrant
http://docs.vagrantup.com/v1/docs/index.html
http://www.hashicorp.com/blog/

Related Projects
https://github.com/jedi4ever/veewee

Interview with Mitchell
https://medium.com/brief-interviews/2a19b5e1c770

Resources (cont.)


Blogs, Articles, etc



http://chriskirk.blogspot.com/2013/06/vagrant-script-for-compiling-jdk-8-from.html



Resources (cont.)


Articles, Blogs, etc.

http://blog.codecentric.de/en/2012/02/automated-virtual-test-environments-with-vagrant-and-puppet/


http://vertis.github.com/2012/11/02/creating-a-vagrant-base-box-from-an-existing-vmdk.html


http://red-badger.com/blog/2013/02/21/automating-your-infrastructure-with-vagrant-chef-from-development-to-the-cloud/

http://pinboard.in/virtualandy

The Basics

https://www.virtualbox.org

The Basics


downloads.vagrantup.com

or

gem install vagrant

The Basics


vagrant box add <name> <uri>


vagrant init <box_name>


vagrant up


http://files.vagrant.com/lucid32.box
http://files.vagrant.com/precise64.box

More:
http://www.vagrantbox.es/
https://github.com/jedi4ever/veewee

Boxes



(Simple Demo)

Boxes


Win8 - close, but...


Boxes


(windows demo)

See: https://github.com/hh/windows-fromscratch
or
http://jongalentine.com/2012/12/22/creating-vagrant-base-boxes-with-veewee/



Boxes


https://github.com/jedi4ever/veewee

Boxes


(vagrant/chef/Java 7 demo)

Boxes



(vagrant/shell/Java 8 demo)

Sharing is Caring


https://github.com/semmypurewal/node-dev-bootstrap
https://github.com/centralway/vertx-vagrant
https://github.com/rogelio2k/vagrant-postgis2
...

Simple Vagrant config




Alternatives



http://modern.ie
(or https://github.com/xdissent/ievms)

Alts (cont.)


http://browserling.com
http://ci.testling.com/

Alts (cont.)


http://jenkins-ci.org/

http://travis-ci.org

http://www.cloudbees.com/dev.cb


Alts (cont.)


This Guy:


Even more...


http://boxen.github.com


Chef/Puppet/VMWare/etc


BOSH (http://cloudfoundry.github.com/docs/running/deploying-cf/)

https://aws.amazon.com/opsworks/

*aaS

*vm

Cons


flickr.com/photos/jamiecat/5849604485

Cons (cont.)

flickr.com/photos/istolethetv/4044962869

Cons (cont.)

flickr.com/photos/usfwspacific/4952595424



when people do the things computers could do, all the computers get together late at night and laugh at us.

-- Neal Ford (paraphrase)
“… Source control is number one in both configuration and logic storage. A new developer needs to be able to have everything in a state where they can load it up in 1 command, and deploy it with another…

--Evan Bottcher
flickr.com/photos/jdhancock/4829162985

Be like better than me


https://github.com/DenverJUG/feedback

Thank You

Made with Slides.com