Up until now in the book, we have seen how to write Flask applications in different ways. Deployment of an application and managing the application post-deployment is as important as developing it. There can be various ways of deploying an application, where choosing the best way depends on the requirements. Deploying an application correctly is very important from the points of view of security and performance. There are multiple ways of monitoring an application after deployment of which some are paid and others are free to use. Using them again depends on requirements and features offered by them.
In this chapter, we will cover the following recipes:
Deploying with Apache
Deploying with uWSGI and Nginx
Deploying with Gunicorn and Supervisor
Deploying with Tornado
Using Fabric for deployment
S3 storage for file uploads
Deploying with Heroku
Deploying with AWS Elastic Beanstalk
Application monitoring with Pingdom
Application performance management and monitoring...