Ramesh
Ramesh

Reputation: 55

Elastic beanstalk instance not stopping instead terminating

I need to do key pair for elastic beanstalk instance in order to connect to instance but I need to stop then do key pair for that I am stopping the instance but its terminating and creating new instance. I can't do key pair on running instance. please advise.

Upvotes: 0

Views: 85

Answers (1)

krishna_mee2004
krishna_mee2004

Reputation: 7366

Elastic Beanstalk creates the instance as part of an Auto Scaling group. When you 'stop' an ASG instance, ASG will kill it and recreate it. Basically, you can not 'stop' an ASG EC2 instance. Define your keypair in the Launch Configuration that you have defined. Refer this link which explains how can you define the keypair.

Upvotes: 1

Related Questions