scouten
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and hosted on Heroku. I’m now rewriting that server in Elixir and looking for a suitable host.
The “server” is a daemon that periodically reads some public API data (local transit schedules) and remixes them into a format that is more suitable for a mobile client application I’m writing and places that data into a database. (The database will be hosted by Cloudant and is not part of this server.) The process is pretty lightweight.
I might take an occasional HTTP request, but that is about it.
Can you recommend a good host for such a service?
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
Other Trending Topics
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Aludel - LLM Evaluation Workbench
Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 7- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
AstonJ
I would always recommend a dedicated server if your budget can stretch to it - you just get so much more for your money.
Here are some other threads on the topic you might find interesting:
scouten
Dedicated hosting is serious overkill for the app I’m building. I’m surprised by the frequent references to Heroku; thought Elixir wasn’t supported there.
yurko
DO all the way, a simple app can be hosted on a 5usd droplet which is the price of a cheap shared host
DavidAntaramian
@scouten I don’t know how you got the opinion that Elixir wasn’t supported on Heroku. The Heroku platform is highly extensible through the use of buildpacks. The most common Elixir buildpack is the HashNuke distribution. Both at my previous company and my current company, we used this to deploy production-grade Elixir applications via the Heroku ecosystem.
Overall, there are reasons to not run a long-term production Elixir application on Heroku due to certain limitations of the infrastructure (like < 24 hour uptime guarantees, inviability of clustering, etc.), I recommend it for people who are looking to get off the ground with their first Elixir application. The limitations of Heroku need to be weighed against the requirements of the application. If you already have the NodeJS application running on the Heroku ecosystem, most likely it will meet the requirements of the Elixir version.
ibgib
By periodically, do you mean that it is an option to stop/start the server on some kind of schedule? If so, then perhaps this page for starting/stopping ec2 instances might be good for you. That page uses the CloudWatch events to trigger the start/stop of the ec2 instance, and it mentions a data pipeline method which is described in detail here.
I’ve never done this personally with AWS.
I do know, however, that if you need something that has a static IP address, then the reserved IP costs money even if the instance is not running (since it’s being reserved). It sounds like you’re only making an occasional outbound request, so that may not be relevant.
dom
Heroku should do the job just fine for your use case. The big limitation is that you can’t use distributed Erlang on it (since the dynos can’t connect directly to each other), but for a small app running on a single dyno, it doesn’t matter.
AstonJ
This Phoenix guide might also help:
http://www.phoenixframework.org/docs/heroku