deploy-ML-model-on-AWS-EC2-instance

Step by Step Deploy ML based Flask application on AWS EC2 instance

  1. Create Flask Application

  2. Run it on Local

  3. Create AWS account

  4. create EC2 instance

  5. download Putty

  6. download Puttygen

  7. download wincp

  8. Puttygen -> generate private key

  9. wincp -> copy all files to Ubuntu server

  10. 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

  1. create security group and assign to EC2 instance

  2. edit host and port in flask app

  3. :8080

ENJOY!!!!