Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Hands-On DevOps with Vagrant
Hands-On DevOps with Vagrant

Hands-On DevOps with Vagrant: Implement end-to-end DevOps and infrastructure management using Vagrant

eBook
$20.98 $29.99
Paperback
$38.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Hands-On DevOps with Vagrant

Installing VirtualBox and Vagrant

VirtualBox is a very important piece of software, which we refer to as a provider. Its job is to do the heavy lifting in creating and maintaining virtual machines and environments. Vagrant is essentially a wrapper around a provider (in our case, VirtualBox) and exposes a powerful API that allows you to create and manage virtual machines through code and configuration, such as the Vagrantfile.

Once VirtualBox is installed, we will have very little to do with it. It will sit in the background and await commands from Vagrant to manage virtual machines.

In this chapter, we will start to get our hands dirty with Vagrant. We will look at the following topics:

  • Finding the version of your OS
  • Finding your CPU architecture
  • Installing VirtualBox on Windows, Linux, and macOS
  • Installing Vagrant on Windows, Linux, and macOS
  • Running Vagrant via the command...

Installing VirtualBox and Vagrant on Windows

In this section, you will learn how to install VirtualBox and Vagrant onto a Windows environment, how to find out what your CPU architecture is, and what version of the Windows operating system you are running. We will use an Enterprise edition of Windows 10 64-bit as our example operating system and computer setup.

Prerequisites

Before we install VirtualBox and Vagrant, we need to learn some basic information about your system. This is information required to help you select which package to download.

System version

Finding...

Installing VirtualBox and Vagrant on Linux

In this section, you will learn how to install VirtualBox and Vagrant onto a Linux environment. You will also learn how to find out what your CPU architecture is and what version of the Linux operating system you are running. In this section, we will be using Ubuntu 16.04 64-bit as our example operating system and computer setup.

Prerequisites

Before we install VirtualBox and Vagrant, we need to learn some basic information about your system. This is information required to help you select which package to download.

System version

...

Installing VirtualBox and Vagrant on macOS

In this section, you will learn how to install VirtualBox and Vagrant onto a macOS environment. You will learn how to find out what your CPU architecture is and what version of the Mac operating system you are running. In this section, we will be using macOS High Sierra 10.13.3 64-bit as our example operating system and computer setup.

Prerequisites

Before we install VirtualBox and Vagrant, we need to learn some basic information about your system. This is information required to help you select which package to download.

System version

...

Summary

In this chapter, we've learned how to install Vagrant and its provider, VirtualBox, onto Windows, Mac, and Linux machines. You now have the base environment to start using Vagrant and creating virtual environments.

In Chapter 3, Command Line-Interface - Vagrant Commands, we will learn all about Vagrant's commands and subcommands. These powerful commands offer us the full feature set of Vagrant, from basic features, such as returning Vagrant's software version, to managing boxes, such as importing and installing them from the Vagrant cloud.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Implement DevOps with Vagrant effectively
  • Integrate Vagrant with different tools such as Puppet, Chef, and Docker
  • Manage infrastructure with a practical approach

Description

Hands-On DevOps with Vagrant teaches you how to use Vagrant as a powerful DevOps tool and gives an overview of how it fits into the DevOps landscape. You will learn how to install VirtualBox and Vagrant in Windows, macOS, and Linux. You will then move on to understanding Vagrant commands, discovering its boxes and Vagrant Cloud. After getting to grips with the basics, the next set of chapters helps you to understand how to configure Vagrant, along with networking. You will explore multimachine, followed by studying how to create multiple environments and the communication between them. In addition to this, you will cover concepts such as Vagrant plugins and file syncing. The last set of chapters provides insights into provisioning shell scripts, also guiding you in how to use Vagrant with configuration management tools such as Chef, Ansible, Docker, Puppet, and Salt. By the end of this book, you will have grasped Vagrant’s features and how to use them for your benefit with the help of tips and tricks.

Who is this book for?

Hands-On DevOps with Vagrant is for you if you are a system administrator, DevOps engineer, DevOps architect, or any stakeholder working with DevOps and wanting to explore Vagrant. Experience in system administration is needed to enjoy this book.

What you will learn

  • Explore what development features Vagrant offers
  • Install Vagrant and VirtualBox on Windows, macOS and Linux
  • Harness the power of Vagrant to create powerful development environments
  • Utilize DevOps tools such as Docker, Chef, and Puppet
  • Understand everything about Vagrant, including networking, plugins, and provisioning
  • Use the Vagrant Cloud to install and manage Vagrant boxes

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 17, 2018
Length: 232 pages
Edition : 1st
Language : English
ISBN-13 : 9781789136784
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 17, 2018
Length: 232 pages
Edition : 1st
Language : English
ISBN-13 : 9781789136784
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 148.97
Mastering Docker
$54.99
Learn Ansible
$54.99
Hands-On DevOps with Vagrant
$38.99
Total $ 148.97 Stars icon
Banner background image

Table of Contents

15 Chapters
Introduction Chevron down icon Chevron up icon
Installing VirtualBox and Vagrant Chevron down icon Chevron up icon
Command Line-Interface - Vagrant Commands Chevron down icon Chevron up icon
Discovering Vagrant Boxes - Vagrant Cloud Chevron down icon Chevron up icon
Configuring Vagrant Using a Vagrantfile Chevron down icon Chevron up icon
Networking in Vagrant Chevron down icon Chevron up icon
Multi-Machine Chevron down icon Chevron up icon
Exploring Vagrant Plugins and Syncing Files Chevron down icon Chevron up icon
Shell Scripts - Provisioning Chevron down icon Chevron up icon
Ansible - Using Ansible to Provision a Vagrant Box Chevron down icon Chevron up icon
Chef - Using Chef to Provision a Vagrant Box Chevron down icon Chevron up icon
Docker - Using Docker with Vagrant Chevron down icon Chevron up icon
Puppet - Using Puppet to Provision a Vagrant Box Chevron down icon Chevron up icon
Salt - Using Salt to Provision a Vagrant Box Chevron down icon Chevron up icon
Other Book You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7
(3 Ratings)
5 star 66.7%
4 star 33.3%
3 star 0%
2 star 0%
1 star 0%
C. C Chin Dec 09, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Ansible at office
Amazon Verified review Amazon
Randy Harris May 01, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I found the book very easy to read. I usually read a chapter or two when reading a technical book. Just enough to get the information I need before putting the book down. This book was so easy to read that the author kept my interest from page one to the end. I found the chapter on chef a little dry, but the chapters on puppet and salt were very easy reads that held my interest. I read Mitchell Hashimoto's book on Vagrant some years ago and the documentation on the Hashicorps website. Still, I found Alex Braunton's book to be well thought out, clear, and concise. Alex Braunton should write another DevOps book soon because he has the talent for it.
Amazon Verified review Amazon
Kindle Customer Feb 07, 2019
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Having dabbled with KVM, Xen, Virtualbox and VMWare just to test and play around with linux recipes became tiring when repeating exercises & server config tests. Therefore in this book when playing with recipes whilst learning vagrant you get the advantage of doing more in a short time including testing configs more easily as you don't have to mess around a lot configuring your VMs. In short get this book as part of your devops foundational knowledge as it will boost your tech skills to warp speed.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.