4 ms·
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 migrate
by knubie 4y ago
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?
- bradgessler 4y agoYou'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/ 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.
- knubie 4y agoThat’s great to hear! Thanks for the reply.
- cnees 4y agoI'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.
- keehun 4y agoHey, thanks for your warm outreach and help! I'm trying to use the https://fly.io/launch/heroku 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?
- bradgessler 4y agoI 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/ 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.
- keehun 4y agoThanks 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!
- bradgessler 4y agoAlrighty, I wrote some docs! https://fly.io/docs/rails/getting-started/migrate-from-heroku/ https://fly.io/docs/rails/getting-started/migrate-from-herok... That includes a section on migrating your Heroku DB :-)