Hi Prefect Community, I have prefect server running with GraphQL. I also have an agent registered. How do I deploy my script as a flow to this server? I do have an
Agent ID
from the server. A little confused around this. TIA!
n
nicholas
11/06/2020, 12:27 AM
Hi @Saatvik Ramisetty - I'd recommend that you take a look at the Deployment Tutorial - it'll walk you through setting up your environment, starting your agent, registering your flow with Prefect Server and more! In addition, take a look at the Agents concept docs, which will help you understand the role of agents in the Prefect infrastructure. Last but not least, this Architecture diagram can help you understand the ways in which the various Prefect Server services interact with each other (and their roles!)
s
Saatvik Ramisetty
11/06/2020, 3:40 PM
Hi Nicholas! Thanks for pointing me to the resources. So if I have a a prefect server, graphQL and agent running on a remote machine, how can I deploy to it via my local machine?
Saatvik Ramisetty
11/06/2020, 3:40 PM
Is that possible or do I have to switch to Prefect Cloud
n
nicholas
11/06/2020, 3:45 PM
You'll need to set up your local machine's
~/.prefect/config.toml
to point to your remote server's Apollo Server, it'll look something like this:
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.