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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠