Vagrant CookBook
Vagrant CookBook
$19.99
Minimum price
$22.99
Suggested price
Vagrant CookBook

This book is 100% complete

Completed on 2017-01-27

About the Book

Portable and Disposable environments for effective development

How many times did you hear the sentence "it works on my machine"? With Vagrant, this excuse won't cut anymore. Your environments will be exactly the way you want them to be, targeting specific projects for different needs. Portable, disposable and reproducible. As easy as cloning a repository and running "vagrant up".

This book covers from basic to advanced concepts on Vagrant, including important ProTips to improve your Vagrant projects and to avoid common mistakes. It is updated to cover recent features like Vagrant Share and Vagrant Push.

Configuration Management Tools

Vagrant Cookbook comes with quick guides to 3 of the most popular configuration management tools out there, which can be used as provisioners for Vagrant: Ansible, Puppet and Chef. Following the guide, a practical example will show you how to provision a basic web server running Nginx with PHP 7. Choose the tool you like the most!

Recipes for common tasks

The book also includes useful recipes for common tasks, written 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, when buying this book you'll get lifelong updates at no extra cost. For any new content / corrections, you will be notified to download the newest version.

Printed Version

If you prefer a printed version (paperback) rather than an ebook, you can get it here: http://www.lulu.com/shop/erika-heidi/vagrant-cookbook/paperback/product-21809746.html . As a downside, you won't be getting future updates as with the Leanpub version.

About the Author

Erika Heidi
Erika Heidi

Erika Heidi is a software engineer with strong devOps background, working with PHP and Linux for quite a long time. Among her writings are the Vagrant Cookbook and a series of devOps tutorials at the DigitalOcean community. With a passion for teaching and writing, Erika now writes about electronics for beginners on her blog, codingmama.io.

Bundles that include this book

Build APIs You Won't Hate
Vagrant CookBook
2 Books
$52.98
Suggested Price
$38.99
Bundle Price
Ansible for AWS
Vagrant CookBook
2 Books
$52.98
Suggested Price
$44.99
Bundle Price
Ansible for DevOps
Vagrant CookBook
2 Books
$32.98
Suggested Price
$26.99
Bundle Price

Table of Contents

  • Foreword
  • Preface: Second Edition
  • Preface: First Edition
  • Acknowledgments
  • Introduction
    • What to expect from this book
    • Assumptions
  • Getting Started
    • How Vagrant Works
    • Terminology
    • Requirements
    • Installation
    • Updating Vagrant
    • Vagrant Commands
    • Your first Vagrant Up
  • The Vagrantfile
    • Basic Example
    • Defining the Box
    • Defining a Provisioner
    • Showing a post-up message (1.6+)
    • Setting up the Network
    • Setting up synchronized folders
    • VBoxManage Customizations
    • Vagrantfile Quick Reference - Common Options
  • Provisioners
    • Overview
    • Getting Started with the Shell Provisioner
    • Configuration Management 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 on Synced Folders
    • Debugging
    • Log In, Fix, Automate
    • VirtualBox Guest Additions
  • Advanced Topics
    • Running Multiple Virtual Machines
    • Provisioning VPSs on cloud services
    • Custom Boxes
    • Snapshots
  • Vagrant Share
    • Logging In
    • Sharing your Environment
    • Vagrant Connect
    • Securing your Shares
  • Vagrant Push
    • Setting Up the Vagrantfile
    • Recommended Usage
  • Recipes
    • System
    • Packages
    • Other
    • Conditional Execution
  • Appendix One: Vagrant Changelog
    • Vagrant 1.8
    • Vagrant 1.7
    • Vagrant 1.6
    • Vagrant 1.5

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub