Live data from Hacker News

Migrating from AWS to Fly.io

terrateam.io

51–60 of 189 posts

Re: Migrating from AWS to Fly.io

#51
post #48

I've migrated several services from GCP to Fly.io, and I've been very happy with Fly. All of my apps are low-volume hobbyist web apps that run on a single machine, so I don't do any Terraform, k8s, or Postgres, so my use case is a little simpler than OP. My biggest complaint has been with outages,[0, 1, 2] but that's gotten better. The original architecture meant that larger servers could evict other users' running s…

You probably had a different community experience than recent folks. We've grown like 4x in the last 3 months and haven't kept up with community as well as I'd like (because hiring). And over holidays, we've had a difficult time with email support as well. It'll get better, but it's not great right now!

Re: Migrating from AWS to Fly.io

#52
post #5

Earlier quoted context omitted.

I saved about 25% from Heroku, but fly is much less reliable. I've had TLS certs expire without warning and redis has timeouts

do they claim to warn about TLS certs and pending expiration? (i haven't found that in docs anyway)

With Heroku, I never had to think about expiring certificates. With FlyIO, my app was down for 4 hours and I only new about it because of 3rd party uptime monitoring.

Here are a few support issues with this problem:

https://community.fly.io/t/ssl-certificate-did-not-renew-aut...

https://community.fly.io/t/certificate-expired/9143

https://community.fly.io/t/ssl-cert-expired-and-did-not-rene...

Re: Migrating from AWS to Fly.io

#53
post #47
post #24

I'm not sure this is well-known enough yet - fly now supports scale-to-zero services using fly machines - https://fly.io/docs/machines/

I've been trying fly machines with terraform and running into one bug after another: https://github.com/fly-apps/terraform-provider-fly/issues/12... https://github.com/fly-apps/terraform-provider-fly/issues/12... https://github.com/fly-apps/terraform-provider-fly/issues/12... I was really excited since fly seems dead simple, but I haven't gotten it running yet...

The Terraform provider was a one off project from the community. We haven't really focused on it in earnest yet, unfortunately. We ended up sponsoring it, but until we get Fly apps off Nomad I don't think we'll have the best terraform story.

Re: Migrating from AWS to Fly.io

#54
post #11

Earlier quoted context omitted.

https://fly.io/docs/postgres/ It isn't "Managed Postgres," but the differences are minimal. RDS is ultimately a solution for people who look in the mirror and confidently say "you don't know how to run a database."

> RDS is ultimately a solution for people who look in the mirror and confidently say "you don't know how to run a database." I think this is a terrible oversimplification and something tells me that you haven't had to deal with a complex database setup from an operations perspective. RDS reduces a huge overhead in terms of operations (ha, backups, upgrades and clustering being the first ones that come to my mind). Be…

...or their primary job has being dealing with a complex database setup and hasn't had to juggle that along with intensive application design.

Count me as someone who confidently doesn't know how to run a database and doesn't really care to. At least not at a level where someone would hire me to do it in production.

Re: Migrating from AWS to Fly.io

#55
post #24

I'm not sure this is well-known enough yet - fly now supports scale-to-zero services using fly machines - https://fly.io/docs/machines/

Does scale to zero work with ordinary fly apps yet?

No, ordinary Fly apps (what we call v1 apps) are managed by nomad. They don't scale to zero. You can create a machine based app and it'll scale to zero just fine, but you lose most of the magic of `fly deploy` right now.

Re: Migrating from AWS to Fly.io

#56
post #42
post #37

Earlier quoted context omitted.

Here’s the forum thread I made about the issue. https://community.fly.io/t/how-is-edge-routing-determined/96... Traces and ISP involved are in there. Thanks for looking into it! Edit: I just double checked and it's still the same route to the east coast as posted in the thread

Ah, thanks. We'll chase it down. We got a little behind over the holidays.

I really do appreciate it. Is there any way Fly could detect this? I know geo IP isn’t perfect but it seems like it could help you track this stuff by allowing you to compare edge location to the users location.

Re: Migrating from AWS to Fly.io

#57
post #27
post #5

Earlier quoted context omitted.

I saved about 25% from Heroku, but fly is much less reliable. I've had TLS certs expire without warning and redis has timeouts

Did we diagnose the TLS certs expiring? This is most often something like a CAA record that fails invisibly. We're not very good at notifying you of these kinds of issues, but certs should always renew when the config remains good. People who proxy through cloudflare hit this a lot, unfortunately.

CF is my DNS. Not sure if I had the proxy enabled. I was able to re-configure everything and it started working. I made a reminder to check around the 65 day mark to see if it successfully renews.

I suspect what may have caused the issue is I have multiple fly hosts on subdomains, but each subdomain had a wildcard certificate against the root (*.example.com).

Re: Migrating from AWS to Fly.io

#59
Fly is great. I know the Fly team has an aversion to it but I really just wish they would hire some database folks and take on managed Postgres. I'm already running 8+ apps on there and it would be the peace of mind needed to move the rest across… one day.

Re: Migrating from AWS to Fly.io

#60
post #21
post #5

Earlier quoted context omitted.

I saved about 25% from Heroku, but fly is much less reliable. I've had TLS certs expire without warning and redis has timeouts

> redis has timeouts I see closed connections on low traffic redis connections - for now a dumb catch-and-reconnect is doing ok

This was the problem I was experiencing:

https://community.fly.io/t/redis-socketclosedunexpectedlyerr...

Taking this thread's advice, I started self-hosting on flyio and have only seen 1 timeout in ~2 months.

Post reply on HN