Upgrade to Pro — share decks privately, control downloads, hide ads and more …

vagrant (for busy developers)

vagrant (for busy developers)

This talk was given at vienna.js in March 2014. It introduces the audience to the concept of vagrant, describing the terminology and doing a demo on how to initialize, boot and ssh into a vagrant box with three simple commands.


March 26, 2014

More Decks by Sebastian

Other Decks in Programming


  1. vagrant (for busy developers) vienna.js - March 2014 @Sgoettschkes

  2. “It works on my machine”

  3. “It’s all in SETUP.md”

  4. None
  5. Providers

  6. Provisioners

  7. Synced folders http://upload.wikimedia.org/wikipedia/commons/5/5d/BalticServers_data_center.jpg

  8. Basic workflow $ git clone [email protected]:awesomecompany/awesomeVm.git $ cd awesomeVm &&

    vagrant up # Hack away $ git pull --rebase $ vagrant provision # Hack some more and change provision files $ vagrant provision $ git commit -am ‘Incredible changes’ && git push
  9. Demo time! http://upload.wikimedia.org/wikipedia/commons/f/fd/Challenge_Accepted_Rage_Meme.png

  10. vagrant init

  11. vagrant up

  12. vagrant ssh

  13. Thanks

  14. Resources • http://docs.vagrantup.com/v2/ • https://vagrantcloud.com/ • http://stackoverflow. com/questions/tagged/vagrant • IRC:

    #vagrant on Freenode