Ryan Lattanzi
08/18/2022, 2:49 PMProcess
- which means the flow run will be executed in the same container that the agent is running - am i understanding that correctly?Darin Douglass
08/18/2022, 3:06 PMprefect-aws
project about an ecs task deployment target https://github.com/PrefectHQ/prefect-aws/issues/39, so hopefully changes will be visible thereAnna Geller
08/18/2022, 3:09 PMam i understanding that correctly?yes you do! the idea here is that you have one container and one agent/work queue per project and this project can have multiple flows with shared dependencies i.e. one project = one repo = one ECR image = one ECS agent/work queue possibly tagged with the project name and project name as work queue and multiple flows running in a Process within that conatinerized process
Ryan Lattanzi
08/18/2022, 3:19 PMProcess
), or we can use an EC2 instance for our agent and run flows on that same server (also using infra=Process
). both will pretty much achieve the same thing it seems - low latency for deploying flow runs and not super compute intensive especially if our flows are pretty lightweight.
makes sense! thank you!Anna Geller
08/18/2022, 3:23 PMor we can use an EC2 instance for our agent and run flows on that same server (also using infra=if you have an agent on EC2, you can also use DockerContainer infra block since EC2 can run both subprocesses and docker containers)Process
Ryan Lattanzi
08/18/2022, 3:35 PMAnna Geller
08/18/2022, 3:59 PM