Why would an instance lose it's IP intermittently

0

One of our clients reports ec2 instance, configured in private subnet loses it's IP address intermittently after a reboot. I would appreciate some help with identifying the root cause and a possible fix to the issue.

  • Are you rebooting the EC2 instance or stop/starting it? If you are stop/start it, it will get a new IP each time.

已提问 2 年前229 查看次数
1 回答
0

The phrases "loses it's IP address" is a little unclear - it'd be good to have some extra detail about how the client is determining this.

Otherwise: First, when this happens I'd check in the console to see if the instance has had an IP address allocated by DHCP. If not, then definitely raise a support ticket because all instances should be automatically (and quickly) allocated an IP address.

If the instance does have an IP address in the console then there is probably an issue with the operating system somewhere. Look into the logs and see if you can see any messages that relate to this.

Again, more detail would help - operating system type; logs; anything at all.

profile pictureAWS
专家
已回答 2 年前
  • Thanks for the response. I was able to get more details from the client and the issue was not properly reported. Issue: This instance intermittently fails health check. When stopped and restarted, the health check issue is resolved but will occurs again after a while. Was not able to lock down a time line between each occurrence. But was informed it happens quite frequently lately. During such occurrences, client gets a network issue when trying to ssh/connect to the box using a third party tool. I pull the logs for that instance, and will attach in the comment section.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则