How about this?
<interfaces enabled="true">
<interface>10.16.151.*</interface>
</interfaces>
> --
> You received this message because you are subscribed to the Google Groups
> "Hazelcast" group.
> To post to this group, send email to haze...@googlegroups.com.
> To unsubscribe from this group, send email to
> hazelcast+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hazelcast?hl=en.
>
It is not only about binding to an IP. We already do bind to 0.0.0.0
but each node has to pick an IP that is reachable by the other nodes.
Picked IP is made part of the member list so that nodes can connect
via TCP. Now the question is how? At EC2 you should somehow have
Hazelcast pick 10.*.*.* IP. so At EC2 you should always have:
<interfaces enabled="true">
<interface>10.*.*.*</interface>
</interfaces>
> There are, of course, other issues when deploying to EC2 since there is no
> multicast, and sometimes there are advantages to using stock AMI's,
> especially when using external monitoring and scaling services like
> scalr.net which preclude the knowledge of knowing IP addresses at runtime.
> Perhaps a queue can be taken from the Elastic Search project which we also
> include in our stack. Like Hazelcast, they support multicast and static
> routes, but also add the option of using the Amazon EC2 instance to locate
> other instances in the cloud.
> Is there a strategy in place for this type of node discovery?
Yes. this is another issue. I agree that we should have more EC2
friendly discovery strategy but we don't have it yet.
-talip