flask/docs/deploying/index.rst

36 lines
1.2 KiB
ReStructuredText
Raw Normal View History

.. _deployment:
Deployment Options
==================
2014-09-07 05:05:00 +08:00
While lightweight and easy to use, **Flask's built-in server is not suitable
for production** as it doesn't scale well. Some of the options available for
properly running Flask in production are documented here.
2014-09-07 04:19:57 +08:00
If you want to deploy your Flask application to a WSGI server not listed here,
look up the server documentation about how to use a WSGI app with it. Just
remember that your :class:`Flask` application object is the actual WSGI
application.
Hosted options
--------------
- `Deploying Flask on Heroku <https://devcenter.heroku.com/articles/getting-started-with-python>`_
- `Deploying Flask on Google App Engine <https://cloud.google.com/appengine/docs/standard/python/getting-started/python-standard-env>`_
- `Deploying Flask on AWS Elastic Beanstalk <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html>`_
2019-06-24 06:37:51 +08:00
- `Deploying on Azure (IIS) <https://docs.microsoft.com/en-us/azure/app-service/containers/how-to-configure-python>`_
- `Deploying on PythonAnywhere <https://help.pythonanywhere.com/pages/Flask/>`_
2014-09-07 04:19:57 +08:00
Self-hosted options
-------------------
2012-03-14 03:12:47 +08:00
.. toctree::
:maxdepth: 2
2012-04-01 22:54:27 +08:00
wsgi-standalone
uwsgi
mod_wsgi
2012-04-01 22:54:27 +08:00
fastcgi
cgi