Using a VPN to get a static IP address on Heroku

I need to connect to the API with my Heroku / Rails application, where I need a static IP address.

I know about the addition of proximo - https://devcenter.heroku.com/articles/proximo - but it is insanely appreciated, so there can be no question.

Most people in my situation end up deploying instead of EC2 and using Elastic IP as their static IP address. I also tried this and it works, but I find that the whole stream of games with EC2 is very cumbersome.

In some answers, I read that you can configure the EC2 server and use it as a proxy for your Heroku / Rails application - Heroku Static IP for SFTP - but it sounds very mysterious for a person who is not very versed in the server.

Can someone give a step-by-step guide on how to configure your Heroku / Rails application to use your EC2 instance as a proxy?

+5
source share
4 answers

: AWS. , . , , : https://speakerdeck.com/krunkosaurus/intro-to-scaling-your-web-app-on-the-cloud-with-aws-for-frontend-developers-part-1

Amazon 9 3-5 " ". , Heroku AWS, , ( ), AWS .

, - ( , ). EC2 - Elastic IP, . DNS Heroku (dyno?) EC2. Nginx HAProxy.

+2

QuotaGuard Static , IP, Heroku.

EC2, .

0

Hello, you can use this answer to find out how to use NGINX as a reverse proxy.

fooobar.com/questions/218814 / ...

http://blog.talenox.com/post/107675614745/how-to-setup-static-ip-on-heroku

0
source

Fixie is a very affordable option for getting a static IP address on Heroku. There are many examples in the documentation section for different languages ​​and frameworks, including Ruby.

0
source

All Articles