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

Eric
gefragt vor 2 Jahren1196 Aufrufe
4 Antworten
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.

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.

AWS
Taka_M
beantwortet vor 2 Jahren
0

No, it's Linux or Ubuntu

Eric
beantwortet vor 2 Jahren
0
beantwortet vor 2 Jahren
0

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

Eric
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen