mikesax

mikesax

Pros and cons of Render.com vs Fly.io?

Render.com’s upcoming scalable (managed) Postrgres looks really nice. Are there any downsides / challenges with hosting a Phoenix app on Render instead of Fly.io?

Most Liked

jakobsen

jakobsen

I haven’t tried Fly.io, but I have deployed a small application to Render and found it very easy. I’m simply using this small shell script to build the application and I’m using their Postgres offering with no problems:

#!/usr/bin/env bash
set -o errexit

# Install dependencies
mix deps.get --only prod

# Compile assets
MIX_ENV=prod mix compile
MIX_ENV=prod mix assets.deploy

# Create release
MIX_ENV=prod mix release --overwrite
theodore

theodore

Render - much easier to setup, can deploy via git push, more expensive
Fly.io - setup process is buggier and frustrating, have to manually deploy new changes, but much cheaper + works well with Phoenix LiveView

I normally use Fly.io, but I switched to Render because I could not get flyctl to deploy my app at all. Overall, both are pretty good once your app is running in prod.

iandouglas736

iandouglas736

For transparency, I work at Render.

Thanks to @theodore and @jakobsen for sharing your experience with Render!

We do deploy from a git repo (github, gitlab, bitbucket), and we also have a few infrastructure-as-code options, such as our blueprints, and recently open sourced a Terraform provider as well.

I’m pretty new to Elixir, but if there’s anything I can help with about the platform, let me know!

Where Next?

Popular in Discussions Top

owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
crispinb
On reading dhh’s latest The One Person Framework it strikes me that Phoenix with LiveView is already pretty much this. However, never hav...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
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
chulkilee
Here are the list of HTTP client libraries/wrappers, and some thoughts on HTTP client in general. I’d like to hear from others how they w...
New
joeerl
I’m playing with Elixir - It’s fun. I think @rvirding does give Elixir courses these days. Re: files and database - when I given Erlang ...
New

Other popular topics Top

marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
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
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 53690 245
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39297 209
New
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
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
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 47930 226
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement