vagrant: the ability to create production environments from day 1 of development

21
Vagrant: The ability to create production environments from day 1 of development Paul Stack http://www.paulstack.co.uk http://twitter.com/stack72 mail: [email protected]

Upload: paul-stack

Post on 20-May-2015

2.473 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Vagrant: The ability to create production environments from day 1 of development

Vagrant: The ability to create production environments from day 1 of development

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

Page 2: Vagrant: The ability to create production environments from day 1 of development

About Me

Develop software for OpenTable / toptable

DevOps Extremist

Conference Junkie

Page 3: Vagrant: The ability to create production environments from day 1 of development

Vagrant: F**king Rocks!

Page 4: Vagrant: The ability to create production environments from day 1 of development

Agenda

First world problems for developers

What is Vagrant?

Demo Time

Page 5: Vagrant: The ability to create production environments from day 1 of development
Page 6: Vagrant: The ability to create production environments from day 1 of development
Page 7: Vagrant: The ability to create production environments from day 1 of development
Page 8: Vagrant: The ability to create production environments from day 1 of development

“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 ability to create production environments from day 1 of development

Why is Vagrant awesome?

Development environments are in VCS

Page 10: Vagrant: The ability to create production environments from day 1 of development

Simple Commands

vagrant up

vagrant ssh

vagrant destroy

Page 11: Vagrant: The ability to create production environments from day 1 of development

Demo 1: A Local development environment for mono

Page 12: Vagrant: The ability to create production environments from day 1 of development

Demo 2: Using Vagrant as a testing environment

Page 13: Vagrant: The ability to create production environments from day 1 of development

Vagrant isn’t just for developers

Page 14: Vagrant: The ability to create production environments from day 1 of development

Demo 3: Ubuntu Experimentation

Page 15: Vagrant: The ability to create production environments from day 1 of development

Demo 4: A cluster of ElasticSearch Instances

Page 16: Vagrant: The ability to create production environments from day 1 of development

Demo 5: A Simple Windows 2008R2 VM

Page 17: Vagrant: The ability to create production environments from day 1 of development

Plugin Ecosystem

vagrant-aws

vagrant-rackspace

docker-provider

vagrant-openstack

vagrant-cucumber

More @ http://stack72.me/vagrant-plugins

Page 18: Vagrant: The ability to create production environments from day 1 of development
Page 19: Vagrant: The ability to create production environments from day 1 of development

Packer.io

Page 20: Vagrant: The ability to create production environments from day 1 of development

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 21: Vagrant: The ability to create production environments from day 1 of development