News for hackers. Stuff that matters.
Re:Removal of Heroku free product plans by knubie on Thursday August 25, 2022 @01:36PM (#32597127)
I have a production rails app that I've been thinking of migrating to Fly from Heroku. After reading the Turboku[0] docs, it seems that the process only migrates the rails app itself, and continues to connect to the Postgres database on Heroku. Is that right?

Are there any plans to "upgrade" Turboku or release a similar tool that makes migrating Heroku Postgres databases to Fly just as easy?

Re:Removal of Heroku free product plans by bradgessler on Thursday August 25, 2022 @02:04PM (#32597563)
You're correct! The tool stops short of migrating the database from Heroku to Fly. I'm actually going to start working on this soon. Here's what that will look like:

1. A doc will appear at https://fly.io/docs/rails/ that walks through how to move over a Heroku app, including the database. I'm going to start drafting this next week since I have a few SaaS apps running on Heroku that I want to move over.

2. If the docs are complicated and have lots of steps, I'll look into automating most of this process. I don't think I'll be able to 100% migrate Heroku apps to Fly without any intervention, but I do think moving over the app code, ENV vars, and database would be a pretty big win.

Re:Removal of Heroku free product plans by cnees on Thursday August 25, 2022 @03:37PM (#32598909)
I'm looking forward to this! It'll make moving from Heroku a lot easier. The other thing I'm looking for is a way to put a hard cap on spend so it doesn't feel risky to enter my credit card.
Re:Removal of Heroku free product plans by keehun on Friday August 26, 2022 @01:16AM (#32603608)
Hey, thanks for your warm outreach and help! I'm trying to use the https://fly.io/launch/heroku page to migrate my heroku application. I am already a paying customer for heroku, but I want to switch based on their direction.

I have authorized heroku access for fly.io page and yet no projects or applications appear in the last dropdown. Is there currently a known issue with this?

Re:Removal of Heroku free product plans by bradgessler on Friday August 26, 2022 @02:19AM (#32603922)
I can’t provide support here, but I can say next week I’m going to be cracking open the source code in that project to look into issues like this and figure out it I can’t get it to also move over the database.

If you post about this at https://community.fly.io/ others in the same boat as you and other folks from Fly will see this and give you a better response.

Re:Removal of Heroku free product plans by keehun on Friday August 26, 2022 @03:12AM (#32604172)
Thanks for your quick response! I was able to work around the broken Turboku form and also get my database migrated to fly.io with a bit of adjustment period with flyctl. Just closed out my last invoice with Heroku and closed my account!
Re:Removal of Heroku free product plans by bradgessler on Friday August 26, 2022 @02:00PM (#32610730)
Alrighty, I wrote some docs! https://fly.io/docs/rails/getting-started/migrate-from-herok...

That includes a section on migrating your Heroku DB :-)

Re:Removal of Heroku free product plans by knubie on Thursday August 25, 2022 @02:23PM (#32597852)
That’s great to hear! Thanks for the reply.