Skip to content

Instantly share code, notes, and snippets.

@skynet
Created August 31, 2015 22:02
Show Gist options
  • Save skynet/7e0830b0376af3a0c6e0 to your computer and use it in GitHub Desktop.
Save skynet/7e0830b0376af3a0c6e0 to your computer and use it in GitHub Desktop.
Convert Amazon AMI to VMware image
If you still have access to the instance, use "dd" to copy it off to a raw file (possibly just directly piping over SSH to the destination system like in ssh your.ec2-syst.em 'dd if=/dev/sdh bs=1M | gzip' | gunzip | dd of=/tmp/ec2-image.raw) and then using something like qemu-img to convert the raw image to a VMDK file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment