Connection getting lost when creating an AMI from an EC2 instance

0 votes
While creating an Amazon Machine Image (AMI) from an EC2 instance, my Putty Session to the Linux EC2 instance gets terminated why is it so?
Aug 6 in AWS by Drake
27 views

1 answer to this question.

0 votes

AWS powers down the EC2 instance creates an image and then boots the instance back. This is to make sure that the image is healthy and is in a consistent state. Because of the reboot, the network connection is lost and so is the Putty connection. There is a way to avoid reboot while creating an AMI as mentioned in the AWS documentation here. With the no-reboot option the file 
system integrity is not guaranteed.

answered Aug 13 by Praveen
• 700 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How can I find out the instance id of an ec2 instance from within the ec2 instance?

On Amazon Linux AMIs you can do: $ ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,090 points
44 views
0 votes
1 answer

How to recover lost private key of an EC2 instance?

I'm afraid it's not possible When you launch ...READ MORE

answered Sep 25, 2018 in AWS by Archana
• 4,090 points
388 views
0 votes
1 answer

How to safely upgrade an Amazon EC2 instance from t1.micro to large?

Using AWS Management Console: Right-Click on the instance Instance ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 56,900 points
49 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer