Deploying a Flask Web App on AWS EC2 (Gunicorn + Apache w/ SSL Certificate)
Vložit
- čas přidán 27. 07. 2024
- In this video I go through the full process of deploying my AI calorie counter Flask app on an AWS EC2 instance with Gunicorn, Apache and an SSL certificate from Let's Encrypt
GitHub: github.com/unconv/calorieapp
Support: buymeacoffee.com/unconv
Consultations: www.buymeacoffee.com/unconv/e...
Memberships: www.buymeacoffee.com/unconv/m...
00:00 Intro & App Demo
01:07 Registering a domain
01:33 Creating EC2 instance
03:03 Adding Elastic IP
04:13 Pointing domain to instance
05:23 Setting up SSH key
07:03 Transfer code to server
08:49 Installing virtual environment
09:55 Running app on server
12:07 Installing Gunicorn
14:19 Installing background service
19:27 Setting up Apache
25:15 Installing SSL certificate (Let's Encrypt)
27:53 Running Gunicorn with separate user
30:01 Bonus: Adding swap space to server - Věda a technologie
Happy to have you still uploading these amazing videos. Keep it up
Life changing info time! you can do `chown username: file` and the trailing : is shorthand for 'username:username'. I know! I know! #exciting
Mind. Blown. Thanks!
god god thank you god thank you god thank you
I like how you say "G unicorn".lol