Scenario / Questions

I am trying to make a kind of proxy using elastic IPs on my Amazon EC2 instance. My question is, say I associate an elastic IP to my Amazon instance, and then I make an outbound connection from my EC2 instance to a server, say www.yahoo.com.

What IP address will www.yahoo.com see, the original Amazon EC2 server IP or the elastic IP I have associated to it?

Sorry if this is a basic question, but this is all new to me.

Find below all possible solutions or suggestions for the above questions..

Suggestion: 1

If an elastic IP is associated with an EC2 instance, that’s the instance’s external IP.

You can demonstrate this by doing curl canhazip.com in the command line.