Vagrant - the essence of DevOps in a tool

24
Vagrant: The essence of DevOps in a tool Paul Stack http://www.paulstack.co.uk http://twitter.com/stack72 mail: [email protected]

description

Vagrant presentation for the WiT meetup in Krakow - July 2014

Transcript of Vagrant - the essence of DevOps in a tool

Page 1: Vagrant - the essence of DevOps in a tool

Vagrant: The essence of DevOps in a tool

Paul Stack http://www.paulstack.co.uk http://twitter.com/stack72 mail: [email protected]

Page 2: Vagrant - the essence of DevOps in a tool

Vagrant: A tool even a drunk Irishman can use

Page 3: Vagrant - the essence of DevOps in a tool

About Me

Infrastructure Engineer for OpenTable

Reformed ASP.NET / C# Developer

DevOps Extremist

Conference Junkie

Page 4: Vagrant - the essence of DevOps in a tool

Agenda

First world problems for developers

What is Vagrant?

Demo Time

New Features

Packer

Page 5: Vagrant - the essence of DevOps in a tool
Page 6: Vagrant - the essence of DevOps in a tool
Page 7: Vagrant - the essence of DevOps in a tool

www.vagrantup.com

Page 8: Vagrant - the essence of DevOps in a tool

“Vagrant is a tool for building complete development environments, sandboxed in a virtual machine.”

!

Mitchell Hashimoto. “Vagrant: Up and Running.”

What is Vagrant?

Page 9: Vagrant - the essence of DevOps in a tool

Why is Vagrant awesome?

Development /Testing environments are in version control

Page 10: Vagrant - the essence of DevOps in a tool

So what is a vagrant box?

Page 11: Vagrant - the essence of DevOps in a tool

So what is a vagrant box?

Page 12: Vagrant - the essence of DevOps in a tool

Simple Commands

vagrant up

vagrant ssh

vagrant destroy

Page 13: Vagrant - the essence of DevOps in a tool

Demos….

Page 14: Vagrant - the essence of DevOps in a tool

Plugin Ecosystem

vagrant-aws

vagrant-rackspace

docker-provider

vagrant-openstack

vagrant-cucumber

More @ bit.ly/1lIDarz

Page 15: Vagrant - the essence of DevOps in a tool
Page 16: Vagrant - the essence of DevOps in a tool

Extensions In Recent Versions

vagrant share

vagrant global-status

vagrant ssh <unique id>

vagrant rdp

Page 17: Vagrant - the essence of DevOps in a tool

Where can I find out more?

Page 18: Vagrant - the essence of DevOps in a tool

http://docs.vagrantup.com/v2/

Page 19: Vagrant - the essence of DevOps in a tool

So where can I find some boxes?

Page 20: Vagrant - the essence of DevOps in a tool

www.vagrantcloud.com

Page 21: Vagrant - the essence of DevOps in a tool

How do I build these boxes?

Page 22: Vagrant - the essence of DevOps in a tool

Packer.io

Page 23: Vagrant - the essence of DevOps in a tool

Summary

Installing dependencies on developer machines is painful

Developing / testing against different non-production OS is dangerous

Vagrant is a way to sandbox production like environments

No more “Works on My Machine” excuse

Page 24: Vagrant - the essence of DevOps in a tool