Existing TCP streams pinned to old instance after moving Elastic IP to new instance

0

I am seeing something strange with Elastic IPs.

When moving Elastic IPs between instances, existing TCP streams are not being directed to the new instance. New connections correctly hit the new instance but existing streams seem pinned to the old instance.

Is this expected behavior?

已提問 1 年前檢視次數 193 次
1 個回答
0

Yes. In the docs:

You can disassociate an Elastic IP address from a resource, and then associate it with a different resource. 
To avoid unexpected behavior, ensure that all active connections to the resource named in the 
existing association are closed before you make the change. After you have associated your 
Elastic IP address to a different resource, you can reopen your connections to the newly 
associated resource.
profile pictureAWS
專家
kentrad
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前
profile picture
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南