I'm currently testing docker 1.12 rc3 in AWS EC2 instances and I can't seem to get the Routing Mesh to work. I need help.
I tried creating an Nginx service using:
docker service create --name nginx -p 80:80 nginx
After creating a 1 replica, I can only access the Nginx service from the Node where the container was deployed.
I have successfully followed the instruction to create a swarm cluster and have this:
All has public IP..
ID HOSTNAME MEMBERSHIP STATUS AVAILABILITY MANAGER STATUS
2x5htiwk15oe5yxlv57bzmnqw ip-10-10-1-81 Accepted Ready Active
es3mo4ewooa8j389dqq2plwcv ip-10-10-1-224 Accepted Ready Active
esyryf8ebj5eu9urm77udyy0g * ip-10-10-1-82 Accepted Ready Active Leader
I have the following ports opened to public:
Edit: Okay, I've managed to make it work by allowing all ports opened to public. I wonder what are the important ports to consider opening ;D
Edit2: The ports that must be opened are:
TCP 7946 / UDP 7946