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

AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
New
cblavier
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...
515 12931 101
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
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
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
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
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews