EC2 的 IP 地址范围
是否有关于 Amazon EC2 使用的公共 IP 地址范围的公开信息?我希望能够查找 IP 并知道它是否是 EC2 机器。我知道为 EC2 计算机提供的 DNS 名称暗示它是一个 EC2 帐户,但我真的更喜欢只提供可用的 IP 查找。
Tx,西蒙@http://LabSlice.com
Is there any public info on what public IP address ranges Amazon EC2 uses? I would like to be able to lookup an IP and know whether or not it's an EC2 machine. I know that the DNS name given to EC2 machines gives a hint that it's an EC2 account, but I really prefer to just have an IP lookup available.
Tx, Simon @ http://LabSlice.com
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以在此处找到有关 AWS 使用的公共 IP 范围的信息:
https://ip-ranges.amazonaws.com/ip-ranges.json
请参阅文档:
http://docs.aws.amazon.com/general /latest/gr/aws-ip-ranges.html
You can find information on the public IP ranges used by AWS here:
https://ip-ranges.amazonaws.com/ip-ranges.json
See the documentation:
http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
Amazon 在此处维护 EC2 IP 范围列表:
https://forums.aws.amazon.com/ann.jspa?annID=1701
Amazon maintains the list of EC2 IP Ranges here:
https://forums.aws.amazon.com/ann.jspa?annID=1701
有几个不同的来源,但没有一个是令人惊奇的。
BigJoe 提到 https://forums.aws.amazon.com/ann.jspa?annID =1701。 (如果此问题已损坏,请尝试在 论坛 中查找置顶贴.)
还有 http://ec2-reachability.amazonaws.com/,这是一个不太简洁的列表,因为它包含几个用于测试 IP 路由的较窄范围。
对于这两个版本的机器可读格式的处理版本,您可以尝试 https://github.com/ ab/ec2-ip。
There are a couple different sources, but none of them are amazing.
BigJoe mentions https://forums.aws.amazon.com/ann.jspa?annID=1701. (If this is broken, try looking for the top sticky in the forum.)
There's also http://ec2-reachability.amazonaws.com/, which is a less concise list since it includes several narrower ranges for testing IP routing.
For a processed version of those two in a more machine readable format, you might try https://github.com/ab/ec2-ip.
我一直在寻找类似的东西,所以我构建了这个工具。它可以让您按服务和区域查找 IP 范围。然后你可以检查IP是否在这些范围内。 https://shotstack.io/tools/aws-ip-search-tool/< /a>
I was looking for something similar so I built this tool. It will let you look up the IP ranges by service and region. Then you could check if the IP falls within those ranges. https://shotstack.io/tools/aws-ip-search-tool/
这是另一个链接:
http://www.uncompiled.com/2010/ 04/当前-amazon-ec2-public-ip-ranges/
Here's an other link:
http://www.uncompiled.com/2010/04/current-amazon-ec2-public-ip-ranges/