I still come across a lot of EC2 setups where a brand-new SSH key pair gets created every time a new instance is launched.
It works, but over time it also becomes difficult to manage — especially across multiple environments, engineers, or temporary workloads.
What’s easy to miss is that AWS already lets you import an existing public SSH key directly as an EC2 key pair.
That means you can keep using the same SSH workflow you already manage locally instead of constantly juggling separate keys for different instances.
It’s a simple improvement, but it makes SSH access much easier to keep consistent.
I found this breakdown useful because it explains the process clearly without overcomplicating it:
https://www.kubeblogs.com/how-to-import-an-existing-ssh-key-to-aws-as-a-key-pair/
Worth keeping in mind if you're trying to simplify SSH access management across AWS environments.
Top comments (0)