EC2 Auto discovery not running

872 views
Skip to first unread message

Manoj Khotele

unread,
Feb 20, 2016, 10:45:07 AM2/20/16
to Hazelcast
I am running one after another 2 hazelcast instances in AWS EC2, with same hazelcast.xml file.
The second node does not join the first one.
I don't observe any delay before both of these nodes form their own cluster.

What's wrong with following hazelcast.xml?

           xsi:schemaLocation="http://www.hazelcast.com/schema/config
                               http://www.hazelcast.com/schema/config/hazelcast-config-3.6.xsd"
           xmlns="http://www.hazelcast.com/schema/config">
<group>
        <name>hz-test-group</name>
        <password>hz-test-pwd</password>
    </group>
    <properties>
        <property name="hazelcast.discovery.enabled">true</property>
    </properties>
    <network>
        <join>    
            <multicast enabled="false"/>                
            <tcp-ip connection-timeout-seconds="30" enabled="false"/>
            <aws enabled="true">
                <access-key>my-access-key</access-key>
                <secret-key>my-secret-key</secret-key>
                <region>ap-southeast-1a</region>
                <host-header>ec2.amazonaws.com</host-header>
                <security-group-name>hazelcast-sg</security-group-name>
                <tag-key>type</tag-key>
                <tag-value>hz-nodes</tag-value>
            </aws>
        </join>
</network>
</hazelcast>

The logs are as follows:

########################################
# RUN_JAVA=
# JAVA_OPTS=
# starting now....
########################################
Process id for hazelcast instance is written to location:  /opt/hazelcast/hazelcast_instance.pid
Feb 20, 2016 3:36:36 PM com.hazelcast.config.XmlConfigLocator
INFO: Loading 'hazelcast.xml' from working directory.
Feb 20, 2016 3:36:37 PM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [hz-test-group] [3.6] Prefer IPv4 stack is true.
Feb 20, 2016 3:36:37 PM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [hz-test-group] [3.6] Picked Address[172.17.0.2]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
Feb 20, 2016 3:36:37 PM com.hazelcast.spi.OperationService
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Backpressure is disabled
Feb 20, 2016 3:36:37 PM com.hazelcast.spi.impl.operationexecutor.classic.Classic OperationExecutor
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Starting with 2 generic operation threads and 2 partition operation threads.
Feb 20, 2016 3:36:37 PM com.hazelcast.system
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Hazelcast 3.6 (20160125 - 13fea63)  starting at Address[172.17.0.2]:5701
Feb 20, 2016 3:36:37 PM com.hazelcast.system
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
Feb 20, 2016 3:36:37 PM com.hazelcast.system
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Configured Hazelcast Serialization version : 1
Feb 20, 2016 3:36:37 PM com.hazelcast.instance.Node
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Activating Discovery SPI Joiner
Feb 20, 2016 3:36:37 PM com.hazelcast.core.LifecycleService
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Address[172.17.0.2]:5701 is STARTING
Feb 20, 2016 3:36:37 PM com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThreading  Model
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads
Feb 20, 2016 3:36:37 PM com.hazelcast.cluster.impl.DiscoveryJoiner
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6]


Members [1] {
        Member [172.17.0.2]:5701 this
}

Feb 20, 2016 3:36:38 PM com.hazelcast.core.LifecycleService
INFO: [172.17.0.2]:5701 [hz-test-group] [3.6] Address[172.17.0.2]:5701 is STARTED

Best Regards,
Manoj 

Peter Veentjer

unread,
Feb 21, 2016, 8:28:32 AM2/21/16
to haze...@googlegroups.com

Have you configured the security group correctly? If not, then probably you have a firewall issue. See
the text below how to detect if there is a problem.


.Inline image 1

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/f328b938-45c4-4312-844b-2db23bb39c00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manoj Khotele

unread,
Feb 21, 2016, 9:57:17 AM2/21/16
to Hazelcast
I verified that it's not a firewall issue.

On following the steps as suggested, this is what I got on second machine:

[ec2-user@ip-172-31-24-188 ~]$ iperf -c 54.254.198.177 -d -p 5701
------------------------------------------------------------
Server listening on TCP port 5701
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 54.254.198.177, TCP port 5701
TCP window size:  780 KByte (default)
------------------------------------------------------------
[  3] local 172.31.24.188 port 33821 connected with 54.254.198.177 port 5701
[  5] local 172.31.24.188 port 5701 connected with 54.254.198.177 port 54623
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   484 MBytes   405 Mbits/sec
[  5]  0.0-10.2 sec   140 MBytes   115 Mbits/sec

Thanks Peter, for suggesting the way to check that firewall is not the cause.
Then what else could stop these machines from discovering each other.

Peter Veentjer

unread,
Feb 21, 2016, 4:03:57 PM2/21/16
to haze...@googlegroups.com
Can you switch logging to finest.

There should be very detailed logging regarding the discovery process that should give you a clear understanding from retrieving the instances from ec2 and why nodes are being rejected.

Another quick hack to see if you can get it up and running is temporarily switch to TCP/IP-Discovery and add the (private) ip addresses to the config, and see if the members connect correctly.


Manoj Khotele

unread,
Feb 22, 2016, 9:21:17 AM2/22/16
to Hazelcast
Thanks Peter for quick response.
This may look very silly, ut how can I switch logging to finest?
I am following https://hub.docker.com/r/hazelcast/hazelcast/ to run hazelcast via docker image. How can I extend the base docker image to configure logging?
I tried adding this propertyin hazelcast.xml - <property name="hazelcast.logging.type">log4j2</property> and including log4j.xml. But this gives exception "java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager". I can understand this error.
My question is - is there a quick way to keep all the default settings, but just switch logging level?

By the way, I haven't tried second hack suggested by you. I am gonna try that.

Manoj Khotele

unread,
Feb 23, 2016, 5:52:17 AM2/23/16
to Hazelcast
I tried forming a cluster using tcp.
In this case also, nodes are not joining.

Te logs are:
WARNING: [172.31.21.100]:5701 [dev] [3.6] hz._hzInstance_1_dev.IO.thread-in-1 Closing socket to endpoint Address[54.254.203.176]:5701, Cause:java.io.EOFException: Remote socket closed!
Feb 23, 2016 10:29:19 AM com.hazelcast.nio.tcp.InitConnectionTask
INFO: [172.31.21.100]:5701 [dev] [3.6] Connecting to /54.254.203.176:5701, timeout: 0, bind-any: true
Feb 23, 2016 10:29:19 AM com.hazelcast.nio.tcp.TcpIpConnectionManager
INFO: [172.31.21.100]:5701 [dev] [3.6] Established socket connection between /172.31.21.100:51072 and /54.254.203.176:5701
Feb 23, 2016 10:29:19 AM com.hazelcast.nio.tcp.TcpIpConnection
INFO: [172.31.21.100]:5701 [dev] [3.6] Connection [Address[54.254.203.176]:5701] lost. Reason: java.io.EOFException[Remote socket closed!]
Feb 23, 2016 10:29:19 AM com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader
WARNING: [172.31.21.100]:5701 [dev] [3.6] hz._hzInstance_1_dev.IO.thread-in-2 Closing socket to endpoint Address[54.254.203.176]:5701, Cause:java.io.EOFException: Remote socket closed!
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
SEVERE: [172.31.21.100]:5701 [dev] [3.6] Could not join cluster in 300000 ms. Shutting down now!
Feb 23, 2016 10:29:20 AM com.hazelcast.core.LifecycleService
INFO: [172.31.21.100]:5701 [dev] [3.6] Address[172.31.21.100]:5701 is SHUTTING_DOWN
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
WARNING: [172.31.21.100]:5701 [dev] [3.6] Terminating forcefully...
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
INFO: [172.31.21.100]:5701 [dev] [3.6] Shutting down connection manager...
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
INFO: [172.31.21.100]:5701 [dev] [3.6] Shutting down node engine...
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.NodeExtension
INFO: [172.31.21.100]:5701 [dev] [3.6] Destroying node NodeExtension.
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
INFO: [172.31.21.100]:5701 [dev] [3.6] Hazelcast Shutdown is completed in 12 ms.
Feb 23, 2016 10:29:20 AM com.hazelcast.core.LifecycleService
INFO: [172.31.21.100]:5701 [dev] [3.6] Address[172.31.21.100]:5701 is SHUTDOWN
Feb 23, 2016 10:29:20 AM com.hazelcast.util.PhoneHome
WARNING: [172.31.21.100]:5701 [dev] [3.6] Could not schedule phone home! Most probably Hazelcast is failed to start.
Feb 23, 2016 10:29:20 AM com.hazelcast.instance.Node
INFO: [172.31.21.100]:5701 [dev] [3.6] Node is already shutting down... Waiting for shutdown process to complete...
java.lang.IllegalStateException: Node failed to start!
        at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:133)
        at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160)
        at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:143)
        at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:111)
        at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
        at bibo.hzeval.common.HzInstanceConfigurator.configureMemberInstance(HzInstanceConfigurator.java:92)
        at bibo.hzeval.common.HzInstanceConfigurator.configure(HzInstanceConfigurator.java:31)
        at bibo.hzeval.HzNodeCreator.main(HzNodeCreator.java:12)

Best Regards,
Manoj

Manoj Khotele

unread,
Feb 23, 2016, 7:50:59 AM2/23/16
to Hazelcast
I forget to put the logs appearing at the side of first/ required node:

WARNING: [172.31.21.99]:5701 [dev] [3.6] Wrong bind request from Address[172.31.21.100]:5701! This node is not requested endpoint: Address[54.254.203.176]:5701
Feb 23, 2016 12:47:52 PM com.hazelcast.nio.tcp.TcpIpConnection
INFO: [172.31.21.99]:5701 [dev] [3.6] Connection [/54.169.77.246:55048] lost. Reason: Socket explicitly closed
Feb 23, 2016 12:47:53 PM com.hazelcast.nio.tcp.SocketAcceptorThread
INFO: [172.31.21.99]:5701 [dev] [3.6] Accepting socket connection from /54.169.77.246:40946
Feb 23, 2016 12:47:53 PM com.hazelcast.nio.tcp.TcpIpConnectionManager
INFO: [172.31.21.99]:5701 [dev] [3.6] Established socket connection between /172.31.21.99:5701 and /54.169.77.246:40946
Feb 23, 2016 12:47:53 PM com.hazelcast.nio.tcp.TcpIpConnectionManager

Best Regards,
Manoj

Peter Veentjer

unread,
Feb 23, 2016, 8:11:23 AM2/23/16
to haze...@googlegroups.com
You are mixing up public and private ip addresses. Only use private; public is for you if you want to connect to the cluster from the outside.

Manoj Khotele

unread,
Feb 23, 2016, 8:16:33 AM2/23/16
to Hazelcast
Got success in forming cluster using tcp enabled.
The input to the second node had to be private ip (and not public ip) of the first EC2 instance node.

Best Regards,
Manoj

Manoj Khotele

unread,
Feb 23, 2016, 8:19:14 AM2/23/16
to Hazelcast
Got success in forming cluster using tcp enabled.
The input to the second node had to be private ip (and not public ip) of the first EC2 instance node.

Best Regards,
Manoj

Manoj Khotele

unread,
Feb 23, 2016, 8:19:52 AM2/23/16
to Hazelcast
Got success in forming cluster using tcp enabled.
The input to the second node had to be private ip (and not public ip) of the first EC2 instance node.

Best Regards,
Manoj

Manoj Khotele

unread,
Feb 23, 2016, 1:17:09 PM2/23/16
to Hazelcast
Hi Peter,

Following are the detailed logs I am getting for the second node, which is supposed to join to first node using EC2 auto-discovery.

In the log I don't see any waiting time between"Activating Discovery SPI Joiner" and cluster started. Is not this an issue? What's wrong with hazelcast.xml I presented in very first message?


Feb 23, 2016 6:08:15 PM com.hazelcast.config.XmlConfigLocator
INFO: Loading 'hazelcast.xml' from classpath.
2016-02-23 18:08:16,371 main DEBUG Initializing configuration XmlConfiguration[location=jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml]
2016-02-23 18:08:16,376 main DEBUG Installed script engines
2016-02-23 18:08:17,053 main DEBUG Oracle Nashorn Version: 1.8.0_73, Language: ECMAScript, Threading: Not Thread Safe, Compile: true, Names: {nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript}
2016-02-23 18:08:17,059 main DEBUG PluginManager 'Core' found 97 plugins
2016-02-23 18:08:17,059 main DEBUG PluginManager 'Level' found 0 plugins
2016-02-23 18:08:17,063 main DEBUG No scheduled items
2016-02-23 18:08:17,071 main DEBUG PluginManager 'Lookup' found 13 plugins
2016-02-23 18:08:17,072 main DEBUG Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2016-02-23 18:08:17,094 main DEBUG PluginManager 'TypeConverter' found 23 plugins
2016-02-23 18:08:17,127 main DEBUG PatternLayout$Builder(pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n", PatternSelector=null, Configuration(jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml), Replace=null, charset="null", alwaysWriteExceptions="null", noConsoleNoAnsi="null", header="null", footer="null")
2016-02-23 18:08:17,127 main DEBUG PluginManager 'Converter' found 38 plugins
2016-02-23 18:08:17,135 main DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2016-02-23 18:08:17,136 main DEBUG Not in a ServletContext environment, thus not loading WebLookup plugin.
2016-02-23 18:08:17,137 main DEBUG PluginManager 'Converter' found 38 plugins
2016-02-23 18:08:17,139 main DEBUG Starting OutputStreamManager SYSTEM_OUT.false-2
2016-02-23 18:08:17,155 main DEBUG ConsoleAppender$Builder(PatternLayout(%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n), Filter=null, target="SYSTEM_OUT", name="Console", follow="null", ignoreExceptions="null")
2016-02-23 18:08:17,155 main DEBUG Starting OutputStreamManager SYSTEM_OUT.false
2016-02-23 18:08:17,156 main DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
2016-02-23 18:08:17,159 main DEBUG createAppenders(={Console})
2016-02-23 18:08:17,160 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2016-02-23 18:08:17,172 main DEBUG createAppenderRef(ref="Console", level="null", Filter=null)
2016-02-23 18:08:17,172 main DEBUG Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
2016-02-23 18:08:17,175 main DEBUG createLogger(additivity="null", level="INFO", includeLocation="null", ={Console}, ={}, Configuration(jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml), Filter=null)
2016-02-23 18:08:17,178 main DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
2016-02-23 18:08:17,178 main DEBUG createLoggers(={root})
2016-02-23 18:08:17,180 main DEBUG Configuration XmlConfiguration[location=jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml] initialized
2016-02-23 18:08:17,186 main DEBUG Starting configuration XmlConfiguration[location=jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml]
2016-02-23 18:08:17,187 main DEBUG Started configuration XmlConfiguration[location=jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml] OK.
2016-02-23 18:08:17,187 main DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false-1
2016-02-23 18:08:17,188 main DEBUG Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@5679c6c6 OK
2016-02-23 18:08:17,274 main DEBUG Reconfiguration complete for context[name=Default] at URI jar:file:/home/ec2-user/HazelcastEvaluation/evaluation-main/target/hz-evaluation-main-1.0-SNAPSHOT-jar-with-dependencies.jar!/log4j2.xml (org.apache.logging.log4j.core.LoggerContext@5656be13) with optional ClassLoader: null
2016-02-23 18:08:17,274 main DEBUG Shutdown hook enabled. Registering a new one.
2016-02-23 18:08:17,275 main DEBUG LoggerContext[name=Default, org.apache.logging.log4j.core.LoggerContext@5656be13] started OK.
18:08:17.288 [main] INFO  com.hazelcast.instance.DefaultAddressPicker - [LOCAL] [dev] [3.6] Prefer IPv4 stack is true.
18:08:17.301 [main] INFO  com.hazelcast.instance.DefaultAddressPicker - [LOCAL] [dev] [3.6] Picked Address[172.31.17.121]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
18:08:17.552 [main] INFO  com.hazelcast.spi.OperationService - [172.31.17.121]:5701 [dev] [3.6] Backpressure is disabled
18:08:17.591 [main] INFO  com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor - [172.31.17.121]:5701 [dev] [3.6] Starting with 2 generic operation threads and 2 partition operation threads.
18:08:18.027 [main] INFO  com.hazelcast.system - [172.31.17.121]:5701 [dev] [3.6] Hazelcast 3.6 (20160125 - 13fea63) starting at Address[172.31.17.121]:5701
18:08:18.027 [main] INFO  com.hazelcast.system - [172.31.17.121]:5701 [dev] [3.6] Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
18:08:18.027 [main] INFO  com.hazelcast.system - [172.31.17.121]:5701 [dev] [3.6] Configured Hazelcast Serialization version : 1
18:08:18.033 [main] INFO  com.hazelcast.instance.Node - [172.31.17.121]:5701 [dev] [3.6] Activating Discovery SPI Joiner
18:08:18.042 [main] INFO  com.hazelcast.core.LifecycleService - [172.31.17.121]:5701 [dev] [3.6] Address[172.31.17.121]:5701 is STARTING
18:08:18.198 [main] INFO  com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThreadingModel - [172.31.17.121]:5701 [dev] [3.6] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads
18:08:18.219 [main] INFO  com.hazelcast.cluster.impl.DiscoveryJoiner - [172.31.17.121]:5701 [dev] [3.6]


Members [1] {
        Member [172.31.17.121]:5701 this
}

18:08:18.283 [main] INFO  com.hazelcast.core.LifecycleService - [172.31.17.121]:5701 [dev] [3.6] Address[172.31.17.121]:5701 is STARTED

Best Regards,
Manoj

Manoj Khotele

unread,
Feb 24, 2016, 6:42:07 AM2/24/16
to Hazelcast
I got some useful logs, when I switched from Hazelcast version 3.6 to 3.5.

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLnnection.java:1840) ~[?:1.8.0_73]
       ...

On investigating, I realized that it could be region specific issue.

So I created new instances and trying doing same things in new region. (switched the region from ap-southeast-1 to us-east-1).
Here I am getting logs something like Wrong bind request from Address[172.31.21.100]:5701! This node is not requested endpoint: Address[54.254.203.176]:5701.

Now I am getting frustrated. I am getting different logs for different version of hz and different behavior in different region.
Now I have stopped employing ec2 auto-discovery and relying on tcp.

Best Regards,
Manoj

İbrahim Gürses

unread,
Feb 26, 2016, 7:50:59 AM2/26/16
to Hazelcast
Hi Manoj, 

I think there is a problem in your xml configuration, you should not `hazelcast.discovery.enabled` true with aws discovery,  I checked the code,

That is why when you downgrade to 3.5, you can actually call aws api but his time I think `ap-southeast-1a` had some problems with this region. Can you try again with 3.6 with removing?
 <properties>
        <property name="hazelcast.discovery.enabled">true</property>
    </properties>

Sorry for the frustration, we should fail fast here, once discovery spi is enabled we should fail if aws or multicast discovery is enabled. Also our documentation for 3.6 is wrong, 
http://docs.hazelcast.org/docs/3.6/manual/html-single/index.html#discovering-members-within-ec2-cloud. Because example config is wrong with` hazelcast.discovery.enabled`. I will update the documentation.

Best
İbrahim.

Manoj Khotele

unread,
Feb 26, 2016, 3:33:11 PM2/26/16
to Hazelcast
It worked with your fix for region eu-central-1.
That's such a relief. Thanks a lot Ibrahim.

atul.m...@gmail.com

unread,
Aug 11, 2017, 8:40:23 AM8/11/17
to Hazelcast
Hi Manoj,

Kindly can you share how did you resolve this problem?
I am facing the same issue where each instance is starting separately. I have tried both the ways (AwsConfig and Discovery SPI). Provided Access-Key, seceret-key IAM role, region and header-host.

the security group has custom tcp rule defined to access inbound request from 5701-5704 ports.
If I try to connect using tcp config, then cluster is being formed of two members but that is not what we are looking for.

Regards,
Atul
Reply all
Reply to author
Forward
0 new messages