Step by Step Deploy ML based Flask application on AWS EC2 instance
-
Create Flask Application
-
Run it on Local
-
Create AWS account
-
create EC2 instance
-
download Putty
-
download Puttygen
-
download wincp
-
Puttygen -> generate private key
-
wincp -> copy all files to Ubuntu server
-
Putty --> connect through Putty & install all libraries
sudo apt-get update && sudo apt-get install python3-pip pip3 install -r requirements.txt python3 main-app.py
-
create security group and assign to EC2 instance
-
edit host and port in flask app
-
:8080
ENJOY!!!!