An example using packer (http://packer.io) for creating a basic ubuntu VM with a web server.