Create local AMI file for future use on various cloud service

amazon-amiamazon-web-servicescloud computingcloudstackrackspace

Is it possible to locally create a single AMI file of say Debian Jessie and use it directly (or with little changes) on any AMI-compatible cloud service providers (eg. AWS, CloudStack, Digital Ocean or Rackspace)?

Best Answer

AMIs are somewhat unique in that the kernel is separate from the image. It depends on the provider and whether they support the upload of AMI-style images.

The Rackspace Public Cloud supports upload of images in VHD format, while Rackspace Private Clouds support the use of AMIs.

As of October 2013 Digital Ocean did not support image uploads.

CloudStack isn't the same thing as a Rackspace Public Cloud, EC2, or Digital Ocean, which are hosted offerings built on one cloud stack or another. CloudStack is an open source cloud stack, similar to OpenStack. OpenStack and CloudStack both support AMI images.

If you want maximum portability between clouds it's probably worth looking at those you'd like to use and figure out which image format (AMI, VHD, QCOW2, etc) is best supported among them.

Related Topic