You can also use Amazon's RDS for storage, which should be accessible to both your apps.
On Thu, Mar 8, 2012 at 11:45 AM, Brandon Casci <[email protected]>wrote: > If it were me I'd pay the extra $100 to ensure my app worked the way it > needed it too. > > If I didn't want to pay I'd look to see if anything tools out there could > proxy SOAP calls for me. If not then maybe build a proxy to the SOAP API > you want to use. I'd probably put the service or homebrewed proxy app on a > dinky Linode VPS, but any would do. I don't know how complicated the other > API is, but you may be able to proxy it without much work.. Maybe mapping a > bunch of routes to a single controller that examines the message payload, > makes the right call on the real API and passes the result back. This way > you code your app as if it were using the actual API. > > Though knowing myself, I'd just pay the $100 because my days are busy > enough ;) > > > > On Mar 8, 2012, at 2:21 PM, Karl <[email protected]> wrote: > > So, I need to connect to a SOAP API that *requires* the caller have a > fixed IP address. We all know that heroku has two options: $100 a month for > fixed ip ssl, or no-can-do. And I'm not convinced that the instance doing > the calling will reveal the fixed ip anyway. > > So, my thought is that I could create an EC2 micro instance, give it an > elastic IP address, and hobble together a quick sinatra app to receive > calls from my heroku app and have it make the SOAP calls. But I would like > this EC2 instance (not under heroku's app structure) to connect to the > postgres db directly. I'm using the shared postgres db, but I may be > willing to go with an add-on if it works. > > Is this possible, will it work? > > PS - yes, I know I could have the sinatra app just return the SOAP XML > back to the heroku app, and that is my plan 'B'. But if it could talk to > the postgres db directly, it would make the setup easier and simpler. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/heroku/-/PdCvU66I0SkJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
