heroku2scalingo: migrate from Heroku to Scalingo in a minute

October 02, 2015 - 5 min read
heroku2scalingo: migrate from Heroku to Scalingo in a minute

We’ve always promoted the fact that we’re utterly compatible with Heroku, from Procfile support to 12factor adherence (with a very nice environment variables management). We’re going one step further by releasing today a first version of heroku2scalingo, a tool to easily migrate your app from Heroku to Scalingo.

How does it work?

In this first release, the workflow is very simple:

  1. Read the environment variables list of your Heroku app by connecting to the Heroku API (we’ll ask your permission first)
  2. Create an app on Scalingo
  3. Checkout the source code
  4. Set the environment variables accordingly
  5. Push it on Scalingo

Voilà! You should then see your app live on Scalingo.

Usage

./heroku2scalingo name_of_your_heroku_app

Yep, that’s all!

Here is a sample output:

Roadmap

On the roadmap there’s a bunch of asthetic feaures that we’re thinking of. But the next big challenge will be about data migration (migrate your data from Compose/MongoLab/Heroku PG to Scalingo). A first milestone would surely simply do a dump/restore from our local workstation. Proper data management between Scalingo data stores will need a decent amount of work on our side because we’d like to do it in a clean manner to be able to do high level data operations on the platform (who’s saying “Big Fork Button”?).

Test it with your app

Get the latest version of heroku2scalingo. It’s only one binary file to download (thanks to Go) without any annoying extra dependencies to fetch.

Try it and tell us what you think about it: heroku2scalingo. You can open Github issues for example.

And of course, because we care about your privacy, it’s an open source app. Check the source code here. As usual, it uses our documented public API to communicate with Scalingo’s platform.

The Scalingo API bindings have been externalized in the go-scalingo package. Interfacing with the Scalingo API using the Go language is even easier and a go get away :) And BTW this component is shared between our CLI and heroku2scalingo.

Share the article
Yann Klis
Yann Klis
Yann Klis co-founded Scalingo. Scalingo's vision is to offer a european sovereign cloud housting platform for developers. Today Scalingo hosts thousands of web applications from customers located all over the world. Before that Yann founded Novelys a web studio specialised in Ruby on Rails technology.

Try Scalingo for free

30-day free trial / No credit card required / Hosted in Europe