https://prefect.io logo
Title
k

Kristian Andersen Hole

12/05/2022, 9:49 PM
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

Kalise Richmond

12/06/2022, 12:04 AM
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

Kristian Andersen Hole

12/06/2022, 9:03 AM
And what about K8sJob, does it hold true for those? 🙂
t

Taylor Curran

12/06/2022, 1:04 PM
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