Is there any way to configure Amazon EC2 instances to support multicast needed for EhCache auto-discovery? (through iptables hacks etc)/
An ENI associated with a supported Amazon EC2 instance receives multicast traffic by being a multicast group member. Nitro instances* can receive and/or send traffic in a static source group membership configuration. With IGMPv2** enabled, any Nitro instance can send traffic without static configuration.
AWS support many ways to let you connect to your servers(EC2), we will introduce three methods : SSH, Instance Connect, System Manager and deep dive in EC2 Instance Connect and System Manager – Session Manager.
You can launch multiple instances from a single AMI when you require multiple instances with the same configuration. You can use different AMIs to launch instances when you require instances with different configurations.
An Amazon Machine Image (AMI) is a template that contains a software configuration (for example, an operating system, an application server, and applications). From an AMI, you launch an instance, which is a copy of the AMI running as a virtual server in the 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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With