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

Index

A

  • Amazon Machine Images (AMIs) / The building blocks of Packer templates
  • Amazon Web Services (AWS)
    • Vagrant, using with / Using Vagrant with Amazon Web Services, Getting ready
  • Ansible
    • URL / Provisioning Vagrant environments with Ansible
    • about / Provisioning Vagrant environments with Ansible
    • used, for provisioning Vagrant environments / Provisioning Vagrant environments with Ansible, Getting ready
    • URL, for documentation / Getting ready
  • Apache Mesos
    • about / Clustering with Apache Mesos
    • clustering with / Clustering with Apache Mesos
  • Atlas
    • about / Introducing Atlas, Sharing Vagrant boxes with Atlas
    • URL / Introducing Atlas, Introduction, Sharing Vagrant boxes with Atlas
    • local machines, sharing with / Sharing local machines with HashiCorp Atlas, Getting ready, How to do it...
    • web applications, sharing with / Sharing web applications with HashiCorp Atlas, How to do it...
    • used, for sharing Vagrant boxes / Getting ready, How to do it...
  • Atlas repository
    • URL / Introducing Atlas

B

  • basic shell commands
    • running / Running basic shell commands, How to do it..., How it works...
  • Beaker
    • URL / There's more...
  • Berkshelf
    • environments, managing with / Managing environments with Berkshelf
    • about / Managing environments with Berkshelf
    • URL / Managing environments with Berkshelf
  • boot2docker
    • about / Running Docker containers with Vagrant
    • URL / Running Docker containers with Vagrant
  • boot2docker-vagrant-box
    • URL / Running Docker containers with Vagrant
  • bootstrapping
    • Puppetmaster / Bootstrapping a Puppetmaster
  • Bourne Again Shell (bash) / Shell scripting in vagrant machines
  • Bourne Shell (sh) / Shell scripting in vagrant machines
  • bridged network
    • about / Getting ready
  • BSD chroot jails / Introduction

C

  • Chef
    • URL / Configuring Vagrant environments with Chef
    • about / Configuring Vagrant environments with Chef
    • used, for Vagrant environment configuration / Configuring Vagrant environments with Chef, Getting ready
  • chef-solo provisioner
    • about / Getting ready
    • using / How it works...
  • Chef Omnibus
    • about / Getting ready
  • cluster, of Vagrant machines
    • creating / Creating clusters of Vagrant machines, How to do it...
    • DNS, configuring with plugins / Configuring DNS with plugins
    • configuring, with etcd / Configuring a cluster with etcd
    • clustering with Apache Mesos / Clustering with Apache Mesos
  • configuration management
    • and Vagrant boxes / Configuration management and Vagrant boxes
  • configuration management tools
    • cross-platform / Introduction
    • reusable / Introduction
  • Consul
    • URL / Introduction, Creating clusters of Vagrant machines
    • about / Creating clusters of Vagrant machines
  • CoreOS
    • URL / Introduction
  • cross-platform
    • about / Introduction
  • Cygwin / Getting ready

D

  • d.ports parameter / Installing a Docker image from a repository
  • different shell languages
    • provisioning with / Provisioning with different shell languages
  • DigitalOcean
    • URL / Using Vagrant with DigitalOcean
    • about / Using Vagrant with DigitalOcean
    • Vagrant, using with / Using Vagrant with DigitalOcean, Getting ready
  • DigitalOcean API token
    • creating / Creating a DigitalOcean API token
  • Dnsmasq
    • URL / Creating clusters of Vagrant machines
    • about / Creating clusters of Vagrant machines
  • Docker
    • URL / Introduction
    • about / Introduction
  • Docker containers
    • running, with Vagrant / Running Docker containers with Vagrant
    • developing, on Linux platform / Running Docker containers with Vagrant
    • developing, boot2docker environment used / Running Docker containers with Vagrant
  • Docker Hub registry
    • URL / Installing a Docker image from a repository
  • Docker image
    • installing, from respository / Installing a Docker image from a repository
    • building, with Vagrant / Building a Docker image with Vagrant
  • Docker provider
    • about / Running Docker containers with Vagrant, Mixed environments – the Docker provisioner
  • Docker provisioner
    • used, for managing mixed environments / Mixed environments – the Docker provisioner, How to do it...
    • about / Mixed environments – the Docker provisioner
  • docker psps command / Installing a Docker image from a repository
  • Domain Name System (DNS)
    • about / Using a static IP address with a hosts file
  • dotCloud / Introduction

E

  • /etc/hosts files
    • using / There's more...
  • /etc/resolver for local DNS
    • using / There's more...
  • etcd / Configuring a cluster with etcd
  • external shell scripts
    • provisioning with / Provisioning with external shell scripts, How to do it...

F

  • folders
    • sharing, Network File Systems used / Sharing folders using Network File Systems, How to do it..., How it works..., There's more...
    • sharing, with rsync / Sharing folders with rsync, How to do it..., How it works...

G

  • GitHub
    • URL / See also
  • Google Compute Engine
    • URL / Introduction
  • guest machine
    • about / Introduction
  • GUI
    • starting, with Vagrant / Starting a GUI with Vagrant, Introducing Atlas, How to do it..., How it works...

H

  • Homebrew repositories
    • URL / Getting ready
  • host machine
    • about / Introduction
    • Type 1 hypervisor / Introduction
    • Type 2 hypervisor / Introduction
  • hypervisor
    • about / Introduction

I

  • idempotent / How it works...
  • Infrastructure as a Service (Iaas)
    • about / Using Vagrant with Amazon Web Services
  • Intel Virtualization Technology (Intel VT)
    • about / Getting ready
  • ISO files
    • Vagrant boxes, packaging from / Packaging Vagrant boxes from ISO files

L

  • Linux Containers (LXC) / Introduction
  • local machines
    • sharing, with HashiCorp Atlas / Sharing local machines with HashiCorp Atlas, Getting ready, How to do it...
  • local network
    • creating / Creating a local network, How to do it..., How it works...
    • about / Getting ready
    • static IP address, using with hostfile / Using a static IP address with a hosts file

M

  • machine provisioners
    • order, specifying / Specifying the order of machine provisioners, How to do it..., How it works...
  • manifests directory
    • about / How it works...
  • Microsoft Azure
    • URL / Introduction
  • mixed environments
    • managing, Docker provisioner used / Mixed environments – the Docker provisioner, How to do it...
  • multimachine environment
    • defining / Defining a multimachine environment, How to do it..., How it works...
  • MySQL Docker image page
    • URL / Installing a Docker image from a repository
  • MySQL Workbench
    • URL / Installing a Docker image from a repository

N

  • Network File Share Daemon (nfsd) / Getting ready
  • Network File Systems
    • UNIX Networked File System (NFS) / Sharing folders using Network File Systems
    • Windows Server Message Block (SMB) protocol / Sharing folders using Network File Systems
  • nodes
    • provisioning, with Puppetmaster / Provisioning nodes with a Puppetmaster

P

  • Packer
    • Vagrant boxes, building with / Building Vagrant boxes with Packer, Getting ready, How to do it...
    • URL / Building Vagrant boxes with Packer
    • builders / Building Vagrant boxes with Packer, The building blocks of Packer templates
    • provisioners / Building Vagrant boxes with Packer, The building blocks of Packer templates
    • post-processors / Building Vagrant boxes with Packer, The building blocks of Packer templates
  • Packer template
    • about / The building blocks of Packer templates
  • port forwarding
    • from Vagrant machine / Forwarding ports from a Vagrant machine, How to do it..., How it works...
    • about / Forwarding ports from a Vagrant machine
  • primary configuration management tools
    • Puppet / Introduction
    • Chef / Introduction
    • Ansible / Introduction
    • Salt / Introduction
  • production-like environment / Sharing folders with rsync
  • provisioner
    • about / Introduction
  • Puppet
    • used, for Vagrant environment configuration / Configuring Vagrant environments with Puppet, How to do it...
    • URL, for documentation / Configuring Puppet
  • puppet-module-skeleton project
    • URL / There's more...
  • Puppet Forge
    • URL / Configuring Puppet
  • Puppet Labs
    • URL / Configuring Vagrant environments with Puppet
  • Puppet master
    • about / How it works...
  • Puppetmaster / Configuring Vagrant environments with Puppet
    • setting up, with puppet apply provisioner / Setting up a Puppetmaster with the puppet apply provisioner
    • source controlled Puppetmaster, setting up / Setting up a source controlled Puppetmaster
    • bootstrapping / Bootstrapping a Puppetmaster
    • nodes, provisioning with / Provisioning nodes with a Puppetmaster
  • Puppet modules directory
    • about / How it works...

R

  • Rackspace
    • URL / Introduction
  • rbenv
    • URL / Getting ready
    • URL, for documentation / Getting ready
  • ruby-build
    • URL, for documentation / Getting ready
  • ruby-build project
    • URL / Getting ready
  • RubyMine
    • URL / Getting ready
  • Ruby programming language
    • URL / How it works...
  • Ruby runtime environment
    • setting up / Getting ready, How to do it..., How it works...

S

  • Salt
    • used, for provisioning Vagrant environments / Provisioning Vagrant environments with Salt
    • URL / Provisioning Vagrant environments with Salt
    • about / Provisioning Vagrant environments with Salt
  • Salt provisioner
    • about / How it works...
    • URL, for documentation / How it works...
  • script idempotency / Script idempotency
  • security key
    • creating, for Vagrant instances / Creating a security key for Vagrant instances
  • shell provisioning / Shell provisioning
  • shell scripting, in vagrant machines / Shell scripting in vagrant machines
  • shell scripts
    • executing, in Vagrantfile / Executing shell scripts in a Vagrantfile, How to do it...
  • Simple Storage Service (S3) / Getting ready
  • simple Vagrant environment
    • about / Simple Vagrant environment
  • single machine environment
    • defining / Defining a single machine Vagrant environment
    • simple environment / Simple Vagrant environment
    • about / A defined single machine environment, How it works...
    • port forwarding, from Vagrant machine / Forwarding ports from a Vagrant machine, How to do it..., How it works...
    • ports forwarding, from Vagrant machine / How it works...
    • GUI, starting with Vagrant / Starting a GUI with Vagrant
    • Vagrant guest folders, sharing with host / Sharing Vagrant guest folders with the host, Getting ready, How to do it..., How it works...
    • folders, sharing with Network File Systems / Sharing folders using Network File Systems, Getting ready, How to do it..., How it works...
    • folders, sharing with rsync / Sharing folders with rsync, How to do it..., How it works...
    • virtual machine settings (VirtualBox), customizing / Customizing virtual machine settings (VirtualBox), How to do it..., How it works...
    • virtual machine settings (VMWare Desktop), customizing / Customizing virtual machine settings (VMware Desktop), How to do it..., How it works...
    • virtual environments, sharing with source control / Sharing environments with source control, How to do it...
  • Solaris Zones / Introduction
  • SSH keypair
    • creating / Creating a new SSH key pair
  • static IP address
    • using / Getting ready
    • using, with hostfile / Using a static IP address with a hosts file

T

  • TryGit
    • URL / See also
  • Type 1 hypervisor
    • about / Introduction
  • Type 2 hypervisor
    • about / Introduction

U

  • Ubuntu
    • URL / How to do it...
  • UNIX Tape ARchive (TAR) format
    • about / How it works...

V

  • Vagrant
    • URL / Getting ready
    • installing / Installing Vagrant
    • existing virtual machines, using / Using existing virtual machines with Vagrant
    • single machine environment / Defining a single machine Vagrant environment
    • Docker image, building with / Building a Docker image with Vagrant
  • Vagrant, using with AWS
    • about / Using Vagrant with Amazon Web Services, Getting ready
    • Vagrant IAM account, creating / Creating a Vagrant IAM account
    • VPC, setting up / Setting up a VPC
    • security key, creating for Vagrant instances / Creating a security key for Vagrant instances
    • Vagrant-AWS plugin, installing / Installing the Vagrant-AWS plugin
    • required information, gathering for provider / Gathering required information for the provider
    • Vagrant AWS environment, setting up / Setting up the Vagrant AWS environment
    • configuration data, saving outside Vagrantfile / Saving configuration data outside the Vagrantfile
    • Vagrantfile defaults, overriding / Overriding Vagrantfile defaults
    • AWS details, specifying / Specifying AWS details
  • Vagrant, using with DigitalOcean
    • about / Using Vagrant with DigitalOcean, Getting ready, How it works...
    • DigitalOcean API token, creating / Creating a DigitalOcean API token
    • new SSH keypair, creating / Creating a new SSH key pair, How to do it...
  • vagrant-aws plugin
    • URL / How to do it...
  • Vagrant-AWS plugin
    • installing / Installing the Vagrant-AWS plugin
  • vagrant-host-shell plugin
    • URL / How to do it...
  • vagrant-omnibus plugin
    • about / Getting ready
  • Vagrant AWS environment
    • setting up / Setting up the Vagrant AWS environment
  • Vagrant boxes
    • finding / Finding additional Vagrant boxes, Getting ready, Finding boxes
    • environment, initializing with new box / Initializing an environment with a new box:
    • new box, adding without environment initialization / Adding a new box without initializing an environment:
    • building, with Packer / Building Vagrant boxes with Packer, Getting ready, How to do it...
    • building, with VeeWee / Building Vagrant boxes with VeeWee
    • sharing / Sharing Vagrant boxes, How to do it...
    • sharing, with Atlas / Sharing Vagrant boxes with Atlas, Getting ready, How to do it...
  • Vagrant boxes, packaging
    • from ISO files / Packaging Vagrant boxes from ISO files, Getting ready
    • virtual machine, preparing / Preparing a virtual machine
    • virtual machine, packaging as Vagrant box / Packaging the virtual machine as a Vagrant box
    • new Vagrant box, installing / Installing the new Vagrant box, How it works...
  • Vagrant box repository
    • URL / Introducing Atlas
  • Vagrant Cloud
    • URL / Finding additional Vagrant boxes, Sharing Vagrant boxes with Atlas
    • about / Getting ready, Sharing Vagrant boxes with Atlas
  • Vagrant environment
    • initializing / Initializing your first environment, Getting ready, How to do it..., How it works...
    • configuring / Configuring a Vagrant environment, How it works...
    • sharing, with source control / Sharing environments with source control, How to do it...
  • Vagrant environment, provisioning
    • about / Introduction
    • basic shell commands, running / Running basic shell commands, How to do it..., How it works...
    • shell scripts, executing in Vagrantfile / Executing shell scripts in a Vagrantfile, How to do it...
    • external shell scripts, provisioning with / Provisioning with external shell scripts, How to do it...
    • shell provisioning / Shell provisioning
    • different shell languages, provisioning with / Provisioning with different shell languages
  • Vagrant environment configuration, with Chef
    • about / Configuring Vagrant environments with Chef
    • performing / Configuring Vagrant environments with Chef, Getting ready
    • Vagrant environment, setting up / Setting up the Vagrant environment
    • Chef provisioning, setting up / Setting up Chef provisioning, How it works...
    • environments, managing with Berkshelf / Managing environments with Berkshelf
    • Chef Server, provisioning with / Provisioning with Chef Server
  • Vagrant environment configuration, with Puppet
    • performing / Configuring Vagrant environments with Puppet, How to do it...
    • Vagrant environment, setting up / Setting up the Vagrant environment
    • Puppet, configuring / Configuring Puppet, How it works...
  • Vagrant environments
    • about / Introduction
    • primary configuration management tools / Introduction
  • Vagrant environments, provisioning with Ansible
    • performing / Provisioning Vagrant environments with Ansible, Getting ready
    • Vagrant environment, setting up / Setting up the Vagrant environment
    • Ansible playbooks, setting up / Setting up Ansible playbooks, How it works...
  • Vagrant environments, provisioning with Salt
    • performing / Provisioning Vagrant environments with Salt
    • Vagrant environment, configuring / Configuring the Vagrant environment
    • Salt provisioning, configuring / Configuring Salt provisioning
  • Vagrantfile
    • about / Introduction
  • Vagrant guest folders
    • sharing, with host / Sharing Vagrant guest folders with the host, Getting ready, How to do it..., How it works...
  • Vagrant IAM account
    • creating / Creating a Vagrant IAM account
  • Vagrant plugins
    • reference link / See also
    • developing / Setting up a Ruby runtime environment, Getting ready, How to do it..., How it works...
    • provisioners / How it works...
    • guests / How it works...
    • guest capabilities / How it works...
    • hosts / How it works...
    • host capabilities / How it works...
    • providers / How it works...
  • Vagrant providers
    • installing / Getting ready, How to do it..., How it works...
  • vagrant provision command
    • executing / How it works...
  • VeeWee
    • used, for building Vagrant boxes / Building Vagrant boxes with VeeWee
    • about / Building Vagrant boxes with VeeWee
    • URL / Building Vagrant boxes with VeeWee
  • VirtualBox
    • about / Installing Vagrant and VirtualBox
    • URL / Getting ready
    • limitations / Getting ready
    • installing / Installing VirtualBox
  • VirtualBox machine
    • packaging / Packaging the VirtualBox machine
  • virtualization
    • about / Introduction
  • virtual machine
    • about / Introduction
    • using, with Vagrant / Using existing virtual machines with Vagrant
  • Virtual Machines (VMs) / Getting ready
  • virtual machine settings (VirtualBox)
    • customizing / Customizing virtual machine settings (VirtualBox), How to do it..., How it works...
  • virtual machine settings (VMWare Desktop)
    • customizing / Customizing virtual machine settings (VMware Desktop), How to do it..., How it works...
  • Virtual Private Cloud (VPC) / How to do it...
    • setting up / Setting up a VPC
  • VMWare
    • URL / Getting ready, See also
    • about / See also
  • VMWare plugin
    • URL / Getting ready

W

  • web applications
    • sharing, with HashiCorp Atlas / Sharing web applications with HashiCorp Atlas, How to do it..., How it works...
lock icon The rest of the chapter is locked
arrow left Previous Section
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