Hi Mohammed,

Which version of NiFi are you using? If it's 1.0.0 or later, you can
choose 'HTTP' as 'Transport Protocol' in RemoteProcessGroup
configuration in your local NiFi, this is what Andrew suggested
earlier.

With HTTP transport protocol, the local NiFi will use HTTP port (8080
in your case) to send flow files to that remote NiFi running on AWS.
If you can access remote NiFi's UI from browser without issue, this
should work.

As a side note, if you prefer using RAW transport protocol, then you'd
have to open additional port, which is defined as
nifi.remote.input.socket.port, in AWS security group setting. Since
HTTP transport protocol doesn't require this, HTTP is more advisable.

Thanks,
Koji

On Wed, Jan 25, 2017 at 1:07 AM, mohammed shambakey
<[email protected]> wrote:
> yes
>
> On Tue, Jan 24, 2017 at 10:40 AM, Antunes, Ravel <[email protected]>
> wrote:
>>
>> Have you set nifi.remote.input.host to the EC2 instance public DNS?
>>
>>
>>
>> From: mohammed shambakey <[email protected]>
>> Reply-To: "[email protected]" <[email protected]>
>> Date: Tuesday, January 24, 2017 at 9:25 AM
>> To: "[email protected]" <[email protected]>
>> Subject: Re: nifi at AWS
>>
>>
>>
>> Thank you all.
>>
>>
>>
>> I'm already using HTTP, and "transmission" and "ports" are open (I think
>> this is what you mean by nifi.remote.input.socket.port, right?), but still
>> the same problem.
>>
>>
>>
>> I can access the remote instance from another AWS instance in the same VPC
>> (I didn't try another VPC), but from my local machine to the remote AWS
>> instance, transaction fails.
>>
>>
>>
>> I tried to open all input TCP tranffic to the AWS instance, but AWS didn't
>> allow that. If it can't be solved, I think I'll just use same EC2 instances
>> running in the same VPC.
>>
>>
>>
>> Regards
>>
>>
>>
>> On Sun, Jan 22, 2017 at 4:04 PM, Andrew Grande <[email protected]> wrote:
>>
>> Isn't it more advisable to use the HTTP mode instead, i.e. no additional
>> ports to open? Make sure to change the client RPG mode to http from RAW (in
>> the UI).
>>
>> Andrew
>>
>>
>>
>> On Sun, Jan 22, 2017, 10:47 AM Bryan Bende <[email protected]> wrote:
>>
>> Hello,
>>
>>
>>
>> I'm assuming you are using site-to-site since you mentioned failing to
>> create a transaction.
>>
>>
>>
>> In nifi.properties on the AWS instance, there is probably a value for
>> nifi.remote.input.socket.port which would also need to be opened.
>>
>>
>>
>> -Bryan
>>
>>
>>
>> On Sat, Jan 21, 2017 at 7:00 PM, mohammed shambakey <[email protected]>
>> wrote:
>>
>> Hi
>>
>>
>>
>> I'm trying to send a file from a local nifi instatnce to a remote nifi
>> instance in AWS. Security rules at remote instance has port 8080 opened, yet
>> each time I try to send the file, local nifi says it failed to create
>> transaction to the remote instance.
>>
>>
>>
>> Regards
>>
>>
>>
>> --
>>
>> Mohammed
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Mohammed
>
>
>
>
> --
> Mohammed

Reply via email to