1 Answer
- Newest
- Most votes
- Most comments
1
That method will not change the keypair on an instance that has already been provisioned and is running. See option 1 of this instead https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2
Relevant content
- asked 2 months ago
- asked a year ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago