Hi all, Now that I have my flow running on a loca...
# prefect-server
r
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
Hi @Riley Hun - when you mention the Cloud, you mean a cloud-hosted version of Prefect Server, is that correct?
r
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
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
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
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
Ahhhh got it! I did that step on the VM instance 🤦
n
No worries! Networking is a pain!
😅 1
r
Many thanks again - I'll give it a shot! Excited to productionize my first flow :)
🚀 1
😄 1