Create an ISO of an AWS EC2 Server

I would like to create an ISO of my AWS EC2 server so that I can use that as a development test environment on my local machine. Is this possible?


Solution 1:

Not to ISO - that's usually used for installations, not as a format for snapshots.

You can export EC2 to VMDK, VHD or OVA formats which can be used in VirtualBox, VMWare or other VM systems. Check out Exporting an Instance as a VM Using VM Import/Export

Hope that helps :)

Solution 2:

ISO is not the right format for exporting virtual machine disks. It is usually used for software installations.

You can export your EC2 server as a virtual machine disk. I would recommend using the StarWind V2V converter for this purpose.

https://www.starwindsoftware.com/starwind-v2v-converter

You have several options for using this tool. First one is connecting to your AWS EC2 instance remotely:

enter image description here

Another option is installing the tool inside the EC2 instance and selecting the P2V option. You can export the instance into a hypervisor of your choice, directly to another cloud or a local file:

enter image description here

The options include various virtual machine disk formats like VHD(X), VMDK, QCOW and IMG/RAW which is the closest one to ISO.

enter image description here

This application has a small footprint of 38MB and is completely free to use. I hope it will help you.