I have an existing AWS virtual machine. I want to clone it and change the clone. The existing machine is accessible to anyone with http, https and ssh. I want the clone to be accessible as well.
I did the following to create the clone:
- Stop the original VM.
- Create an AMI image from the VM.
- Start the original VM.
- Create a VM from the new AMI image, making sure to choose the same Security Group and SSH key pair as the original VM.
The new VM is created, but I can't reach it. http, https and ssh all fail to connect (connection timed out).
Since the original instance is not Nitro based, I can't connect with the ec2 serial connection. There is nothing suspicious on the new machine's system log.
How can I clone a machine AND have it available?