jonericcook

jonericcook

Hello,

Im curious about what yall are liking these days for running your Elixir / Phoenix app with a PostgreSQL database. I found these three (gigalixir, fly.io and render.com) and am curious if anyone have any pros and cons about them.

Thanks!

Showing Posts 1 to 10

crispinb

crispinb

I’ve only tried fly.io, and even that not for anything in production, but can attest to its ease of use (and it’s apparently even easier now mix phx.release can create docker images for you: Chris McCord on X: "You can now deploy a Phoenix 1.6.4 app on @flydotio with `mix https://t.co/dKmeljW9k1`, `fly launch`. That's it! See it in action: https://t.co/mZLYGKhvSN" / X). They’re very responsive on their forum.

stefanchrobot

stefanchrobot

Digital Ocean’s App Platform:

  • Runs your Docker image,
  • PostgreSQL,
  • Provides S3-compatible storage if needed,
  • Remote console,
  • Basic graphs for the app and the DB (CPU usage, etc.).

I’m really happy with it. Switched from Render because of the graphs and more responsive remote console - but that was before Render introduced the free tier.

Once you package your app into a Docker image, switching a provider is not that hard.

jonericcook

jonericcook OP

I was looking to run on render.com for a little project. I was all excited about their free tier but then saw that the DB will stop after 90 days unless you upgrade it to a paid version.

jonericcook

jonericcook OP

The pricing for DO App is awesome. What is the cheapest DB you can add?

stefanchrobot

stefanchrobot

I’m using the cheapest one: $15/mo, 1GB mem, 10GB disk.

kaashyapan

kaashyapan

I am using AWS Lightsail. Managed DB, S3, containers, LB and CDN.
The nice part is that you can move to a more involved setup if you outgrow simple hosting.

I didnt choose DO because their S3(spaces) back then had some troubles.

sekun

sekun

Some things I remembered from trying those out.

Gigalixir

  1. Uses buildpacks, no Docker support
  2. No Asia region so if your customers are outside the US or EU, good luck with the LiveView latency.
  3. Has managed DBs

Render

  1. Has Docker support, no buildpacks
  2. No Asia region
  3. Has managed DBs

Fly

  1. Has Docker support. But as what others mentioned, deploying Phoenix doesn’t require you to fiddle around with Docker anymore!
  2. Has lots of regions
  3. Chris McCord is working there so that’s a massive win for Phoenix
  4. No managed DBs but they have options to spin a DB up. Although I think you have to manage it yourself, could be wrong now.
victorbjorklund

victorbjorklund

Kubernetes on Linode for both the app and the db because nice to not have any vendor lock-in. I played with fly.io and wow its very nice and easy. Much more expensive than linode but I would def consider them for any projects that need low latency across the world.

anuragg

anuragg

A couple of quick clarifications on Render:

  1. Our 90-day database free tier is temporary; we’re working on a perpetual free PostgreSQL tier that will replace the current offering.
  2. @stefanchrobot: we have graphs for CPU and memory (and conn counts for Postgres!) What were you missing? Re: the remote console, SSH is launching in early access this week, and native Redis is already in EA.
shd42

shd42

There was a discussion at the beginning of the year about this (over here), don’t know if you missed it, might find more information for what you’re looking for.

Personally, i still use Scalingo (5 years for any stack, 2 years with Phoenix). Never had any issue (nothing worth mentioning anyway). There not worldwide (well, not like the others, there getting there, you can make a request for access to US based datacenters), so that depends on what you’re looking for i guess. Deployment, managed databases, there close to what Heroku provides, but without a lot of their limitations (they provide a free small database instance to go along a container for testing).

Where Next? Top

Trending in Discussions Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
achempion
I’ve been using Emacs as my main code editor for more than a two years. It’s a custom build version although I’ve tried doom emacs and sp...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews