# Julia + Docker + AWS DevOps Workflow

**URL:** <https://discourse.julialang.org/t/julia-docker-aws-devops-workflow/109459>\
**Category:** General Usage\
**Tags:** question, package-compiler\
**Created:** [January 30, 2024, 4:37pm UTC](https://discourse.julialang.org/t/julia-docker-aws-devops-workflow/109459 "2024-01-30T16:37:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [January 30, 2024, 4:37pm UTC](https://discourse.julialang.org/t/julia-docker-aws-devops-workflow/109459/1 "2024-01-30T16:37:53Z")

</div>

I have a task, written in Julia, that I manage using Fargate. My current workflow is:

1. Write some code in my project directory
2. Deploy using Serverless to wrap up a Docker container and push to ECS
3. Kick of the task from a step function

My trouble is that I need to use an AWS image to make credential handling easy, but that requires downloading and installing Julia and installing and precompiling my project environment on every deployment. This obviously takes a non-negligible amount of time and slows my iterations down.

I’d love to have a premade image with a PackageCompiler.jl sysimage created with my dependencies that just picks up my latest project code and runs it. I’d additionally like to automatically rebuild the image if there are changes to my `Project.toml`. I can think of some ways to do this, but before I go reinventing the wheel, I was wondering if someone had already walked this path and had any wisdom to share.

---

<div class="post-metadata">

**Author:** ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)\
**Post date:** [January 30, 2024, 6:50pm UTC](https://discourse.julialang.org/t/julia-docker-aws-devops-workflow/109459/2 "2024-01-30T18:50:18Z")

</div>

> [@mrufsvold](#):
>
> requires downloading and installing Julia and installing and precompiling my project environment on every deployment. This obviously takes a non-negligible amount of time and slows my iterations down.

That’s my experience as well

> [@mrufsvold](#):
>
> I can think of some ways to do this

Please share what you come up with.

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [April 8, 2024, 3:56pm UTC](https://discourse.julialang.org/t/julia-docker-aws-devops-workflow/109459/3 "2024-04-08T15:56:52Z")

</div>

[[RFC] Cloud+Container Infrastructure Management - Package Announcements - Julia Programming Language (julialang.org)](https://discourse.julialang.org/t/rfc-cloud-container-infrastructure-management/112685)

Put my thoughts together in this post. I’m hoping I’ll get some feedback before going down this route, but @Jeff_Emanuel , you can follow progress at there.
