Arrow flight Python client on EC2 Instance

Hi,

We are creating a Python client on EC2 instance to connect to our Dremio cluster. The connection is failing with below error

Traceback (most recent call last):
File “”, line 1, in
File “pyarrow/_flight.pyx”, line 1149, in pyarrow._flight.FlightClient.authenticate
File “pyarrow/_flight.pyx”, line 70, in pyarrow._flight.check_flight_status
pyarrow._flight.FlightUnavailableError: gRPC returned unavailable error, with message: failed to connect to all addresses

FYI, the same piece of Python client code works fine from local system using Jupyter notebook and we are able to fetch the result.

Could you please help. Do we need any additional set up on the EC2 instance.

Is your EC2 instance deployed with Dremio AWS Edition? AWS Edition · Dremio