Ookma-Kyi

Ookma-Kyi

Free Phoenix hosting options?

I am learning Elixir and Phoenix at the moment. I would like to know where I can get free hosting for my open-source Phoenix app. I know Oracle Cloud has a free tier, but unfortunately. It seems there hasn’t been any availability for the past month for always-free apps. I read Fly.io had a free tier at one point, but they seem to have discontinued it. I beleive the only free option right now is Gigalixir but, it seems they delete your apps if you don’t deploy often. Any suggestions?

First Post!

codyjroberts

codyjroberts

Gcloud offers a free e2-micro VM. I’m sure other providers offer similar.

I will say that pay as you go on fly.io is pretty affordable for personal projects. They can shutdown and startup automatically with traffic.

Most Liked

sodapopcan

sodapopcan

If your bill amounts to $5 or less, Fly doesn’t charge you. Depending on your usage it often ends up being free.

derek-zhou

derek-zhou

I suggest to go with a cheap paid plan; more sustainable for both you and the hosting company: they made money off you and you see a bill and will use the resource wisely. Major hoster usually charge ~5 USD per month for the lowest plan, but there are even cheaper ones here:https://lowendbox.com/

BrightEyesDavid

BrightEyesDavid

https://northflank.com/ - 2 services/apps and an instance of PostgreSQL, in which you can have multiple databases, for free. I’m now a paying customer.

Also, https://www.koyeb.com/

You can use Phoenix’s production Docker method for both: Deploying with Releases — Phoenix v1.8.8

Last Post!

a3kov

a3kov

You would need to be careful about the resources: use only the right VM types, make sure total RAM/oCPU/storage volumes across all VMs doesn’t exceed the free plan allowance. It’s not very hard, but it requires to understand what you are doing.
You can also set alerts if your bill exceeds a certain amount, but I’ve never needed it.

Where Next?

Popular in Questions Top

vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement