EC2 Instance Key Pair Change

0

We have Ec2 instance which is connected to Elastic Beanstalk. The instance has an Auto Scaling group connected which has a Launch Configuration setup. Now we do not have access to the existing keypair of the instance, hence we are trying to change the keypair for the instance. To achieve this we have created a new launch configuration with a new keypair and connected that launch configuration to the existing Auto Scaling group. But the changed keypair is not reflecting on the instance. That is where we are stuck with and we need a way to change this key par so that we can access the instance.

Dipen
preguntada hace 8 meses595 visualizaciones
1 Respuesta
1

That method will not change the keypair on an instance that has already been provisioned and is running. See option 1 of this instead https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2

profile picture
EXPERTO
Steve_M
respondido hace 8 meses

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