I lost the pem file and deleted the key-pair under which an instance in currently running. I want to still use that server though. I created a new key pair but I don't know how to assign it to that instance.
|
feedback
|
|
Unless you have another way to log into the instance, you're not going to be able to access it. Amazon does not have your private key and cannot log in to your instance. If you still need your data, disconnect the EBS-volume and attach it to a new EC2-instance. | |||||
|
feedback
|