Packer
From Freephile Wiki
https://www.packer.io/ is a project by HashiCorp that allows you to create VM images for a number of cloud providers using a source machine as the template.
Jeff Geerling's packer example for Ubuntu 14.04 is interesting