Vagrant CookBook

A practical guide to Vagrant

Learn how to create effective Vagrant development environments

291 readers

100% Happiness guarantee Learn more

Minimum: $19.99

Suggested: $22.99+

Ways to buy

  • Free sample download
  • 291 readers
  • 87 pages
  • 16,565 words
  • 100% complete
  • Book language: English
  • Updated

About the Book

Portable environments for effective development

How many times did you hear the excuse "works on my machine"? With Vagrant, this stays in the past. Your environments will be exactly the way you want them to be, targetting specific projects for different needs. As easy as cloning a repository and running "vagrant up".

This book will cover from basic to advanced concepts on Vagrant, including important ProTips to improve your Vagrant projects and avoid common mistakes. The book was updated to cover the new features on Vagrant 1.5.

Provisioners

Vagrant Cookbook comes with quick guides to the 3 most used Vagrant provisioners: Puppet, Ansible and Chef. Following the guide, a practical example will show you how to provision a basic web server with Nginx + PHP5-FPM (PHP 5.5+). Choose the one you like best!

Recipes for most common tasks

The book will also include useful recipes for common tasks, writen in Ansible, Puppet and Chef.

Code Samples

The complete provisioner examples are available for free on GitHub.

Audience

Vagrant Cookbook targets beginner to intermediate users, also serving as a quick getting-started guide for Ansible, Puppet and Chef.

Updates

Thanks to the LeanPub platform, is really easy to release updates and notify my readers. Obviously at no extra cost. For any new content / corrections, you will be notified to download the newest version.

FeedBack

Any feedback that can help making this book better is highly appreciated. If you find errors, or if you have suggestions, please contact me.

Buy A Bundle, And Save

About the Author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

♥♥♥♥♥

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up. See full terms.

If you buy a Leanpub book you get all the updates to the book for free! All books are available in PDF, EPUB (for iPad) and MOBI (for Kindle). There is no DRM. There is no risk, just guaranteed happiness or your money back.

Table of Contents

  • Foreword
  • Preface
  • Acknowledgments
  • Introduction
    • What to expect from this book
    • Assumptions
  • Getting Started
    • How Vagrant Works
    • Terminology
    • Requirements
    • Installation
    • Vagrant Commands
    • Your first Vagrant Up
  • The Vagrantfile
    • Basic Example
    • Defining the Box
    • Defining a Provisioner
    • Setting up the Network
    • Setting up synchronized folders
    • VBoxManage Customizations
    • Quick Reference - Common Options
  • Provisioners
    • Overview
    • Getting Started with the Shell Provisioner
    • Automation Tools
    • Practical Example
  • Ansible
    • Overview
    • Quick Ansible Guide
    • Provisioning a PHP Web Server
  • Puppet
    • Overview
    • Quick Puppet Guide
    • Provisioning a PHP Web Server
  • Chef
    • Overview
    • Quick Chef Guide
    • Provisioning a PHP Web Server
  • Pro Tips
    • Update First!
    • NFS Performance Improvement
    • Permission Problems
    • Debugging
    • Login, Fix, Automate
    • VirtualBox Guest Additions
  • Advanced Topics
    • Running Multiple Virtual Machines
    • Provisioning real VPS’s on cloud services
    • Custom Boxes
  • Vagrant Share
    • Logging In
    • Sharing your Environment
    • Vagrant Connect
    • Securing your Shares
  • Recipes
    • System
    • Packages
    • Other
    • Conditional Execution

Last updated

This Book is for Sale Through Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed books like this one.

Leanpub_logo_medium

Read

Leanpub has a wide selection of in-progress and completed books available to browse, purchase, and enjoy.

Browse the Bookstore

Write

Leanpub is free for authors and publishers to use. We pay authors or publishers 90% royalties minus 50 cents per sale.

Write a Book