Ecto connection error with gcloud postgres instance

Is your app and you db on the same instance? You probably want to try to internal IP in that case assuming they are at different addresses.