rohit
rohit

Reputation: 902

hazelcast cluster inside elastic beanstalk docker

Can any one please point me how to establish clustering for hazelcast servers running inside docker in elastic beanstalk. I have exposed port 8080 and 5701 and use java based AWS config. Same AWS config works if i run jar natively but if jar is run inside docker issue with clustering.

Also I made sure that security group has port 5701 open.

Upvotes: 1

Views: 435

Answers (1)

brad
brad

Reputation: 854

I havent yet confirmed, but i believe you need to use the net=host option when starting docker. Beanstalk does not make this easy

There is a discussion here: How to customize the docker run command on Elastic Beanstalk?

Upvotes: 1

Related Questions