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 个月前

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

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

回答问题的准则