I currently have an appengine app and need to make calls to an API that requires IP whitelisting. I can't whitelist the entire appengine IP blocks (as outlined here) because the range is too big.
So - I'd like to use an Amazon EC2 instance with an Elastic IP to act as a proxy between appengine and the 3rd party API. How do I go about doing this? I think there are 2 options....
1) Setup a full blown webserver on the EC2 instance to redirect calls made from appengine to the 3rd party. Seems like a lot of work and maintenance
2) Is there any easy way to forward all web traffic somehow through this EC2 instance? I.e. appengine makes all urlfetch calls through my amazon ec2 instance?
Any other options?