https://prefect.io logo
Title
b

Bivu Raj

07/14/2020, 6:10 PM
First of all, hello to everyone. Secondly, how do i start prefect server on a remote server like 192.168.4.67:8080 rather than localhost? Also, how do i register a flow to that particular server rather than locally? thanks
z

Zachary Hughes

07/14/2020, 6:14 PM
Hi @Bivu Raj! You'll want to spin up server on your remote machine in much the same way, but with a few config tweaks. The link below is oriented towards GCP, but the steps should hold true whether your remote location is AWS, Azure, or an on-prem data center. https://medium.com/the-prefect-blog/prefect-server-101-deploying-to-google-cloud-platform-47354b16afe2
b

Bivu Raj

07/14/2020, 6:28 PM
Thank you so much @Zachary Hughes
z

Zachary Hughes

07/14/2020, 6:28 PM
Sure thing! Let us know if you have any additional questions.
b

Bivu Raj

07/16/2020, 2:09 PM
@Zachary Hughes how do package dependencies work? Like if i have an internal package on version x.y.z and update to x.y.z+1, what would be the way to resolve that without bringing the agent down? Thanks
z

Zachary Hughes

07/16/2020, 2:11 PM
Hi Bivu! Is this for dependencies for the flows you're running?
b

Bivu Raj

07/16/2020, 2:16 PM
yeap
z

Zachary Hughes

07/16/2020, 2:18 PM
Okay, great. If you want to change dependencies for your flow, you can specify them using one of the methods in the link below. Once you're reregistered your flow, there's no need to touch the agent-- it'll pick up the new flow with no intervention. https://docs.prefect.io/orchestration/recipes/deployment.html#dependencies
b

Bivu Raj

07/16/2020, 2:33 PM
let me try that. thanks Zach !!
🎉 1