Related: EC2, EC2 AMI, Virtualization

Prerequisite

This article assumes you have: latest AWS CLI, Necessary Permissions, needed disk space for vmdk/ova download.

Can’t launch more than one export tasks

At the time this article was written, you could only export 1 AMI Image and 1 EC2 Instance at a time.

ClientError: BLSC-style GRUB found, but unable to detect default kernel

AWS was unable to detect default kernel. Make sure /boot/grub2/grubenv has defined saved_entry= record, if not, you may try executing.

sudo grubby --set-default=/boot/vmlinuz-$(uname -r)

Try starting create-instance-export-task/export-image again.

Is there a way to quicken cancelation of an export task?

After canceling an export task there is a possibility to delete newly created, residual AMI or EC2 snapshot.