https://prefect.io logo
Title
m

Mikkel Antonsen

09/07/2021, 1:18 PM
I will not be able to expose prefect server to other machines on my network, have I understood that correctly? If start the backend on my computer, only agents on that computer will be able to register?
k

Kevin Kho

09/07/2021, 1:39 PM
Hey @Mikkel Antonsen, this is not right. You can expose Prefect server to outside connections and agents. You just need to make sure that the host compute accepts connections and that you use the
--expose
flag (for 0.15.5 and up)
This walkthrough should help you see the process.
m

Mikkel Antonsen

09/07/2021, 2:05 PM
Great, thanks Kevin!
k

Kevin Kho

09/07/2021, 2:19 PM
There was changes for security reasons so you need to explicitly do
prefect server start --expose
in Prefect 0.15.5. Maybe just use Prefect 0.15.4 first.
m

Mikkel Antonsen

09/08/2021, 6:31 AM
Sounds like a good security measure. Thanks for the help, seems like
--expose
isn't really documented anywhere.