Friday, May 13, 2016

linux - aws ec2 : Instance unreachable before schedule



I've received email from aws stating that one of my ec2 instance is scheduled for retirement due to underlying hardware degradation on 1st September 2017. When I checked that instance after receiving the email, It was already unreachable and 0/2 health check passed. I did couple of reboot from aws web console after which instance got up and running with status 2/2 health check passed Now my question is Will it still be unreachable after 1st September 2017? I am having basic support plan and hence can't raise this with aws directly. I highly appreciate community support here.



Note: It's a EBS backed ubuntu linux instance. If you find this question meaningful kindly upvote.



Thanks


Answer



"Will it still be unreachable after 1st September 2017"




You need to STOP and then START then instance to move it to new hardware. If you did a REBOOT then it will stop working on 1st September. A simple stop / start cycle will mean it will stay available.



You can read up on instance lifecycles here. It doesn't explicitly say about the hardware, I learned that during certification study. It's probably in the documentation somewhere, but there's so much documentation for AWS it can be difficult to locate.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...