- Heroku
Hosting apps with Heroku will be discussed in detail.
Now that we have a Gunicorn application, we can host it in the cloud using .
Python is one of the core languages supported by this cloud environment. The great thing about using Heroku is that you can host apps for free, which is great for showcasing data science projects. The first step is to set up an account on the web site: https://www.heroku.com/
In our pre-configured execution environment, the Heroku library is already installed. To skip local installation instructions and simply deploy the code, click here.
Installing command line tools and packages
We’ll set up the command line tools for Heroku by running the commands shown below. There can be some complications when setting up Heroku on an AMI EC2 instance, but downloading and unzipping the binaries directly works around these problems. The steps shown below download a release, extract it, and install an additional dependency. The last step outputs the version of Heroku installed. I got the following output:
heroku/7.29.0 linux-x64 node-v11.14.0
.
Get hands-on with 1400+ tech skills courses.