3 Answers
- Newest
- Most votes
- Most comments
0
You'll need to generate a new keypair and then assign it to your EB Instance under EB Config -> Security.
0
Hi,
You want to follow this gist to generate a new key pair for your existing EC2 instance: https://gist.github.com/thomaskanzig/3ef8c358efbae732968961e3e33acf9f
Best,
Didier
0
Hi,
If no access to the instance, then you can update the key using the user-data script, steps and tutorial can be found here: https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago