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?
Asked
Active
Viewed 1,106 times
1 Answers
1
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.

Terrell Plotzki
- 2,014
- 17
- 17
-
How do I associate the key in the launch config? – Atma Nov 20 '12 at 17:04
-
use the *-key* option on *as-create-launch-config* – Terrell Plotzki Nov 20 '12 at 17:10