One of the Elastic IPs associated with my running instance is not working, while the other is working.

0

We have an EC2 Windows instance running, that contains both production and UAT environments where each has a different Elastic IP. One of them (UAT) is not working, as in I cannot connect to the windows server through RDP. We need help with associating an Elastic IP.

DTS
질문됨 3달 전244회 조회
1개 답변
0

I think that this is an operating system issue (and not specifically Windows). Your instance will have two private IP addresses with an Elastic IP for each. But it only has one default route. Which means that traffic will generally always try to exit the instance via whichever interface is selected with the default route. This may cause issues where packets will leave a network interface but with a source (private) IP address that is not the same as the network interface - assuming the the operating system will yet you do that (it may not).

You might be able to fix this by disabled source/destination check on your interfaces: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#modify-source-dest-check

Why do you need two Elastic IP addresses for a single instance? I get that you're running two environments but I think it's not a good idea to have them both on the same instance. It would be really easy to make a change in UAT that affects production.

profile pictureAWS
전문가
답변함 3달 전

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

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

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

관련 콘텐츠