Quick question regarding the new open-sourced ui server 🙌
What ports and services should be facing the external world (if I was deploying this in some out of premises server or cluster)?
The
ui:8080
is obvious, but I could not make it work without adding
graphql:4201
too, and I am not sure if that’s safe…
👀 1
d
Dylan
04/23/2020, 7:43 PM
Hey David, I’m double-checking our documentation give me one moment
👍 1
Dylan
04/23/2020, 7:58 PM
Hey @David Ojeda,
When using Prefect Server, make sure you’re deploying in a secure network. You should not expose your API to the outside world, only within your trusted network.
Like most workflow engines (airflow, etc) we can’t know how people are going to deploy, so we don’t take a stance on how to authenticate.
Dylan
04/23/2020, 7:59 PM
The ui (port 8080) and the apollo (port 4200) ports both need to be exposed externally to the docker network for use
Dylan
04/23/2020, 8:00 PM
If you need more authentication out of the box, take a look at Prefect Cloud, which comes with a full suite of authentication tools (add team members, generate auth tokens , etc)
d
David Ojeda
04/23/2020, 9:20 PM
All right thanks @Dylan… I think I mixed up on my side and I wanted to say 4200 instead of 4201
Thanks for the input and advice on these security considerations. I was looking forward to connect through some exposed ingress service, or at least a port forward (i am using k8s). I think that after your input, I’ll go for the latter.
I know that cloud will probably be more adapted for our needs but we are on a limited budget (for the moment!)