Using Vagrant with DigitalOcean

DigitalOcean (http://digitalocean.com) is a cloud computational service provider that has quickly gained a positive reputation among many development communities for fast, reliable, and inexpensive compute instances (virtual machines). DigitalOcean has also implemented a rich API layer to access compute instances, making it easy for developers to integrate with DigitalOcean.

This recipe will require a DigitalOcean account (sign up at http://digitalocean.com). Note that a new account will require a method of payment as DigitalOcean does not offer a free tier.

Getting ready

To use DigitalOcean as a provider, we'll need to install the provider as a plugin. The plugin is available with a simple install:

vagrant plugin ...

Get Vagrant Virtual Development Environment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.