Ryan Lattanzi08/18/2022, 2:49 PM
- which means the flow run will be executed in the same container that the agent is running - am i understanding that correctly?
Darin Douglass08/18/2022, 3:06 PM
project about an ecs task deployment target https://github.com/PrefectHQ/prefect-aws/issues/39, so hopefully changes will be visible there
Anna Geller08/18/2022, 3:09 PM
am 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 Lattanzi08/18/2022, 3:19 PM
), or we can use an EC2 instance for our agent and run flows on that same server (also using infra=
). 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 Geller08/18/2022, 3:23 PM
or 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)
Ryan Lattanzi08/18/2022, 3:35 PM
Anna Geller08/18/2022, 3:59 PM