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
feita há 8 meses595 visualizações
1 Resposta
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
ESPECIALISTA
Steve_M
respondido há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas