- Más nuevo
- Más votos
- Más comentarios
Hello,
As you may know EC2 instances launched from custom AMIs take the Administrator password from the source instance. If the default password for the Administrator account was changed in the source instance used to create the AMI, then the new instance takes the same password. Decrypting the password using a key pair file isn't possible, unless you configure EC2Launch or EC2Config to generate a new password on the next instance boot.
However, it should not be a problem if the AMI was sysprep’d before creation like you said, and initialization tasks from EC2Launch was configured to enable auto-generated passwords.
Following the below docs might help you to connect the EC2 instance with reset password, [1] - https://repost.aws/knowledge-center/reset-admin-password
[2] - https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ResettingAdminPassword.html
[3] - https://repost.aws/knowledge-center/ec2-windows-password-not-available-error
Thanks for the help and guidance. Being new to AMI and recreating instances from them, I knew that I would have to go through the learning curve. My research too directed me towards the EC2Rescue and Run Command. Eventually, things got moving.
Contenido relevante
- preguntada hace 7 días
- preguntada hace un mes
- preguntada hace 17 días
- Como solucionar el error: Supplied Policy document is breaching Cloudwatch Logs policy length limit.Respuesta aceptadapreguntada hace 14 días
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
- ¿Cómo puedo resolver el error “Failed to start the job flow due to an internal error” en Amazon EMR?OFICIAL DE AWSActualizada hace 3 meses
https://repost.aws/knowledge-center/ec2-windows-password-not-available-error did you try this already?