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
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
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
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!
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









