I have multiple tomcat servers (X, Y, Z). They all make API calls to some servers (A, B, C).
What I need to happen is this: Servers X,Y,Z are on AWS EC2. Servers A,B,C I have no control on where they are but their requirements are that they need IPs of servers X,Y,Z so they can specifically whitelist them.
Now let's say my X server changes the IP then I have to go back to the server where I have no control over and request for them to whitelist another IP addy.
Now what I need is some reverse proxy(Highly Available) that when server X sends a request to server A then server A only sees the IP of the proxy. And then when server A sends a response back to server A it also sends a response to this proxy server and then proxy server knows to forward it back to original requester server A.
How can I do something like this ? This is all centos 6 and again servers A,B,C are all partners and I have no control over those servers. I just want to be able to give them 1 or 2 ips (Proxy servers). And proxy servers basically will act as a gateway for the API calls between servers XYZ and ABC.
Thanks in advance!!!