# Elixir Deployment Options

**URL:** <https://forum.elixirforum.com/t/elixir-deployment-options/289>\
**Category:** Discussions\
**Tags:** deployment, discussion\
**Created:** [March 29, 2016, 10:30am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289 "2016-03-29T10:30:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoegbo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hoegbo/32/1359_2.png) [@Hoegbo](https://forum.elixirforum.com/u/Hoegbo)\
**Post date:** [March 29, 2016, 10:30am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/1 "2016-03-29T10:30:27Z")

</div>

We are starting to wind down our local hosted cloud servers to go to something like heroic or similar.  
So in order to decide I would like some input of the awesomeness that is this forum.

Does anyone have any experience of elixir deployment to some of the major names ?  
Our applications range from trivial fire and forget apps , to heavy enterprise applications.  
What would you chose and why ?

* * *

Related thread: [Elixir Deployment Options - with GPU](https://forum.elixirforum.com/t/elixir-deployment-options-with-gpu/52697)

---

<div class="post-metadata">

**Author:** ![sashaafm](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/32/2636_2.png) [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Post date:** [March 29, 2016, 1:00pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/2 "2016-03-29T13:00:20Z")

</div>

I’ve got some experience in deploying Elixir and Phoenix apps in Digital Ocean and Amazon Web Services. The use case of both is quite different:

- DO: Very easy and friendly to deploy. Simple options. Cheaper in general than AWS. I’d recommend for small apps.

- AWS: Has many more options and features. Learning AWS can take a lot of time if you want to use it to its potential but it’s the way to go for large enterprise apps.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [March 29, 2016, 1:16pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/3 "2016-03-29T13:16:18Z")

</div>

What is your monthly spend?

Personally I would recommended dedicated servers.

---

<div class="post-metadata">

**Author:** ![Hoegbo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hoegbo/32/1359_2.png) [@Hoegbo](https://forum.elixirforum.com/u/Hoegbo)\
**Post date:** [March 30, 2016, 9:59am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/4 "2016-03-30T09:59:05Z")

</div>

My monthly spend would be around $14 for smaller apps  
to up to $100- $250 for the larger ones. Monthly.  
Database servers and backups are included.

These are Debian VM’s at the moment. but looking to find a more efficient home for the smaller applications that we hold for our customers.

---

<div class="post-metadata">

**Author:** ![sashaafm](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/32/2636_2.png) [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Post date:** [March 30, 2016, 10:03am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/5 "2016-03-30T10:03:02Z")

</div>

If for the small apps you just needs VM’s then I recommend Digital Ocean. However, remember that the data’s location should always be a concern.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [March 30, 2016, 12:36pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/6 "2016-03-30T12:36:39Z")

</div>

I would just get a dedicated server and run all your apps on it until you need another one. By the sound of it it could save you a lot of money.

---

<div class="post-metadata">

**Author:** ![rafadc](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rafadc/32/564_2.png) [@rafadc](https://forum.elixirforum.com/u/rafadc)\
**Post date:** [March 30, 2016, 1:55pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/7 "2016-03-30T13:55:21Z")

</div>

In terms of vps we all may know the classical names. What do you recommend for a dedicated server? I’m curious.

---

<div class="post-metadata">

**Author:** ![sashaafm](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/32/2636_2.png) [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Post date:** [March 30, 2016, 2:14pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/8 "2016-03-30T14:14:47Z")

</div>

Elixir runs pretty decently on your average Linux machine.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [March 30, 2016, 2:58pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/9 "2016-03-30T14:58:36Z")

</div>

I’m based in the UK, so look at low-cost European companies such as Leaseweb, Redstation, Hetzner, Rapidswitch etc

If you are in the US there are loads of dedicated server hosts there - I would look at reviews on [webhostingtalk.com](http://webhostingtalk.com) as I haven’t used a US host myself for a while now, but I know there are lots of low-cost suppliers as bandwidth in the US is cheap.

It really depends on your budget when deciding on what to go for, more usually means better service not necessarily better/bigger server.

In terms of OS - I would use CentOS as it has been rock solid for me for the last 7 years. If hosting multiple sites/email etc, use a control panel such as Webmin - it will make your life much easier 🙂

---

<div class="post-metadata">

**Author:** ![ckhrysze](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ckhrysze/32/11529_2.png) [@ckhrysze](https://forum.elixirforum.com/u/ckhrysze)\
**Post date:** [April 2, 2016, 7:27am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/10 "2016-04-02T07:27:59Z")

</div>

I’m also looking for advice here. Amazon’s RDS service is pretty expensive, but the ease of creating a database and a read replica is hard to beat. At the very least, I’d like a host that provides DB setup and backups.

Heroku has db backups according to the docs…but I haven’t used Heroku and actually needed it, so I’m curious how reliable that process is.

DigitalOcean has an auto installer for elixir; have folks found that it works fine?

Has anyone used Lets Encrypt successfully with any host? If so, with actual elixir based tooling, or just some more general solution?

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 2, 2016, 11:50am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/11 "2016-04-02T11:50:49Z")

</div>

What is your budget @ckhrysze?

---

<div class="post-metadata">

**Author:** ![sashaafm](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sashaafm/32/2636_2.png) [@sashaafm](https://forum.elixirforum.com/u/sashaafm)\
**Post date:** [April 2, 2016, 2:03pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/12 "2016-04-02T14:03:42Z")

</div>

I’ve heard bad things about the Elixir installer from Digital Ocean.

---

<div class="post-metadata">

**Author:** ![ckhrysze](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ckhrysze/32/11529_2.png) [@ckhrysze](https://forum.elixirforum.com/u/ckhrysze)\
**Post date:** [April 2, 2016, 3:01pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/13 "2016-04-02T15:01:26Z")

</div>

@AstonJ Ideally something under $50 a month while developing; full production would ideally be under $1000 a month. I have some rudimentary knowledge of the various skills typically labeled devops, but as the strongest on the team in that regard as well as being the lead developer, as little time spent with hosting is the larger concern for me.

---

<div class="post-metadata">

**Author:** ![Mandemus](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/m/a9adbd/32.png) [@Mandemus](https://forum.elixirforum.com/u/Mandemus)\
**Post date:** [April 2, 2016, 3:48pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/14 "2016-04-02T15:48:02Z")

</div>

> [@sashaafm](#):
>
> I’ve heard bad things about the Elixir installer from Digital Ocean

When I looked at the docs for it they were referencing a rather old version of Elixir. Not sure if that’s changed.

> [@AstonJ](#):
>
> Personally I would recommended dedicated servers.

Same here. I’ve used [http://datashack.net](http://datashack.net) in the past. Can get some impressive hardware for cheap. My last box was a 12 core 24gig machine for $60 a month.

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 2, 2016, 4:24pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/15 "2016-04-02T16:24:54Z")

</div>

How busy are the production sites? If a dedicated server like the one @Mandemus linked to would handle them then your company could be saving thousands.

Granted dedicated servers are a little more involved but you could hire a consultant to set them up for you and show you how to make daily back-ups, restore, add new domains/apps, emails, etc

I use a single (64GB) server for all of my personal sites - and they are in various languages; PHP (Wordpress and some of my forums) Ruby/Rails, Static HTML/CSS and soon Elixir/Erlang.

---

<div class="post-metadata">

**Author:** ![Calamitous](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/calamitous/32/541_2.png) [@Calamitous](https://forum.elixirforum.com/u/Calamitous)\
**Post date:** [April 2, 2016, 4:44pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/16 "2016-04-02T16:44:26Z")

</div>

Has anybody used [https://www.scaleway.com/](https://www.scaleway.com/)? They offer low-cost machines with SSD and ARM, I wonder how that plays with BEAM?

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [April 3, 2016, 12:01am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/17 "2016-04-03T00:01:16Z")

</div>

In theory, it shouldn’t matter if you have ARM or x86, take a look at the [nerves-project](http://nerves-project.org) which aims to run a fullstack elixir environment ontop of a minified linux kernel on one-board-computers. Also I already compiled erlang, elixir, node-js and phoenix from sourcce on my Raspberry Pi3 (driven by Raspbian), just to realize that node-js needs most time to compile among them. I can’t tell exact numbers, but erlang and elixir together took about 1.5h while I had to run node-js compilation overnight.

A first test of starting a fresh phoenix application was succesful, so that I want to do some further testing when I’m back home.

If you already have a domain or can buy one cheaply, the offers made by scaleaway could be used for first prototypes and then later on increasing the power of the platform and scaling horizontally as needed seems affordable.

I’d like to see some stresstesting as it was done with phoenix on that 40 core server in the 2 million connections test a couple of weeks ago…

---

<div class="post-metadata">

**Author:** ![Mandemus](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/m/a9adbd/32.png) [@Mandemus](https://forum.elixirforum.com/u/Mandemus)\
**Post date:** [April 3, 2016, 5:53am UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/18 "2016-04-03T05:53:37Z")

</div>

Linnode is one alternative to scaleaway. I do remember scaleaway mentioning somewhere that you can use them as an S3 compatible service.

A tiny SSD VPS is good if you want to just toy around and learn, but then so is running a HyperV/VMware linux instance on your local machine.

[http://serverbear.com/benchmarks/vps](http://serverbear.com/benchmarks/vps)

That is a popular vps benchmark site. Still, nothing will really beat a dedicated server if you’re serious about your app.

---

<div class="post-metadata">

**Author:** ![Hoegbo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hoegbo/32/1359_2.png) [@Hoegbo](https://forum.elixirforum.com/u/Hoegbo)\
**Post date:** [April 5, 2016, 6:28pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/19 "2016-04-05T18:28:24Z")

</div>

Did get a propper server ar a “local” to norway datacenter that has some certifications I need. (and are not too keen on maintaining myself)

Works like a charm 12 core 64 gb ram. centos(I thought I was using debian but was in fact centos)  
Using another one for the smaller apps and a small vm as a test server. Halved my costs. 🙂

---

<div class="post-metadata">

**Author:** ![AstonJ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/astonj/32/15_2.png) [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Post date:** [April 5, 2016, 6:34pm UTC](https://forum.elixirforum.com/t/elixir-deployment-options/289/20 "2016-04-05T18:34:26Z")

</div>

Nice :023:

Which host/datacentre did you end up with? How much are you paying for that server?

[Next page](https://forum.elixirforum.com/t/elixir-deployment-options/289.md?page=2)
