Multi node cluster install on AWS

Tried multi node cluster on AWS Ubuntu , can anyone point out error

tried installing Eventstore with below two versions with 3 instances [" ubuntu 16.04.3 LTS (Xenial Xerus) ]

eventstore-oss- 5.0.8-1 :

Eventstore Service is running and getting below errors in electing the Leader.

Sep 22 19:15:11 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:11.782] ELECTIONS: (V=733) TIMED OUT! (S=ElectingLeader, M=NULL).
Sep 22 19:15:11 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:11.782] ELECTIONS: (V=734) SHIFT TO LEADER ELECTION.
Sep 22 19:15:11 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:11.782] ELECTIONS: (V=734) VIEWCHANGE FROM [10.20.2.41:2112, {87bd7b57-1381-4fda-acfb-2893bfef5de5}].
Sep 22 19:15:12 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:12.785] ELECTIONS: (V=734) TIMED OUT! (S=ElectingLeader, M=NULL).
Sep 22 19:15:12 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:12.785] ELECTIONS: (V=735) SHIFT TO LEADER ELECTION.
Sep 22 19:15:12 ip-10-20-2-41 eventstored[8304]: [08304,14,13:45:12.785] ELECTIONS: (V=735) VIEWCHANGE FROM [10.20.2.41:2112, {87bd7b57-1381-4fda-acfb-2893bfef5de5}].

Config file used is :


RunProjections: all
StartStandardProjections: true
ClusterSize: 3
CommitCount: 1
IntIp: 0.0.0.0
ExtIp: 0.0.0.0

NodePriority: 1
DiscoverViaDns: false
GossipSeed: 10.20.2.86:2113,10.20.2.227:2113

eventstore-oss- 20.6.0-1 :

EventStore service is running but with below errors.

Sep 22 19:17:06 ip-10-20-2-227 bash[20128]: [20128,12,19:17:06.877,INF] ELECTIONS: (V=2338) TIMED OUT! (S=ElectingLeader, M=null).
Sep 22 19:17:06 ip-10-20-2-227 bash[20128]: [20128,12,19:17:06.877,INF] ELECTIONS: (V=2339) SHIFT TO LEADER ELECTION.
Sep 22 19:17:06 ip-10-20-2-227 bash[20128]: [20128,12,19:17:06.877,INF] ELECTIONS: (V=2339) VIEWCHANGE FROM [“Unspecified/10.20.2.227:2113”, {64331ca9-5216-4ec2-9bbb-ff5a319513bb}].
Sep 22 19:17:07 ip-10-20-2-227 bash[20128]: [20128,12,19:17:07.882,INF] ELECTIONS: (V=2339) TIMED OUT! (S=ElectingLeader, M=null).
Sep 22 19:17:07 ip-10-20-2-227 bash[20128]: [20128,12,19:17:07.882,INF] ELECTIONS: (V=2340) SHIFT TO LEADER ELECTION.
Sep 22 19:17:07 ip-10-20-2-227 bash[20128]: [20128,12,19:17:07.882,INF] ELECTIONS: (V=2340) VIEWCHANGE FROM [“Unspecified/10.20.2.227:2113”, {64331ca9-5216-4ec2-9bbb-ff5a319513bb}].

Config file is :

RunProjections: all
StartStandardProjections: true
ClusterSize: 3
CommitCount: 1
IntIp: 0.0.0.0
IntTcpPort: 1111
HttpPort: 2113
ExtIp: 0.0.0.0
NodePriority: 2
DiscoverViaDns: false
GossipSeed: 10.20.2.41:2113,10.20.2.86:2113

Note :
When using version 5.0.8-1,we are able to login to the Admin UI but not able to create the events.
And in version 20.6.0-1, Even though service is running, not able to get the Admin UI page itself.

I would not recommend using 0.0.0.0, especially in the cloud. Use the configurator tool to generate a proper config for 20+ clusters https://developers.eventstore.com/server/v20/server/installation/