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, 2019 in AWS by Drake
1,110 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, 2019 by Praveen
• 700 points

Related Questions In AWS

0 votes
1 answer
0 votes
2 answers

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

A curl or wget to http://169.254.169.254/latest/meta-data/instance-id will ...READ MORE

answered Mar 9, 2020 in AWS by anonymous
6,918 views
0 votes
2 answers

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,170 points
22,323 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
• 58,020 points
1,123 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP