sark09/14/2020, 3:52 AM
it is local to the machine registering the flow, but for
it is local to the the machine of the agent?
Leonard Marcq09/14/2020, 5:14 AM
, which will serialize your flow and save it in
), which can only be retrieved and run by a local agent running on this same machine (https://docs.prefect.io/orchestration/execution/storage_options.html#local). On the other hand, the Environment defines how you want your flow to be run when it gets picked up by an agent, by default it is
which will run the flow locally (on the agent's side) in the same process; instead of say spinning up some infrastructure in which to run the flow. (https://docs.prefect.io/orchestration/execution/local_environment.html#overview). Given that you are trying to register and run your flows on different machines, you probably need to store the flow somewhere else (e.g. S3 or one of the other storage options) and whatever is running your flow will go download the flow they are told to execute by the agent.
sark09/14/2020, 7:57 AM