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 ?
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.
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 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
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?
@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.
When I looked at the docs for it they were referencing a rather old version of Elixir. Not sure if that’s changed.
Same here. I’ve used 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.
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.
In theory, it shouldn’t matter if you have ARM or x86, take a look at the nerves-project 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…
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.