This repository has been archived by the owner. It is now read-only.
a virtual machine to deploy the infrastructure on amazon aws
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

expfactory-vm: A virtual machine to deploy experiment factory infrastructure

Setting up the virtual machine

  1. Install [VirtualBox] (

  2. Install [Vagrant] ( - Vagrant is a provisioning system that sets up the virtual machine.

  3. If you don't already have it, install [git] (

  4. cd to the directory where you want to house the project, and then clone the vagrant setup: git clone

  5. cd into the vm directory: cd expfactory-vm

  6. (instruction here for cloning/generating experiment)

  7. set up the vagrant VM (which may take a little while): vagrant up

  8. Step 7 will automatically deploy the infrastructure to the configuration on Amazon that you have specified.

Log in with SSH

If you wish to log into the virtual machine and programatically access the application, you can do so with:

  vagrant ssh

Setting up the virtual machine on aws

Make sure you have the most up-to-date version of vagrant, and install vagrant-aws. If you do not, you will see this error (version 1.6.5)

   vagrant-share can't be installed without vagrant login (RuntimeError)

After updating:

  vagrant --version
  Vagrant 1.7.2

Then you should install vagrant-aws, which will allow you to provision the Amazon machine.

  sudo vagrant plugin install vagrant-aws
  Installing the 'vagrant-aws' plugin. This can take a few minutes...
  Installed the plugin 'vagrant-aws (0.6.0)'!

You then need to add an aws compatible box. I found this box on the vagrant-aws plugin github repository:

  vagrant box add aws

The vagrantfile included in this repo has instructions to provision the machine on Amazon using this box. Then to launch the instance:

  vagrant up --provider=aws