Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hosting for erlang application

Tags:

erlang

hosting

Is there erlang hosting anywhere?

like image 696
0xAX Avatar asked Mar 09 '11 10:03

0xAX


4 Answers

You can also use Heroku? The build pack is here: https://github.com/heroku/heroku-buildpack-erlang And a sample app and configuration here: https://github.com/6/heroku-erlang-example

Hope this helps.

like image 89
theprogrammer Avatar answered Nov 04 '22 22:11

theprogrammer


I think that the best that you'll be able to do is to get a VPS where you can install Erlang.

There don't appear to be any dedicated Erlang hosting services.

like image 21
Ezra Avatar answered Nov 04 '22 23:11

Ezra


You don't necessarily need to deploy Erlang on the target machine, what you can do is deploy your application as self-contained release (releases are an actual concept http://www.erlang.org/doc/design_principles/release_structure.html). That means you build your application on a machine that has the Erlang version installed you want to use, e.g. your CI server, and generate a release of your application. The release brings the Erlang runtime (ERTS) and all libraries it needs from your build server with it (the build and target architecture should be the same) and when you use rebar even a startup script.

Basho's rebar tool simplified generating releases quite a bit (see https://github.com/basho/rebar). If you use rebar your application has to be OTP compliant (see link about releases).

One disadvantage of this approach is that your release, compared to your actual application, can be quite big. But you also can experiment with multiple versions of Erlang and don't need build tools for Erlang on the target machine.


Edit:

The future of hosting Erlang applications for high performance will most likely be:

Erlang on Xen

which runs Erlang on an hypervisor without operating system underneath.

like image 14
Tilman Avatar answered Nov 04 '22 22:11

Tilman


I usually rent EC2 instances and install erlang over there.

like image 13
user425720 Avatar answered Nov 04 '22 21:11

user425720