有没有办法配置 Amazon EC2 实例以支持 EhCache 所需的多播发现

发布于 2024-11-04 01:30:46 字数 72 浏览 6 评论 0原文

有没有办法配置 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

山川志 2024-11-11 01:30:46

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

孤者何惧 2024-11-11 01:30:46

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

溺ぐ爱和你が 2024-11-11 01:30:46

以下是有关如何在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文