1

I have an app that uses Flash, MariaDB, and Python which I currently host on Digital Ocean. I am planning to move to Heroku for scalability purposes, but I am unable to find any resources online talking about the process of migrating data from Digital Ocean to Heroku. Can anyone explain the process? Thanks

Aryan-Jain
  • 65
  • 5
  • Heroku comes with a lot of limitations (ephemeral file system, daily restarts, no ssh). If I were you I would just move to another VPS provider. Heroku is more suited if you want your users to deploy their own instance. – Tin Nguyen Feb 10 '21 at 08:27

1 Answers1

0

Heroku provides Dynos (application runtime) and Add-Ons (databases and other tools).

First create a Dyno (it can also be free) and deploy your Python application (you can push the code from Git or create a Docker image for the Heroku Docker Registry).
Then enable the MariaDB add-on to setup your storage (there is a free plan here too, check if this is suitable in your case).

You need to provide the MariaDB connection string as environment variable, this is explained here

Finally it is a good idea to use Config Vars for all environment variables that your application might need (ie tokens, secrets).

Beppe C
  • 11,256
  • 2
  • 19
  • 41
  • Can you please take a look at the following question:https://stackoverflow.com/q/66858780/9409877 – HKS Mar 30 '21 at 09:28