Book Image

Vagrant Virtual Development Environment Cookbook

Book Image

Vagrant Virtual Development Environment Cookbook

Overview of this book

Table of Contents (17 chapters)
Vagrant Virtual Development Environment Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Sharing web applications with HashiCorp Atlas


Atlas is a useful tool to share environments with other developers or colleagues when solving environment issues. Atlas can also be used to share web applications with a remote audience, something that can often be difficult to do when demoing experimental features without setting up new infrastructure.

Getting ready

Before we can share with Atlas, we'll need a valid Atlas account. Signing up for an Atlas (http://atlas.hashicorp.com) account is fairly straightforward. The details of signing up are discussed in the Getting ready section of the previous recipe.

How to do it...

Web development with Vagrant is a fairly common task. Atlas allows you to share and demonstrate any HTTP application (a typical web application, or perhaps even an API) to a remote audience.

  1. First, start with a Vagrantfile that provisions an application to run on port 80. In this case, we'll install the Apache web server and demonstrate a simple static web page. (The simple page...