With Chef and Vagrant.
Checkout the demo video at https://vimeo.com/77776149
automate your dev environment
chef + vagrant
• CTO at Cult of Bits
• 10+ years of professional Java
What are we
going to talk
Stop installing things
Because you will make
it’s something that
your computer can do
better and cheaper.
Chef is an automation platform that
transforms infrastructure into code.
Use it to manage
chef-solo is an open source version of
the chef-client that allows using
cookbooks with nodes without
requiring access to a server.
A node is any physical, virtual, or cloud
machine that is configured to be
maintained by a chef-client.
A role is a way to define certain patterns
and processes that exist across nodes in
an organization as belonging to a single
A cookbook is the fundamental unit of
configuration and policy distribution.
Each cookbook defines a scenario, such
as everything needed to install and
configure MySQL, and then it contains all
of the components that are required to
support that scenario
What else are
we going to
Get rid of the
“it works on my
Because it’s a
waste of time
Because it reflects
poorly on you
Vagrant is a tool for building complete
development environments. Vagrant
lowers development environment setup
time, increases development/production
parity, and makes the "works on my
machine" excuse a relic of the past.
Enable Vagrant to work with different
backends: VirtualBox (the default),
VMware Fusion (paid), AWS, Rackspace,
Digital Ocean, etc…
Boxes are the skeleton from which
Vagrant machines are constructed. They
are portable files which can be used by
others on any platform that runs Vagrant
to bring up a working environment.
Boxes are provider specific.
The primary function of the Vagrantfile is
to describe the type of machine required
for a project, and how to configure and
provision these machines.
Commit them to version control.
available at: https://vimeo.com/77776149
The Chef Homepage
The Vagrant Homepage
A big list of available Vagrant boxes