TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's Your Experience of Fly.io?

47 点作者 nabi_nafio超过 2 年前
If you have used fly.io, what is your experience of the service?

16 条评论

zknill超过 2 年前
I host my side project[0] on Fly.io using their &quot;not for production use&quot; LiteFS distributed SQLite database.<p>I&#x27;m currently still in the free-tier. But I&#x27;d be perfectly happy to pay for the product. It&#x27;s super easy to use, and the happy path of the cli tool is well designed.<p>The various configs for the fly.toml file could be better documented, as could some of the more advanced cli commands like sftp and ssh into your machine.<p>I think fly really shines when you design your app intending to run it close to users. If you just want to host an app, there are other hosting products. But fly is particularly good at hosting and scaling into different regions and presenting those regions as a single app. Trying to do the same on AWS is messy.<p>It&#x27;s also nice to see them investing in the database problems you get when trying to run at the edge. (Like the db being in one region, which defeats some of the value of running close to your users).<p>[0] <a href="https:&#x2F;&#x2F;packagemap.co&#x2F;" rel="nofollow">https:&#x2F;&#x2F;packagemap.co&#x2F;</a>
评论 #34233401 未加载
评论 #34235240 未加载
评论 #34234181 未加载
sergiotapia超过 2 年前
Not so good with databases, they even tell you: we aren&#x27;t a managed database provider. So careful there.<p>Very difficult to set up basic domains for your apps. An attitude of &quot;you solve it.&quot; It&#x27;s been two weeks and nobody from their support has bothered to help me with this fundamental setting. <a href="https:&#x2F;&#x2F;community.fly.io&#x2F;t&#x2F;for-your-phoenix-app-how-did-you-configure-nonwww-and-www-domains-in-your-dns&#x2F;9502">https:&#x2F;&#x2F;community.fly.io&#x2F;t&#x2F;for-your-phoenix-app-how-did-you-...</a> - other threads are similar, with some even saying &quot;use cloudflare&quot;?<p>_Too_ locked down. You can&#x27;t just connect to your database from the internet. Should be an option, I don&#x27;t really care about the security implications of it. Let me choose.<p>---<p>I&#x27;ve since moved my app to Render.com and it&#x27;s been really great for me as an indie startup founder. I focus on my app and not the plumbing. Fly felt too much like plumbing.
评论 #34235069 未加载
rozenmd超过 2 年前
Before fly, each additional user was costing me a non-trivial amount (I built an uptime monitoring service entirely on AWS Lambda). I managed to build a proof of concept in an afternoon and slowly move most of my architecture across in a week.<p>I wrote about the experience here: <a href="https:&#x2F;&#x2F;onlineornot.com&#x2F;on-moving-million-uptime-checks-onto-fly-io" rel="nofollow">https:&#x2F;&#x2F;onlineornot.com&#x2F;on-moving-million-uptime-checks-onto...</a>
评论 #34235486 未加载
boundlessdreamz超过 2 年前
Fly.io recommends an external DB provider. So it&#x27;s not batteries included if you are looking at deploying to production<p>Also fly.toml seems to be designed for a single image&#x2F;app from what i remember. What I mean is, I can&#x27;t configure redis, background job worker, web worker using a single fly.toml<p>I wish they would spend more time making fly.toml more like render&#x27;s monorepo support - <a href="https:&#x2F;&#x2F;render.com&#x2F;docs&#x2F;monorepo-support" rel="nofollow">https:&#x2F;&#x2F;render.com&#x2F;docs&#x2F;monorepo-support</a><p>Streaming SQLite is cool but as it stands for all my apps deploying on fly.io is very difficult.
评论 #34240285 未加载
评论 #34240279 未加载
评论 #34235289 未加载
joshxyz超过 2 年前
Great engineering team and content but I hate the fact that I have to use the cli to get things done, and there&#x27;s no clear guide to deploy and scale a simple hello world nodejs app without wrapping my head around images, containers, etc. i know it&#x27;s doable, but i did expect it to be more easy.
评论 #34230690 未加载
felixding超过 2 年前
Just moved our app (tourcandy.com) from Heroku to fly.io. The experience was not great.<p>The product is far less mature than Heroku and the pricing is confusing. For example, it took us 3 days to figure out how to run Redis properly (their integrated UpStash Redis has quite a few bugs. We ended up going with self-host Redis on fly.io). Besides, we have no idea on how the pricing would work when fly.io shows our app as one app but there are actually 3 processes running (web, Sidekiq and Redis).<p>The good part is it&#x27;s seems much cheaper. And because it has more edge nodes to choose from, it&#x27;s also much faster in our case.
评论 #34240209 未加载
kiru_io超过 2 年前
I have been using Fly.io for a few projects with Elixir and Phoenix (e.g. [0] )<p>The main advantage is, that I don&#x27;t have to worry about hosting and the simplicity of deploying Phoenix applications (I don&#x27;t know how well Fly.io works with other stacks).<p>The CLI is dead simple, and as with any other 3rd party services: if it works, you&#x27;re in heaven - if doesn&#x27;t you&#x27;re in hell.<p>The reason I went with Fly.io was the following:<p>- It&#x27;s pretty cheap (e.g. &lt;5$ is free), I have been using it for a few months, and just hit the 5$ limit<p>- It&#x27;s easy to migrate to a different service, if Fly gets expensive (again for my elixir &#x2F; phoenix projects)<p>- The community support is great!<p>Some improvements Fly.io could make:<p>- I had an issue with blocked ports on my side and ended up wasting half a day to figure out why certain commands worked and others didn&#x27;t. Again this is on my side. The error message could be better than saying: &quot;Error tunnel unavailable: failed probing &quot;personal&quot;: context deadline exceeded&quot;<p>- Once in a while the something is down ([1])<p>- The billing is not very clear (e.g. split by projects could be useful, then instead getting an overall usage)<p>[0] <a href="https:&#x2F;&#x2F;ogtester.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ogtester.com&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;status.flyio.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;status.flyio.net&#x2F;</a>
评论 #34235380 未加载
tmpfs超过 2 年前
I took it for a spin and got a Golang panic every time i tried to deploy a container.<p>Not a good impression of the service. I think some of their engineers are excellent and will check back again in a few years to see if it is stable.
sausagefeet超过 2 年前
We recently migrated from AWS to Fly.io. It is definitely different, more lean, but we have intentionally kept our stack simple so we are ok with that. We need a container and a PostgreSQL instance. And, for us, it&#x27;s a lot cheaper than AWS. We wrote a blog post about the experience.<p><a href="https:&#x2F;&#x2F;terrateam.io&#x2F;blog&#x2F;flying-away-from-aws" rel="nofollow">https:&#x2F;&#x2F;terrateam.io&#x2F;blog&#x2F;flying-away-from-aws</a>
vbrandl超过 2 年前
Maybe I did not use it as intended, but I have an app running on fly.io that exposed the metrics endpoint on another port as the webapp itself, so it is not publicly reachable. This app suddenly broke and I had to disable the metrics endpoint to get it running again. Since it is a toy project, I didn&#x27;t investigate further but internally everything worked fine (the healthcheck got the expected 200 response) but the routing of external requests just broke.<p>Also when building and deploying an image, some non-obvious and undocumented changes are made. My app generates version information based on the git repository state. The build process deletes (or ignores, I don&#x27;t know, never got an answer to my issue) the fly.toml file in the docker build context, which resulted in uncommitted changes and a &quot;dirty&quot; repository when building the app. My dirty workaround is to `git checkout fly.toml` in my dockerfile. It works but it isn&#x27;t pretty...
joseferben超过 2 年前
I started migrating my projects from Dokku to fly 4 months ago. It’s going great.<p>For new projects, I default to SQLite with Litestream. The only non-fly.io component I need is an S3 bucket.<p>The DX of the CLI and the config file are quiet good. Once an app is live with proper health checks, I find it quiet hard to take the app down by accident. They stage secret changes for instance.<p>I find the pricing to be straightforward and fair.<p>A week ago there was an issue with certificates, which they fixed in a few hours.
prohobo超过 2 年前
I created a repo for deployments alone, where I have directories for my different app fly.toml files and a script that deploys&#x2F;updates them all.<p>Fly is great in a lot of ways, magic even, but there are blind spots and you have to learn new methods of keeping everything &quot;in sync&quot;.
ackatz超过 2 年前
I use it for several personal projects (ex: Cyberfeed.io) and it costs me nothing because my spending is sub-$5. I really wish I could use it for work instead of ECS Fargate but it would be a nightmare cutting through the bureaucratic red tape. Maybe one day.<p>A lot of my projects are FastAPI&#x2F;SQLite in a Docker container and Fly seems to complement this well.
jaynetics超过 2 年前
Once set up it is fine. The setup felt a little more hands-on and idiosyncratic compared to Heroku or Scalingo. Moving a free tier app from Heroku to fly.io, I also noticed a few small details that Heroku had conveniently taken care of, e.g. installing only production dependencies by default.
surprisetalk超过 2 年前
I love fly.io! It has all the configurations you need without getting in your way.<p>Load balancing, geo-replication, canary deployments, and Postgres instances&#x2F;replicas &quot;just work&quot; out of the box.<p>Highly recommended!
RonaldOlzheim超过 2 年前
Can you give some more background info?<p>I found out about fly.io years ago but never used it. I think it looks great, but it could be more simple.