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
質問済み 8ヶ月前595ビュー
1回答
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
エキスパート
Steve_M
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ