Easiest and fastest way to host Flask Python

Alright let's discuss web options, ideas, tutorials, about hosting Flask Python on the web.

If you have links to hosting a specific webserver of flask on the internet somewhere, then now is your chance to link such tutorials.

I know there are popular hosts like Heroku and WebFaction that allow Python Flask hosting, but even those websites don't have very good guides on actually completing this for newbies.

If you have links to hosting free webservers for Python Flask that would be nice too.

If you have links comparing different webservers for hosting Flask.

There are many [deployment options on the official Flask website](http://flask.pocoo.org/docs/deploying/)--however, figuring out which is the best, fastest, and easiest to do, is something only experienced developers can recommend and describe.

This is something we can sticky later, because getting people into Flask can be an issue due to hosting and deployment problems.


**List of Python Flask-capable Webhosts**

- [PythonAnywhere.com](http://www.pythonanywhere.com) (web-SSH; web-instant-MySQL-db; web-IDE; **instant** deployment of flask, free; easy logs; github/single-file-upload support; SFTP/SSH requires pay)
- [Nitrious.io](http://nitrious.io) (web-IDE; SSH; free; requires "websocket"-supporting browser; upgradeable cloud service)
- [Heroku](http://www.heroku.com) (SSH; flask must be installed by you, slightly-difficult-windows-instructions, upgradeable cloud service)
- [WebFaction](http://www.webfaction.com) (SSH; paid-web-host [good prices]; flask must be installed by you; possible configuration and path issues possible; SFTP)
- [Google App Engine](https://developers.google.com/appengine/?csw=1) (Desktop admin app; [flask can be configured with this repo](https://github.com/GoogleCloudPlatform/appengine-python-flask-skeleton))
- DigitalOcean
- [OpenShift](https://www.openshift.com/blogs/announcing-a-new-book-getting-started-with-openshift-a-guide-for-impatient-beginners) (requires extensive ssh installation of ruby, python, etc.)

11 thoughts on “Easiest and fastest way to host Flask Python”

  1. Look into DigitalOcean, it’s super cheap to run just a small droplet and you can have other stuff on it too.

  2. I’m currently using Nitrous.io – found it to be easiest when it comes to setting up a new dev environment and server for a variety of languages/frameworks.

  3. OpenShift also seems to be a good option. Could find below tutorials (but haven’t read any, yet):

    * [Build Your App on OpenShift Using Flask, SQLAlchemy, and PostgreSQL 9.2](https://www.openshift.com/blogs/build-your-app-on-openshift-using-flask-sqlalchemy-and-postgresql-92)
    * [Beginners Guide to Writing Flask Apps on OpenShift](https://www.openshift.com/blogs/beginners-guide-to-writing-flask-apps-on-openshift)
    * [Day 3: Flask–Instant Python Web Development with Python and OpenShift](https://www.openshift.com/blogs/day-3-flask-instant-python-web-development-with-python-and-openshift)
    * [https://github.com/openshift/flask-example](https://github.com/openshift/flask-example)

  4. AWS Beanstalk. I agree the configuration files can be a pain as they’re not that well documented but once your up its as easy as a git push to roll out changes. **they now support 2.7**

  5. I’ve been hosting my Flask applications on [Webfaction](http://www.webfaction.com/services/hosting?affiliate=delizseemack) since 2011 and I must say that I have been highly satisfied.

    My deployment process is now fully automated with their API which is quite efficient whenever I have a new client.

    If you choose them and if you need help with setup, configuration, deployment or anything hosting related, send me a private message and I’ll make sure to help you out.


Leave a Comment