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
preguntada hace 2 años1196 visualizaciones
4 Respuestas
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
respondido hace 2 años
0

No, it's Linux or Ubuntu

Eric
respondido hace 2 años
0
respondido hace 2 años
0

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

Eric
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas