# Best way to host a julia webapp?

**URL:** https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719
**Category:** General Usage
**Tags:** question, web, webapps
**Created:** [February 21, 2021, 2:17pm UTC](https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719 "2021-02-21T14:17:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jojo\_Dad](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jojo_dad/32/8620_2.png) [@Jojo\_Dad](https://discourse.julialang.org/u/Jojo_Dad)
#### Post date: [February 21, 2021, 2:17pm UTC](https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719/1 "2021-02-21T14:17:57Z")

</div>

I want to host a Julia webapp. But I would like to avoid having to use my own server on the Web. Are there commercial Website hosting services for Julia-based applications?

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [February 21, 2021, 3:25pm UTC](https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719/2 "2021-02-21T15:25:20Z")

</div>

You can probably host just about anywhere. I don’t know what’s best, I’m not even sure there are many differences, at least for Julia.

Proof: [Deploy Your Dash App | Dash for Julia Documentation | Plotly](https://dash-julia.plotly.com/deployment)

> [Dash Enterprise](https://plotly.com/dash/?_ga=2.249471751.1080104966.1578062860-1986131108.1567098614) is Plotly’s commercial product for deploying Dash Apps on your company’s servers or on AWS, Google Cloud, or Azure.

That’s if you use Dash.jl for frontend web, now with company support (Dash was originally, and still also is for Python, and is also for R). The guy, @waralex, who built Dashboard.jl is now behind Dash.jl.

I’ve seen a web app for Heroku (probably first place I saw used with Julia).

Here’s one example: [https://juliadash.herokuapp.com](https://juliadash.herokuapp.com) (uses older Dashboard.jl, I suppose Heroku still supported with Dash.jl). Note, you do not get your own domain, only a sub-domain, but that may just be the default. That’s free, and they provide e.g. PostgreSQL database that they set up for you, should be easy to use from Julia.

I found that example app from a tutorial [Deploying Julia projects on Heroku.com | by Kim Fung | Towards Data Science](https://towardsdatascience.com/deploying-julia-projects-on-heroku-com-eb8da5248134)

Another option for frontend is Stipple.jl and it builds on Genie.jl, @essenciary is the guy behind both. Genie.jl is for backend if you want to use that only, or both together.

See e.g. [Deploying to Heroku with Buildpacks · Genie - The Highly Productive Julia Web Framework](https://juliahub.com/docs/Genie/8eazC/1.15.1/tutorials/90--Deploying_With_Heroku_Buildpacks.html)

> This tutorial shows how to host a Julia/Genie app using a Heroku Buildpack.

and:

> [@Deploying Julia on Heroku - Buildpacks and PackageCompiler Failing](https://discourse.julialang.org/t/deploying-julia-on-heroku-buildpacks-and-packagecompiler-failing/44043/3):
>
> Nice workaround, although Docker on heroku takes a lot of time and doesn’t boot faster than buildpack. I tried the project and it does work with larger dyno (Standard 2X) not sure if the docker have the same memory limitation or not but I guess you use a more performant dyno as well

All the main so-called “clouds”, have support, see e.g. (and Amazon lambda):

> **[GitHub - JuliaCloud/AWS.jl: Julia interface to AWS](https://github.com/JuliaCloud/AWS.jl)**
>
> Julia interface to AWS. Contribute to JuliaCloud/AWS.jl development by creating an account on GitHub.

but it’s not clear you need any of the packages under that umbrella, these clouds are not just used with Julia for webapps, also distributed computing:

> **[AWS Marketplace: JuliaTeam](https://aws.amazon.com/marketplace/pp/prodview-cso735452jxle)**
>
> JuliaTeam makes it easy and safe for developers, data scientists and IT managers to install and manage public and private packages, adhere to enterpri...

I myself am just using one of the frontend webapp solutions above (and their dependencies), and not having to set up a server or anything, while Genie allows for Nginx. I’m not going to use a cloud so I’m somewhat ignorant of the possibilities, but feel free to fill me in.

---

<div class="post-metadata">

### Author: ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)
#### Post date: [June 29, 2021, 2:56pm UTC](https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719/3 "2021-06-29T14:56:01Z")

</div>

Hi @Jojo_Dad  
I was wondering if you made any progress with this?  
I looked into Heroku, but my slug size is too big (presumably because of Julia deps such as Conda, PyCall and the likes). So I was wondering whether you found an alternative solution.

---

<div class="post-metadata">

### Author: ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)
#### Post date: [July 1, 2021, 10:00pm UTC](https://discourse.julialang.org/t/best-way-to-host-a-julia-webapp/55719/4 "2021-07-01T22:00:35Z")

</div>

brief update: Azure web app (and probably its competitors just as well) works fine with Dash.jl and Docker, once configured properly.
