Levi Leal
01/29/2021, 4:45 PMprefecthq/prefect:all_extras
.
The entrypoint is ['sh', '-c'].
and the Command is '`['prefect agent local start']`Zanie
prefect agent docker start
fails? Presumably this is because ECS is running a docker container and then you are trying to run docker within that container which is ‘docker-in-docker’ which is possible but not generally a good pattern (and not setup in the prefecthq
images)Levi Leal
01/29/2021, 4:59 PMZanie
Levi Leal
01/29/2021, 5:15 PMprefect agent ecs start
it "spawns" the agent on my local machine. We need this agent to be on the private VPC.
We already identified that it is possible to run a EC2 instance and then start the agent using the cli, but we'd like to avoid using EC2.
This is the reason we're trying to use ECS + fargate. Maybe this is the wrong approach, and using EC2 inside the VPC is the best way, we don't know yet.
What would you recommend on this situation?Zanie
Levi Leal
01/29/2021, 5:18 PMZanie
Brandon
01/30/2021, 7:27 PM