https://prefect.io logo
Title
b

banditelol

02/27/2021, 5:12 AM
Hello, I've used prefect for single node server for 3 months now lets call it B, currently I want to deploy a new small server in different region (lets call it S) and I want S to only accountable for newwer flows and I could still monitor it from the same prefect UI (hosted in B). What configuration should I do to each server? Can anyone point me to documentation for this case? Thank You!
a

Amanda Wee

02/27/2021, 6:01 AM
If you go to the /home URI on your prefect UI, you can change the server that it points to, but it doesn't seem terribly convenient to me to keep switching. I wonder if it would suffice to have a prefect agent in region S instead.
j

John

03/07/2021, 6:56 AM
@Amanda Wee thanks for that info. i must be missing something obvious but i can’t find where in the cloud UI to change the server address. you mind posting a screenshot?
a

Amanda Wee

03/07/2021, 8:50 PM
If you go to /home on your prefect UI, you will see this:
Under "Connecting your infrastructure", click on "Prefect Server". You will then see "2. Connect the UI", and from there you can change the endpoint. Another way would be to provide the URL when starting the UI, but then you wouldn't be able to switch on the fly. But as I suggested earlier, it might suffice to have a prefect agent in region S instead of setting up a prefect server in region S. That way, your UI will connect to a single endpoint, i.e., the prefect server in region B that both the agent in region B and the agent in region S poll.
j

John

03/08/2021, 1:20 AM
super helpful—thanks!