<p>So, I have my <code>Influx</code> database deployed at my <code>AWS Kubernetes Cluster(EKS)</code>. <br>
What I want is to be able to connect with the database with my <code>python</code> project and be able to query the database. <br>
I can see that I can use the Influx API ,like these <a href="https://influxdb-python.readthedocs.io/en/latest/examples.html" rel="nofollow noreferrer">examples</a> , but I cannot configure the database since it is not deployed locally.
How am I supposed to configure the database now that it is deployed in the EKS? <br>
I did a little research but nothing helped so far.<br>
I am new to Kubernetes and Influx so maybe this is a simple issue , in any case any advice or tip would be appreciated.</p>

Flora Biletsiou
<p>Change your Influx Service type to <code>LoadBalancer</code> type would give you an external IP for your Influx instance, then you can connect to Influx with that IP from your Python code.
You can take a look <a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer" rel="nofollow noreferrer">here</a> and <a href="https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/" rel="nofollow noreferrer">here</a>.</p>
