Could not connect to flink on Amazon EC2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Could not connect to flink on Amazon EC2

madan
Hi,

I am trying to setup cluster with 2 EC2 instances. Able to bring up the cluser with 1 master and 2 slaves. But I am not able to connect to master to submit my job.
Here is how my attempt,

ExecutionEnvironment.createRemoteEnvironment("18.225.26.184", 6123, new Configuration());
Tried with public ip and elastic ip of EC2 master instance, allowed all TCP connections in security settings. 

Please suggest.
Attaching the log.


--
Thank you,
Madan.

flink_log.txt (63K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Could not connect to flink on Amazon EC2

Jörn Franke
Did you configure the IAM access roles correctly? Are those two machines are allowed to communicate?

Am 23.10.2018 um 12:55 schrieb madan <[hidden email]>:

Hi,

I am trying to setup cluster with 2 EC2 instances. Able to bring up the cluser with 1 master and 2 slaves. But I am not able to connect to master to submit my job.
Here is how my attempt,

ExecutionEnvironment.createRemoteEnvironment("18.225.26.184", 6123, new Configuration());
Tried with public ip and elastic ip of EC2 master instance, allowed all TCP connections in security settings. 

Please suggest.
Attaching the log.


--
Thank you,
Madan.
<flink_log.txt>