Regarding Keypair

0

Hi There,

Good day!!!

We have launched instance last year using AMI which is from AWS Marketplace.

It is Linux based Instance, While launching the instance key pair is required or not ? And if the keypair is lost what are the possible ways to recover/login to access the instance

Kindly advise , how we proceed further

Divya
asked 9 months ago233 views
1 Answer
1

While launching the instance key pair is required or not ?

Strictly speaking no, a keypair isn't required as a prerequisite for an instance being launched. Although if a keypair is not provided then in most cases you won't be able to login to the EC2 instance, unless the AMI provides another method - check the documentation for the AMI.

And if the keypair is lost what are the possible ways to recover/login to access the instance

The process for replacing a lost keypair with a new one is here https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2

And the associated video that walks you through the process is here https://www.youtube.com/watch?v=5V2hKFj9_SI

profile picture
EXPERT
Steve_M
answered 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago
profile picture
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions