Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Vagrant Virtual Development Environment Cookbook

You're reading from   Vagrant Virtual Development Environment Cookbook 35 solutions to help you utilize virtualization with Vagrant more effectively – learn how to develop and manage Vagrant in the cloud to improve collaboration

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784393748
Length 250 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Chad O Thompson Chad O Thompson
Author Profile Icon Chad O Thompson
Chad O Thompson
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Vagrant Virtual Development Environment Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Setting Up Your Environment FREE CHAPTER 2. Single Machine Environments 3. Provisioning a Vagrant Environment 4. Provisioning with Configuration Management Tools 5. Networked Vagrant Environments 6. Vagrant in the Cloud 7. Packaging Vagrant Boxes Vagrant Plugins A Puppet Development Environment Using Docker with Vagrant Index

Introduction


The recipes in this book are focused mainly on the management and configuration of virtual machines (runtime environments that mimic the operation of entire operating systems). In actual use and operation of a virtual machine, however, there are typically only a few processes running in the machine that are of importance to development and deployment. For example, the deployment of web applications often requires the deployment of a web server (and perhaps some middleware applications), but a virtual machine with a full operating system will also run several processes required to manage the entire operating system of the virtual machine itself. As such, large deployments of virtual machines to service software applications can become more inefficient as computational resources are used for virtual environment operating systems rather than the computational needs of web applications.

While these problems are an issue for hypervisor applications, there have been other attempts to virtualize environments that do not require hypervisors. In fact, the isolation of processes into separate runtime environments and operating systems have been how most multiuser environments have operated since the beginning of the shared environment (from mainframe process isolation to technologies, such as Solaris Zones and BSD chroot jails). The Linux project (as of version 2.6.24 of the Linux kernel) introduced a similar technology called Linux Containers (LXC) to run separate processes in isolation from others without requiring hypervisor applications and separate operating systems.

An open source project was started by dotCloud (a cloud hosting company) to help manage the complexity of dealing with containers into simple build and deployment processes. This project was named Docker and has now grown to become the focus and the name of the company itself. Docker is focused on the use of containers on the Linux operating system. A single host operating system can host containers running software from databases to web servers, and even entirely different Linux distributions.

While there are other methods to manage Linux Containers, Docker has been integrated into a large number of vendor offerings that allows developers many choices to deploy applications packaged as Docker containers. In this appendix, we'll take a look at how Vagrant can integrate with Docker development workflows.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images