You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by madan <ma...@gmail.com> on 2018/10/23 10:55:49 UTC
Could not connect to flink on Amazon EC2
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.
Re: Could not connect to flink on Amazon EC2
Posted by Jörn Franke <jo...@gmail.com>.
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 <ma...@gmail.com>:
>
> 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>