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
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...
2977 94592 917
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...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
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
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
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

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews