如何正确确定Amazon AWS Heroku子网? [英] How to properly determine Amazon AWS Heroku subnets?

查看:150
本文介绍了如何正确确定Amazon AWS Heroku子网?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够通过防火墙访问构建在Heroku上的应用程序的服务器。不幸的是,来自Heroku的AWS实例的IP似乎有很大不同。有没有一种正确的方法来确定Heroku的AWS平台对应用程序所期望的子网?

正如这样不幸的是 - 没有一个好方法来持续获取这些信息。然而,在AWS论坛上,EC2工程师倾向于偶尔发布他们的IP范围(这里是一个最近的例子: https://forums.aws.amazon.com/ann.jspa?annID=1701 )。



不足之处在于,但是,它需要大量的手动工作。


I need to be able to enable access through a firewall to a server for an app that is built atop Heroku. Unfortunately the IP's coming from Heroku's AWS instances seem to vary quite a bit. Is there a "correct" way of determining what subnet to expect from Heroku's AWS platform for an app?

解决方案

As unfortunate as this is -- there isn't a good way to continuously get this information. On the AWS forums, however, the EC2 engineers tend to occasionally post their IP ranges (here is a recent example: https://forums.aws.amazon.com/ann.jspa?annID=1701).

The downside to this, however, is that it requires a lot of manual work.

这篇关于如何正确确定Amazon AWS Heroku子网?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆