By using AWS re:Post, you agree to the Terms of Use

If my username and password to an EC2 instance was changed, how can I reset them?

0

This is not for my Root AWS access but rather an EC2 instance

asked 21 days ago36 views
4 Answers
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.

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 21 days ago
0

No, it's Linux or Ubuntu

answered 21 days ago
0
answered 19 days ago
0

Thanks very much - This is exactly what we needed. Thanks for supplying the code too!

answered 19 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions