https://prefect.io logo
Title
r

Riley Hun

08/14/2020, 5:18 PM
Hi all, Now that I have my flow running on a local server working beautifully, I would like to transition to the Cloud. I already have a remote server up and running on compute engine on GCP. So what are the next steps for registering a flow to a remote Prefect Server hosted on GCP? I should also add that I have my flows stored as docker images on GCS. Thanks in advance.
n

nicholas

08/14/2020, 5:19 PM
Hi @Riley Hun - when you mention the Cloud, you mean a cloud-hosted version of Prefect Server, is that correct?
r

Riley Hun

08/14/2020, 5:20 PM
Yup that's right @nicholas . Actually, I was using your tutorial to accomplish this [1] [1] https://medium.com/the-prefect-blog/prefect-server-101-deploying-to-google-cloud-platform-47354b16afe2
n

nicholas

08/14/2020, 5:21 PM
Got it! Then the steps in that should still apply, with the exception that the UI now allows you to input your Server GraphQL endpoint directly on the Home page. We have a ticket open to configure a default via environment variables.
r

Riley Hun

08/14/2020, 5:52 PM
So do I have to SSH into the VM each time I want to register a flow. Or can you register to a remote server locally?
n

nicholas

08/14/2020, 6:01 PM
You should be able to set your local
~/.prefect/config.toml
server.endpoint
to point to your machine (it's the last step of the article you linked)
r

Riley Hun

08/14/2020, 6:04 PM
Ahhhh got it! I did that step on the VM instance 🤦
n

nicholas

08/14/2020, 6:05 PM
No worries! Networking is a pain!
😅 1
r

Riley Hun

08/14/2020, 6:05 PM
Many thanks again - I'll give it a shot! Excited to productionize my first flow :)
🚀 1
😄 1