Managed Virtual Machine (MVM)

From DAVE Developer's Wiki
Jump to: navigation, search

Introduction[edit | edit source]

Managed Virtual Machine (MVM) is a virtual machine that allows developers to start using DAVE's platform without wasting time in manually installing and configuring the development environment.

The MVM is created and managed using Vagrant (https://www.vagrantup.com/), which is a powerful tool that creates, configures and manages virtual development environments. Vagrant uses Providers to integrate with the hypervisor that provides the virtual machines, that for the MVM is Oracle VirtualBox (https://www.virtualbox.org/). The entire virtual environment configuration is stored in simple plain text files, including the instructions for the provisioning tool (Puppet, https://puppetlabs.com/), so that installation, management and update of the MVM is straightforward.

[Insert image here]

The MVM comes with all the development tools and source code, pre-configured, and requires only a minimal setup by the end user.

Installation and configuration[edit | edit source]

To generate the image:

  • install git
  • install/configure ssh
  • install VirtualBox
    • tested with 5.0.14 (does NOT work with 5.0.0)
  • download Vagrant from its website
  • install Vagrant
  • clone the project/development kit repository (eg: git clone git@git.dave.eu:project/devenv.git)
  • customize VM settings
  • create the VM with the following command:
vagrant up