4 Answers
- Newest
- Most votes
- Most comments
1
Is the instance Windows? Also, are you managing your EC2 instance through Systems Manager? If so, you can use Systems Manager to reset passwords.
- Resetting passwords on managed nodes If you do not manage it through Systems Manager, here are the articles that provide steps outside Systems Manager.
For Windows see below (EC2 Rescue section):
If your instance is Linux and you are having an SSH issue, see below:
As always, before making changes, make sure to create a backup (EBS snapshot/AMI) to be able to roll back.
answered a year ago
0
Reset passwords and SSH keys on EC2 instances https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.html
answered a year ago
0
Thanks very much - This is exactly what we needed. Thanks for supplying the code too!
answered a year ago
Relevant content
- asked a month ago
- asked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago