I have mistakenly deleted the .ssh folder from my aws instance and now I am unable to ssh into it. The issue is that node is in my prod environment and I dont want to restart it. I have found the following solution -
Amazon AWS EC2 Deleted Key Locked out of Root
But it suggests that I need to attach my disk to another instance which will cause the node to shutdown and still the solution is not assured. Is there any solution which is provided at aws console which I can utilise. Any help will be appreciated.