export / import bin ami file

0

Hi i have to export ec2 ubuntu instance, but i get error "no underlaying snapshots" (the instance was on), then i create an ami file and export to s3 but the exported file has bin extension (ami-numbers.bin) how i can export or convert to ova files to use in vmware?

Thanks C.

1 Answer
0

Hello.

Why not try exporting it using the "create-instance-export-task" command?
https://docs.aws.amazon.com/vm-import/latest/userguide/export-instance.html

aws ec2 create-instance-export-task --description 'test' --instance-id <instance_id> --target-environment vmware --export-to-s3-task DiskImageFormat=vmdk,ContainerFormat=ova,S3Bucket=<bucket_name>
profile picture
EXPERT
answered a month ago
  • Hi, when i try to use this command i get the error message "aws error An error occurred (NotExportable) when calling the CreateInstanceExportTask operation: This instance has no underlying snapshots." Any idea about this?

    Thanks