00:04 Launch new EC2 Instance
01:29 Connect EC2 using Putty
02:17 Connect EC2 using WinSCP
03:17 sudo apt-get update
03:27 sudo apt-get install python3-venv
04:09 python -m venv venv
04:21 source venv/bin/activate
04:33 pip install flask
04:57 create file app.py
05:57 pip install gunicorn
06:12 gunicorn -b 0.0.0.0:5000 app:app
06:48 Add port 5000 to EC2 Instance Inbound Rules
07:31 Create a service for python script: sudo nano /etc/systemd/system/servicename.service
08:38 sudo systemctl daemon-reload
08:42 sudo systemctl start servicename
08:45 sudo systemctl enable servicename
09:15 sudo apt-get install nginx
09:32 sudo systemctl start nginx
09:37 sudo systemctl enable nginx
10:08 sudo nano /etc/nginx/sites-available/default
11:09 sudo apt-get install unzip
11:35 sudo apt-get install python3-opencv
12:04 pip install opencv-python
12:13 pip install opencv-contrib-python
#pythontutorial #awsec2 #atifnaseem
Watch video Install Python on AWS EC2 (Hindi) online without registration, duration hours minute second in high quality. This video was added by user Atif Naseem 09 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 117 once and liked it 4 people.