Saving Time and Money with Vagrant

28
September 23, 2014 @timothybroder Saving Time and Money With Vagrant

description

Vagrant can aid businesses and developers by creating development environments that mirror production. This talk discusses the basics of Vagrant, real world stories, and how it can be used in various projects. Originally given at MeetMagentoNY 2014

Transcript of Saving Time and Money with Vagrant

September 23, 2014

@timothybroder

Saving Time and Money With Vagrant

Who am I?

Tim Broder Technical Director

Alexander Interactive

@timothybroder

http://timbroder.com

AgendaWhat is Vagrant?

Vagrant init

Key Takeaways

Sound Familiar?

“I can’t reproduce it locally” “Oh, that’s not the right version”

“Ok, so leave a day or so to setup the project”

Sound Familiar?

Remove frustration. Technology can help.

What is Vagrant?

An Open Source tool for building and distributing development environments

WTF Does That Mean?

Vagrant gives you unified development environments that are easily distributable

Why do you care?

• Match the production stack

• Test a server config

• Test a deploy script

• SETUP. THE. PROJECT.

Who benefits?• Solo Developers

• Startups

• Agencies

• Large Scale Businesses

vagrant init

vagrant init

Library conflicts

Multiple projects.

Complex stacks

Starting Out• Vagrant

• VirtualBox

• VMWare

Box?

Statement here, use sentences don’t forget the period.

Dev Locally. Run on “Prodish”1. Project files

mapped to /vagrant

2. Port Forwarding: guest, local

3. Profit

Basic Commands

• vagrant up

• vagrant halt

• vagrant reload

• vagrant ssh

Provisioning• Chef

• Puppet

• Docker

• Ansible

• Salt

Box Distribution• VagrantFile in source control

• Vagrant package

• Box on server

Remote Access• vagrant share

• http://scorching-moose-9862.vagrantshare.com

• http or ssh access

Key TakeawaysRECAP

Test and deployat scale.

Infrastructure as Code.

Setup the environment anywhere.

Thank you!• http://by.ai/vagranttalk • @timothybroder • http://timbroder.com