A short introduction to Vagrant for developers

A short introduction to Vagrant for developers

This was my 8 minute presentation about "Vagrant for developers" at one of our internal Hippo Friday sessions.

Jeroen Reijn

January 24, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

15 slides
  1. DOING CONSULTING? • MySQL? • Postgres? • Oracle? • MongoDB?

    • Couchbase? • Elasticsearch? • SOLR? • Java 6, 7 or 8?
  2. =

  3. JUST 3 STEPS! # Download and set the “base” VM

    image
 $ vagrant box add base http://files.vagrantup.com/ precise64.box # Initialise a new vagrant project by creating a Vagrantfile
 $ vagrant init # Boot the VM based on the config file we created
 $ vagrant up
  4. MORE COMMANDS $ vagrant status
 $ vagrant ssh
 $ vagrant

    reload
 $ vagrant provision
 $ vagrant suspend
 $ vagrant resume
 $ vagrant halt
 $ vagrant destroy
 $ vagrant package
 $ vagrant plugin
  5. PUPPET class { 'postgresql::server': } class { 'postgresql::server::contrib':} postgresql::server::db {

    'book':
 user => 'vagrant',
 password => postgresql_password('vagrant', 'password')
 }
  6. RESOURCES • Vagrant website: http://www.vagrantup.com/ • List of available Vagrant

    boxes: http:// www.vagrantbox.es/ • Virtualbox: https://www.virtualbox.org/

More Decks by Jeroen Reijn

Other Decks in Technology