# Deploying Julia on Heroku - Buildpacks and PackageCompiler Failing

**URL:** <https://discourse.julialang.org/t/deploying-julia-on-heroku-buildpacks-and-packagecompiler-failing/44043>\
**Category:** General Usage\
**Tags:** question, build, package-compiler\
**Created:** [July 31, 2020, 3:08pm UTC](https://discourse.julialang.org/t/deploying-julia-on-heroku-buildpacks-and-packagecompiler-failing/44043 "2020-07-31T15:08:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![markhalonen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/markhalonen/32/8053_2.png) [@markhalonen](https://discourse.julialang.org/u/markhalonen)\
**Post date:** [July 31, 2020, 7:32pm UTC](https://discourse.julialang.org/t/deploying-julia-on-heroku-buildpacks-and-packagecompiler-failing/44043/2 "2020-07-31T19:32:59Z")

</div>

I found a decent solution… a proxy server on Heroku that just forwards to an ec2 instance running the Julia server:

```julia
const express = require('express')
const app = express()
const port = process.env.PORT || 3000

var request = require('request');

app.use('/', function (req, res) {
    var url = "http://34.237.210.243" + req.url;
    req.pipe(request({ qs: req.query, uri: url })).pipe(res);
});

app.listen(port, () => console.log(`Example app listening at http://localhost:${port}`))

```

I have [https://saunasim.com/](https://saunasim.com/) setup all on AWS with load balancers for HTTPS. When it broke I got an expert on Upwork to help me and it still took an hour of clicking around the myriad of AWS services to fix it.

So I’m pretty happy with this solution and she’s live!!: [https://www.coilgunner.com/](https://www.coilgunner.com/)

---

_[View the full topic](https://discourse.julialang.org/t/deploying-julia-on-heroku-buildpacks-and-packagecompiler-failing/44043)._
