I think you are out of luck if you want to SSH in at this point. Key needs to be assigned as part of as-create-launch-config command.
How to access ec2 instance that is not associated with key pair
-
30-11-2021 - |
题
I have an ec2 instance that was spun up automatically through autoscale. It doesn't have a key pair associated with it. Can I assign my existing key to it? If not how do I log into the instance?
解决方案
不隶属于 StackOverflow