NoNodeAvailableException happening when connecting to cluster deployed on GCP

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Some ideas:

  • firewall?
  • elasticsearch is not bound to xx.xx.xx.9

May be share with us one of your elasticsearch node logs?