# Deploying Julia on AWS Elastic Beanstalk

**URL:** <https://discourse.julialang.org/t/deploying-julia-on-aws-elastic-beanstalk/19215>\
**Category:** General Usage\
**Created:** [January 3, 2019, 12:00am UTC](https://discourse.julialang.org/t/deploying-julia-on-aws-elastic-beanstalk/19215 "2019-01-03T00:00:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seanny123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/seanny123/32/5271_2.png) [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Post date:** [January 3, 2019, 12:00am UTC](https://discourse.julialang.org/t/deploying-julia-on-aws-elastic-beanstalk/19215/1 "2019-01-03T00:00:55Z")

</div>

Given my difficulties [deploying Julia with AWS Lambda](https://discourse.julialang.org/t/creating-a-custom-julia-aws-layer-runtime/18166/13), I’m trying to deploy on Elastic Beanstalk. From what I understand, there appears to be two options for deployment:

1. Create a custom image using Packer.
2. Create a custom AMI somehow

However, I’m having a difficult time with either of these options. Has anyone in the community accomplished this?

---

<div class="post-metadata">

**Author:** ![Seanny123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/seanny123/32/5271_2.png) [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Post date:** [January 5, 2019, 3:27pm UTC](https://discourse.julialang.org/t/deploying-julia-on-aws-elastic-beanstalk/19215/2 "2019-01-05T15:27:08Z")

</div>

Ended up just deploying a Docker image. I thought this wasn’t possible, because I couldn’t get any basic REST server working in a docker container. However, this ended up being because I was hosting on `127.0.0.1` instead of `0.0.0.0`. There are very important differences between those two addresses!
