https://prefect.io logo
s

Shuchita Tripathi

03/07/2022, 6:29 PM
i have installed prefect server on a VM in Azure. my code (flow) is in my local machine. can i register that flow with the prefect server running in VM? If yes, can you please let me know the steps? I have once completed the flow register in my local prefect server, but now installing on cloud.
k

Kevin Kho

03/07/2022, 6:30 PM
Yes you can. Just point the local machine to server by adding this to your local
config.toml
to point:
Copy code
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
And then you can have an agent and register and run from your local machine
s

Shuchita Tripathi

03/07/2022, 6:31 PM
the agent has to be local agent?
k

Kevin Kho

03/07/2022, 6:31 PM
No any agent can point to the Server now
s

Shuchita Tripathi

03/07/2022, 6:31 PM
ok. i'll try this
it worked. thank you!
👍 2
2 Views