Fixed IP? Will my idea work...
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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Fixed IP? Will my idea work...
On Thu, Mar 8, 2012 at 11:21 AM, Karl threadh...@gmail.com 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. The shared databases don't support ingress from outside the Heroku cloud, but the production databases do. -p -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Fixed IP? Will my idea work...
On Thursday, March 8, 2012 12:25:56 PM UTC-7, Peter van Hardenberg wrote: On Thu, Mar 8, 2012 at 11:21 AM, Karl 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. The shared databases don't support ingress from outside the Heroku cloud, but the production databases do. -p Thanks Peter. My client won't pony up for the $200/mo Ronin, but I wish they would. Do you have any advise on the best way to handle this task in a heroku app (API receiver requires fixed ip address)? -- 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/-/iFdgiF2C4SsJ. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Fixed IP? Will my idea work...
Either expose a webservice on both ends (heroku and your fixed ip instance) or pump it through a message queue. There is a hosted rabbitmq add on for heroku that's free for low usage or you can use iron.io message queue, which gives you 250k requests per month for free. Also, for the proxy I would consider running it under node.js on the cheapest virtual server on rackspace.com, which goes for $10 a month. On Thu, Mar 8, 2012 at 11:33 AM, Karl threadh...@gmail.com wrote: On Thursday, March 8, 2012 12:25:56 PM UTC-7, Peter van Hardenberg wrote: On Thu, Mar 8, 2012 at 11:21 AM, Karl 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. The shared databases don't support ingress from outside the Heroku cloud, but the production databases do. -p Thanks Peter. My client won't pony up for the $200/mo Ronin, but I wish they would. Do you have any advise on the best way to handle this task in a heroku app (API receiver requires fixed ip address)? -- 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/-/iFdgiF2C4SsJ. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Fixed IP? Will my idea work...
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 threadh...@gmail.com 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Fixed IP? Will my idea work...
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 brandon.ca...@gmail.comwrote: 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 threadh...@gmail.com 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.