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 2 years ago
0
Reset passwords and SSH keys on EC2 instances https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-ec2reset.html
answered 2 years ago
0
Thanks very much - This is exactly what we needed. Thanks for supplying the code too!
answered 2 years ago
Relevant content
- asked 6 months ago
- asked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago