How to Deploy Flask Application with Apache2 and Mod WSGI?

preview_player
Показать описание
This tutorial will demonstrate you how to deploy a simple Flask Todo application complete with a PostgreSQL database to the AWS cloud on an Amazon Linux 2 EC2 utilizing Nginx web server and uWSGI application server.

In this session, you will learn,
- How to install nginx
- How to link uWSGI and flask
- How to allow the wsgi and flask server to auto start on server boots.
- How to deploy and host flask app with nginx

#flask #apache #uwsgi #aws
Рекомендации по теме
Комментарии
Автор

Background music is TOO LOUD to properly understand dialog. Thank you for the video, very instructive for WSGI.

ransomfitch
Автор

some suggestions.
1. make flask.conf file under /etc/apache2/sites-available and then enable this site normally.
2. use latest commands for service management as
systemctl start apache2
systemctl status apache2

Now question is you are using port no 5000 in your URL but I want to run it as normal apache2 site that is without any port no. Have you even done this?
One suggestion: Do not use any background music in any of your such educative videos.

wayamraxama
Автор

Could you add the flask.conf file to the description please?

DRONEBIKER-mvkk
Автор

Cant watch the video because there is music blaring the entire video. Perhaps fade it out after intro?

mkeohane
Автор

As if you stole code from somewhere and don't know how it works. You didn't activate env stuffs

ayush
Автор

Please don't add the background sound it is very distracting and takes focus away from the explanation.

bijitakc
Автор

Unfortunately, the music ruins the video. I suggest the video is taken down.

MrAcnash