Xavier Babu
10/31/2022, 3:37 PMNate
10/31/2022, 4:06 PMPREFECT_API_URL
and PREFECT_API_KEY
environment variables are set
• the place your agent is sending your work (which could be the same environment you're running your agent in) has all the python dependencies your flow needs to run
so in your case, you could have a VM for your prefect orion server and another VM for an agent (or many agents), or you could have both processes on the same machine - its up to you!
it might make things easier to manage if you run your deployments in a DockerContainer, since then you don't need to worry about your agents' linux process having all your different projects' python dependencies installedXavier Babu
10/31/2022, 4:09 PMXavier Babu
10/31/2022, 4:40 PMXavier Babu
10/31/2022, 4:40 PMNate
10/31/2022, 4:50 PMprefect deployment build flow.py:my_flow -n DeploymentWhoseCodeLivesInGitHub --storage-block github/my-github-repo-block-name ...
Xavier Babu
10/31/2022, 4:58 PM