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 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
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
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
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
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews