I have a machine instance and attached volume that I would like to clone, but apply new network settings to it.
What is the best process for doing this, which will leave the original instance unchanged?
Can I take a snapshot of a running instance, and use that snapshot to instantiate a new instance of the same type, but with a different network address? How do I go about doing that, if so?
EDIT:
From looking at the EC2 console, the snapshot functionality clones a volume (by volume ID), not an instance (by instance ID). Is there a way to create a new volume made from a snapshot of an existing volume and attach it to a new machine instance that has different network settings assigned to it, without detaching/reattaching volumes and manually cp/scp-ing thousands of files?
I am basically looking for a way to duplicate an existing machine instance and the full contents of its attached EBS volume, with the only difference being new network settings. (If I'm using the wrong terminology for describing what I am trying to do, please let me know!)
You should be able to 'clone' an EC2 server by taking an image of it.
You can select the no reboot option during testing, but if it works, best practice is to have a reboot to ensure no filesystem issues.
Once you have the image taken, you can check your AMI via the console and deploy a new cloned server using that AMI.
The best option is to create an AMI if your instance then launch more instances from that AMI.
After you clone the instance via snapshot, create new volume with settings you want and attach it to the new instance. Then use something like scp or rsync to copy old content to the new volume.