Hey there! Total noob question, but I'm having tro...
# ask-community
j
Hey there! Total noob question, but I'm having trouble finding what I'm looking for elsewhere. Hypothetical: I have five servers running Prefect agents (A, B, C, D, E) all connected to one Prefect Server (F). I write five different Python scripts to run on the different agent servers. Do those scripts need to get loaded onto the five different agent servers (A-E,) or do they all get loaded to the Prefect Server (F) which will then magically run each script on whatever agent machine I specify? Basically, will I have to create a deployment pipeline that drops scripts in one location, or five locations?
z
you can use the same storage for all of them. Storage tells prefect wherre the code lives. The agents pick up the flow based on matching lables. E.g. if you have “dev” on your agent and “dev” on your flow, the “dev” agent will run that flow.
j
This is great - thanks, Zach!