How to migrate from Shelly Cloud

Scalingo’s approach to Platform as a Service is closer to the Heroku model than the one from Shelly Cloud. It’s very easy to understand and you’ll be able to quickly migrate your Ruby on Rails project from Shelly Cloud to Scalingo.

In the following sections we’ll get through the different bits of configuration present in your Cloudfile and explain what to do on Scalingo to achieve the same.

Once you’ve read that, you could take a look at our more generic Getting Started with Rails page.

Even though we think this migration documentation is comprehensive enough, don't hesitate to contact our support to help you in the migration process.


Enabled by default for all projects, you don’t need to do anything special.

On Scalingo, you don’t need to specify the Ruby version “externally” to your project. Just declare the version of Ruby of your choice in your Gemfile and the platform will automatically install the right version.


Shelly Cloud uses two specific environment variables, Scalingo allows you to have any number of environment variables. If you want to add or remove some environment variables of your app, we suggest you to manage it from Scalingo dashboard “Mass edit” option. You can also do it by using our Command line client with the following commands:

  • scalingo -a myapp env-set MYVAR=myvalue
  • scalingo -a myapp env-unset MYVAR

More information about app environment can be found here.

Shelly Cloud allows you to have a “production” and a “staging” environment within the same app. On Scalingo, you will have to create as many apps as you need to simulate these environments, i.e using Scalingo CLI:

  • scalingo create myapp
  • scalingo create myapp-production
  • scalingo create myapp-staging
  • scalingo create myapp-production

You can manage your working environments and work in the same Git project, by adding corresponding remotes to your .git/config file, i.e:

  • git remote add scalingo
  • git remote add scalingo-production
  • git remote add scalingo-staging
  • git remote add myapp-production

Deploying your app on multiple environments:

  • git push scalingo master
  • git push scalingo-production master
  • git push scalingo-staging master
  • git push myapp-production master


To use your own domain on Shelly Cloud, you were used to add your domain to your Cloudfile. On Scalingo, you will have to add it either:

  • using our CLI -> scalingo -a my-app domains-add
  • or using our dashboard ->

For more informations about domains on Scalingo, take a look at our dedicated domain name management page.


SPDY is not yet available on Scalingo. If you need SPDY support, ping us on


Websocket is enabled by default for all projects, you don’t need to do anything special.


To configure your servers on Scalingo, you will have to configure your settings independantly. We will see each point of the sample Cloudfile below:





Databases on Scalingo are part of our addons collection.
Addons work with plans from 512MB (free tier) to 32G for a MySQL database addon for example.
You can add databases using:

  • using our CLI -> scalingo -a my-app addons-add scalingo-mysql
  • or using our dashboard ->


On Scalingo, process definition is done through the Procfile file (take a look at our dedicated Procfile page for more informations).

format: <container_name>: <command>

Cloudfile implementation:

  puma: 1

Procfile equivalent:

web: bundle exec puma -e $RAILS_ENV -p $PORT

Cloudfile implementation:

  thin: 1

Procfile equivalent:

web: bundle exec thin -e $RAILS_ENV -p $PORT

Cloudfile implementation:

    - "rake environment resque:work QUEUE=high"
    - "rake environment resque:work QUEUE=general"
    - "rake environment resque:work QUEUE=low_priority"

Procfile implementation:

worker_high: rake environment resque:work QUEUE=high
worker_general: rake environment resque:work QUEUE=general
worker_low: rake environment resque:work QUEUE=low_priority

You will then need to scale these workers to 1 at least (or more if you care about redundancy):

  • using Scalingo CLI ->
    • scalingo -a myapp scale worker_high:1
    • scalingo -a myapp scale worker_general:1
    • scalingo -a myapp scale worker_low:1
  • or using Scalingo dashboard ->

Related link: Ruby web server.


On Shelly Cloud, each of your servers is running a Memcache server. On Scalingo, you can use Redis to fill the same purpose.

Data migration from Shelly Cloud to Scalingo

To migrate data out of Shelly Cloud database to Scalingo ones, you can read our generic data migration guides:

There’s no specific migration guide for Redis database but you can follow the same logic written in the guides listed above. Furthermore, if your Redis is only used for cache data you may prefer not to transfer them, it will be simpler to rebuild them from your Scalingo app.

schedule 16 Feb 2016