HOWTO: Convert an OVA to an AMI



  • Name the ova something like <original ova>.ova.tgz
  • Untar the OVA
    • tar xvf <original ova>.ova.tgz
  • Create an S3 bucket to use for image storage during conversion
    • This name of this bucket is passed to the ec2-import-image on the -b switch.
  • Use ec2-import-image
    • ec2-import-instance cloudbolt- \
      -f VMDK \
      -t t2.medium \
      -p Linux \
      -a x86_64 \
      -b demo-amis \
      -o $AWS_ACCESS_KEY \
      -w $AWS_SECRET_KEY
  • Watch conversion status with:
    • ec2-describe-conversion-tasks
  • It takes a while, but eventually an instance shows up configured with the contents of the VMDK.
    • Note: it takes a while even after the conversion process has completed.
Have more questions? Submit a request


Please sign in to leave a comment.