Hello, Prefect community! I have a question. I’m c...
# ask-community
k
Hello, Prefect community! I have a question. I’m considering using ECSTasks for my execution layer setup, but wanted to verify something first. From www.prefect.io/guide...#NewDockerdeploymentexperience
If your deployment defines
-ib docker-container/prod
and doesn’t specify any remote storage block, Prefect will assume that the flow code is baked into the image.
Does this hold true for
-ib ecs-task/prod
as well?
aws 1
k
Hi @Kristian Andersen Hole I don't believe that is true for the ecs-task. I think you need to specify a storage location for the ecs infrastructure block. https://docs.prefect.io/concepts/infrastructure/#ecstask
k
And what about K8sJob, does it hold true for those? 🙂
t
Hi Kristian, Emil wrote a tutorial in Prefect recipes that explains a few image storage options that you have in ECS or k8s jobs 🙂 I wonder if this would help? https://github.com/PrefectHQ/prefect-recipes/tree/main/devops/deployments/docker
🙌 1
👏 1