# Arrow flight Python client on EC2 Instance

**URL:** <https://community.dremio.com/t/arrow-flight-python-client-on-ec2-instance/6798>\
**Category:** Uncategorized\
**Created:** [January 5, 2021, 11:46pm UTC](https://community.dremio.com/t/arrow-flight-python-client-on-ec2-instance/6798 "2021-01-05T23:46:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anupam](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@anupam](https://community.dremio.com/u/anupam)\
**Post date:** [January 5, 2021, 11:46pm UTC](https://community.dremio.com/t/arrow-flight-python-client-on-ec2-instance/6798/1 "2021-01-05T23:46:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tiffany\_Lam](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/tiffany_lam/32/1768_2.png) [@Tiffany\_Lam](https://community.dremio.com/u/Tiffany_Lam)\
**Post date:** [January 8, 2021, 1:29am UTC](https://community.dremio.com/t/arrow-flight-python-client-on-ec2-instance/6798/2 "2021-01-08T01:29:26Z")

</div>

Is your EC2 instance deployed with Dremio AWS Edition? [AWS Edition · Dremio](https://docs.dremio.com/deployment/aws-edition.html)
