https://prefect.io logo
Title
h

Hamzah Iqbal

06/26/2020, 1:44 PM
HI, I am a little confused as to how the agent works? How do the different agents differ? I have read the medium blog on deploying the [server] (https://medium.com/the-prefect-blog/prefect-server-101-deploying-to-google-cloud-platform-47354b16afe2). But from what I understand, we need the agent running for the scheduled tasks to run?
c

Chris White

06/26/2020, 1:57 PM
Hi @Hamzah Iqbal - you might gain some insight from our documentation, for example: https://docs.prefect.io/orchestration/agents/overview.html The execution model of Prefect is very modular and unique in order to satisfy our early customers’ security needs, as described here: https://medium.com/the-prefect-blog/the-prefect-hybrid-model-1b70c7fd296
:upvote: 2
h

Hamzah Iqbal

06/26/2020, 4:28 PM
@Chris White Thank you for the links. I also tried going through the GCP setup on the medium article. There were two parts that keep failing 1. pip needs to be installed before running the updates 2. I had to install distutils before installing pip 3. The
pip install .
command failts. I could not figure out what was wrong and stopped there
c

Chris White

06/26/2020, 4:39 PM
it sounds like you might be getting ahead of yourself attempting to deploy the full API to the Cloud; I highly recommend one of the following paths (just to get started): - locally hosted API: run
prefect server start
and register / run a few flows on your local laptop. This will give you some insight into how all the pieces fit together - register for a free Prefect Cloud account (https://cloud.prefect.io/): this will allow you to focus on register / running Flows through agents without worrying about the complexities of networking / hosting an API yourself. This will also allow you to run your Flows in the cloud much easier
đź‘Ť 1