Daniel Sali
04/01/2020, 12:09 PMJeremiah
04/01/2020, 12:31 PMregister
your flow with the server, which sends all the flow metadata and makes it appear in the UI and become available for action. You use Prefect Core’s Storage
classes to let the server know where the flows live - for example, you could store it locally in any folder you want, or in Docker, or cloud storage, etc. When it’s time to run the flow, the server sends the instruction to your agent, which loads the flow from storage and executes it. The advantage of this model is you never risk odd side effects from re-executing the DAG file.
In addition, there are some nice things we can do when you register the flow - for example, you can version your flows to automatically archive an old version and replace it with a new version.
Here is the server deployment tutorial, which will walk you through getting started with registering flows against the server / Cloud. Let us know if that’s helpful!Daniel Sali
04/01/2020, 12:36 PMThomas La Piana
04/01/2020, 3:40 PMPreston Marshall
04/01/2020, 4:38 PMGary
07/14/2020, 11:54 AM