Creating Development Environments with Vagrant - Second Edition

More Information
  • Integrate your own machine with the virtual machine of your development environment
  • Install Vagrant on multiple platforms such as Windows, OS X, and Linux
  • Familiarize yourself with Vagrant operations such as port forwarding, disk mapping, and networking
  • Install and manage software packages using Puppet, Ansible, and Chef
  • Set up and control multiple virtual machines simultaneously within the same project
  • Build and manage your own base box for Vagrant
  • Discover how to set up a simple LEMP server for a Vagrant project

Vagrant is an open source software used to create and manage virtual development environments. It can be considered a wrapper around virtualization software such as VirtualBox and configuration management software such as Chef, Ansible, and Puppet.

This book looks at the potential that virtualization offers us, and breaks down the process of creating a distributable and powerful virtual development environment. You will learn how to create more advanced development environments consisting of multiple virtual machines, allowing you to mimic multi-server production environments.

Finally, you'll gain an insight into Vagrant Cloud, which is a suite of web services built into Vagrant that allows you to remotely view applications on a Vagrant instance.

  • Get your projects up and running quickly and effortlessly by simulating complicated environments that can be easily shared with colleagues
  • Provision virtual machines using Puppet, Ansible, and Chef
  • A practical, hands-on guide that helps you learn how to create powerful and flexible virtual development environments
Page Count 156
Course Length 4 hours 40 minutes
ISBN 9781784397029
Date Of Publication 12 Mar 2015


Michael Peacock

Michael Peacock is an experienced software developer and team lead from Newcastle, UK, with a degree in software engineering from the University of Durham.

After spending a number of years running his own web agency, and subsequently, working directly for a number of software start-ups, he now runs his own software development agency, working on a range of projects for an array of different clients.

He is the author of Creating Development Environments with Vagrant, PHP 5 Social Networking, PHP 5 E-Commerce Development, Drupal 7 Social Networking, and Selling online with Drupal e-Commerce and Building Websites with TYPO3, all by Packt Publishing. The other publications Michael has been involved in include Advanced API Security, Mobile Web Development, Jenkins Continuous Integration Cookbook, and Drupal for Education and E-Learning; for these he acted as a technical reviewer.

Michael has also presented at a number of user groups and technical conferences, including PHP UK Conference, Dutch PHP Conference, ConFoo, PHPNE, PHPNW, and Could Connect Santa Clara.

You can follow Michael on Twitter (@michaelpeacock), or find out more about him through his website (