有没有办法配置 Amazon EC2 实例以支持 EhCache 所需的多播发现
有没有办法配置 Amazon EC2 实例以支持 EhCache 自动发现所需的多播? (通过 iptables hack 等)/
Is there any way to configure Amazon EC2 instances to support multicast needed for EhCache auto-discovery? (through iptables hacks etc)/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
EC2 实例之间不存在多播。亚马逊不允许。
常见问题解答中有直接答案
http://aws.amazon.com/vpc/faqs/#R4
您可以向 AWS 提交请求,我相信您(我们)并不是唯一一个面临在亚马逊上轻松自动扩展 EHCache 的要求的人。
Terracotta似乎有一个解决方案,云工具。
http://ww1.terracotta.org/documentation/3.7/cloud-工具/入门
There is no multicast between EC2 instances. Amazon does not allow it.
There is a straight answer on the FAQ
http://aws.amazon.com/vpc/faqs/#R4
You can submit a request to AWS, I am sure that you (we) are not alone facing a requirement to easily auto-scale an EHCache on amazon.
Terracotta seems to have a solution, cloud tools.
http://ww1.terracotta.org/documentation/3.7/cloud-tools/get-started
根据内核配置,您也许能够在每个 EC2 实例之间手动连接的 VPN 连接上覆盖多播:
原始版本
https://web.archive.org/web/20111129081152/http://www .slideshare.net/Franklin72/vpncubed-ipsec-to-ec2-gateway-test
2014 年新版本:
http://www.slideshare.net/CohesiveFT/cohesiveft-vns3-configuration-documentation-for-amazon-aws
Dependent upon kernel configuration you might be able to overlay multicast on VPN connections manually wired up between each EC2 instance:
original version:
https://web.archive.org/web/20111129081152/http://www.slideshare.net/Franklin72/vpncubed-ipsec-to-ec2-gateway-test
New version for 2014:
http://www.slideshare.net/CohesiveFT/cohesiveft-vns3-configuration-documentation-for-amazon-aws
以下是有关如何在 AWS 上使用基于 JGroups 的集群(例如 EHCache 和 JBoss AS)的演示:
http://www.redhat.com/summit/2011/presentations/jbossworld/whats_new/wednesday/ban_w_310_running_in_the_cloud.pdf
您可以将 JGroups 配置为使用 TCP/IP 并在许多不同的环境中进行发现方式。
Here is a presentation about how to use JGroups-based clustering (e.g. EHCache, and JBoss AS) on AWS:
http://www.redhat.com/summit/2011/presentations/jbossworld/whats_new/wednesday/ban_w_310_running_in_the_cloud.pdf
You can configure JGroups to use TCP/IP and do discovery in many different ways.