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?

asked a year ago186 views
1 Answer
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
EXPERT
kentrad
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions