Це відео не доступне.
Перепрошуємо.

How To Deploy A Machine Learning Model On AWS EC2 | AUG 2021 Updated | ML Model To Flask Website

Поділитися
Вставка
  • Опубліковано 31 лип 2024
  • In this video, we'll guide you through the step-by-step process of deploying your machine learning model on AWS EC2. Learn how to transform your model into a live, interactive Flask website, making it accessible to users worldwide.
    Steps:
    Build the model
    Export the model using Pickle/Joblib
    Build a Flask website to serve the model
    Deploy the website on AWS EC2
    -- Create an AWS account
    -- Create an EC2 instance
    -- Edit the security group
    -- Download keygen(pem file)
    -- Download and install Putty and WinSCP
    -- Upload Flask website to EC2 using WinSCP
    -- Install packages on EC2 using Putty
    Code :
    github.com/campusx-official/m...
    ============================
    Do you want to learn from me?
    Check my affordable mentorship program at : learnwith.campusx.in/s/store
    ============================
    📱 Grow with us:
    CampusX' LinkedIn: / campusx-official
    CampusX on Instagram for daily tips: / campusx.official
    My LinkedIn: / nitish-singh-03412789
    Discord: / discord
    E-mail us at support@campusx.in
    ⌚Time Stamps⌚
    00:00 - Intro
    01:57 - Building ML Model
    04:20 - Exporting the Model
    06:17 - Building a Flask website to host the model
    16:37 - Deploying the Model on AWS

КОМЕНТАРІ • 120

  • @sushantgautam5535
    @sushantgautam5535 2 роки тому +14

    Only One Single Channel covers Machine Learning, Deep Learning, Data Science with Fundamentals concepts, Practical Projects, and much more.

  • @muneebrashid3088
    @muneebrashid3088 Рік тому +5

    This is my first ever comment on any youtube videos. You explained it very well. Huge Respect. Keep shining.

  • @kaleemahmed3300
    @kaleemahmed3300 2 роки тому +28

    You have almost everything I search on UA-cam thank you sir ❤️

    • @subhajitdutta9983
      @subhajitdutta9983 Рік тому

      Can you please help us to know what will be the substitute of Heroku? Because as you know that after 28th November we won't be able to deploy our applications over Heroku for free. Please suggest us some alternatives and if possible please make a video on this topic

  • @instasol2453
    @instasol2453 2 роки тому

    You are a champ! Love you bro! Tc.
    Good job!

  • @rajeevranjan5007
    @rajeevranjan5007 2 роки тому +3

    Very Useful video. Thanks a lot Sir. Actually I was able to deploy a django app with the help of this video, which I wasn't able to do earlier. I was missing on some imp concepts. Thanks

  • @deeek92
    @deeek92 2 роки тому +1

    Awesome explanation!
    Thanks a lot!
    Subscribed :)

  • @thiswasme5452
    @thiswasme5452 2 роки тому +11

    Bhai aap best videos banate hay, seriously!!!
    Every other youtubers are focusing just on theory :(.
    But you are teaching us how to apply it that also for free!!
    I suggest you to make some udemy course along side with such real world case studies, make the course affordable like 2,000 Rs...!!
    You are the best🙏.

  • @UZMAALFATMI
    @UZMAALFATMI Рік тому +1

    VERY GOOD EXPLANATION, WITH NO UNNECESSARY JARGON. THANK YOU SO MUCH!

    • @maaleem90
      @maaleem90 Рік тому

      Assalamualaikum.
      Sorry to interrupt but you were the latest one to reply on this video.
      I got some query.
      I saw many videos relating to ML model deployment but I really don't get it. Coz when they switch from jupyter notebook to some other platform like visual Studio or Pycharm in this case.

  • @singnsoul6443
    @singnsoul6443 Місяць тому

    love your content!! Can't thank you enough.

  • @sachinmore8938
    @sachinmore8938 5 місяців тому

    very well explained! Thanks!

  • @rohitupadhyay6360
    @rohitupadhyay6360 8 місяців тому

    Thanks for this man!
    Helped alot

  • @Hellow_._
    @Hellow_._ Рік тому

    Best video on aws till date

  • @rohitsarraf9
    @rohitsarraf9 3 місяці тому

    Awesome video, now i can see where i am going.

  • @pavantripathi1890
    @pavantripathi1890 Рік тому

    Beautiful explanation. Thanks!

  • @chetansehgal3228
    @chetansehgal3228 Рік тому +1

    Explained almost everything in detail. Thankyou for the video.
    Can you please make video with Jenkins to deploy models too

  • @livebiochemistry
    @livebiochemistry Рік тому +1

    Really excellent explaination in video...Machine learning is wonderful

  • @mathlearn5476
    @mathlearn5476 Рік тому

    Thank you so much brother it helped me a lot🎉

  • @SwatiSharma-fq5uc
    @SwatiSharma-fq5uc 2 роки тому

    Very useful Video. Thank you Sir😀

  • @user-jp4zd3cl6f
    @user-jp4zd3cl6f 7 місяців тому

    very much useful video.. all in one which i am searching.

  • @Ai_With_Farhan
    @Ai_With_Farhan 5 місяців тому

    You are the best❤

  • @satyamgupta4808
    @satyamgupta4808 10 місяців тому

    Thank u sir for ur effort❤

  • @mitshah7084
    @mitshah7084 Рік тому

    Maja aa gaya bhai ho gaya thx

  • @Dark_Star_12
    @Dark_Star_12 9 місяців тому

    thanks for such videos this are all very helpfull🥰

  • @basuutube
    @basuutube Рік тому

    Lovely, awaiting for the next steps and create CICD CT for the same

  • @nsd6297
    @nsd6297 2 роки тому

    You are great sir.

  • @RanjitSingh-rq1qx
    @RanjitSingh-rq1qx Рік тому

    Amazing explanation.

  • @kshreyans3189
    @kshreyans3189 2 роки тому

    Too good sir very useful video

  • @pankajjagdale2005
    @pankajjagdale2005 Рік тому

    Awesome explanation Sir

  • @avinashanand2163
    @avinashanand2163 Рік тому

    Thank you so much 😊

  • @ririraman7
    @ririraman7 2 роки тому

    Thank you sir.

  • @Haven_Hue
    @Haven_Hue 7 місяців тому

    Thank you sir 🎉

  • @VishalJadhav-zl1fl
    @VishalJadhav-zl1fl 7 місяців тому

    Your voice is like Ranveer Allahabadia... It is like a podcast... Thank you sir...

  • @raghavagrawal6263
    @raghavagrawal6263 Рік тому

    Great-Great video

  • @your_inspiration_factory
    @your_inspiration_factory 11 місяців тому

    Thanks a lot sir

  • @enochkranthi8899
    @enochkranthi8899 2 роки тому

    Hi, thanks for the project. Please share a video on how to use NGINX

  • @Anilverma-ls2cl
    @Anilverma-ls2cl 2 місяці тому

    Sir, why did you used two platforms jupyter notebook and pycharm. Why not only continue with jupyter only or only use pycharm.

  • @aatmajajoshi
    @aatmajajoshi 3 місяці тому

    So sir what do we need to do if we want to deploy flask on production mode..?

  • @mohitpande2006
    @mohitpande2006 2 роки тому +1

    guru ji thank you so much, please add the video link for the production server love to see that to, I was searching in your playlist can't get it

  • @user-wx2fq7ot4y
    @user-wx2fq7ot4y 5 місяців тому

    in real world projects you cannot download the data after performing ETL how do you inject transformed data into jupyter notebook or pycharm please answer me..how to extract data from s3 bucket or from redshift to IDE like pycharm or jupyter notebook

  • @sravantipris3544
    @sravantipris3544 7 місяців тому +1

    is it okay to continue with .h5 file rather than pickle file since my model is based on DL

  • @NourM.Ibrahim
    @NourM.Ibrahim Рік тому

    Thanks for this info, Great Tutorial
    Though I wasn't able to run my app I mean all has gone exactly as you described, but the app page wasn't opening,
    Plz, help me with that...

  • @prakash3415
    @prakash3415 2 роки тому

    "X does not have valid feature names, but RandomForestClassifier was fitted with feature names
    warnings.warn(". getting this error while executing the code cell "rf.predict(np.array([4,5,10]).reshape(1,3))". any help would be appreciated :)

  • @ririraman7
    @ririraman7 2 роки тому

    awesome

  • @imaddarvesh371
    @imaddarvesh371 Рік тому

    If in dataset we have string format data then how will our webpage takes data inputs as string rather than a numerical format

  • @badusharazack3372
    @badusharazack3372 Рік тому

    😍😍😍

  • @kumarprasant7
    @kumarprasant7 Рік тому

    did you upload the next version where you were supposed to show how to put this model on prod server

  • @shrawankumarkumawat1380
    @shrawankumarkumawat1380 3 місяці тому

    thanks, very short and clear video like my comment

  • @arpitakar3384
    @arpitakar3384 6 місяців тому

    Video link for basic flask application 😢😢😢 not in description

  • @chaitanya_stocks
    @chaitanya_stocks 2 місяці тому

    Nice, where is next video?

  • @shikharjaiswal1843
    @shikharjaiswal1843 Рік тому

    every thing worked well ....only when i copy enstance's name and add the 8080 port the page is not showing plz help

  • @furry2fun
    @furry2fun 11 місяців тому

    For gcp alternative we can use the app engine to deploy our Ml model

  • @pawangupta8948
    @pawangupta8948 2 роки тому

    Sir can you please make a video on " deployment of deep learning model on sagemaker"

  • @Rahul-qe9gc
    @Rahul-qe9gc 2 роки тому

    plz create a video on AWS Lambda. like how can we deploy a same flask api using aws lambda

  • @chethan1914
    @chethan1914 2 роки тому

    Hi , could help me how to deploy custom build model. When we don't have training job . Thanks In advance .

  • @statisticsguruji856
    @statisticsguruji856 Рік тому +1

    nice sir, but can teach by using vs code.

  • @sriharikatare4875
    @sriharikatare4875 Рік тому

    I need to know why the server running only on HTTP but why not on HTTPs. please help.

  • @promithaldar2330
    @promithaldar2330 9 місяців тому

    is anyone getting a " Not secure" error which clicking on EC2 ? I am unable to launch EC2 Dashboard.

  • @atulanand4824
    @atulanand4824 2 роки тому

    Sir please ek playlist on Flask🙏

  • @aradnalal7591
    @aradnalal7591 Місяць тому

    This method Still Works?

  • @jillanisofttech2977
    @jillanisofttech2977 2 роки тому

    Sir Plz Koi New Recommendation Project bnyee plz..

  • @bhavikdudhrejiya852
    @bhavikdudhrejiya852 Рік тому

    Can We use Tmux to host website on aws server ?

  • @nishantasharma6342
    @nishantasharma6342 Рік тому

    my model.pkl file has '?' symbol .What's the reason behind it

  • @unezkazi4349
    @unezkazi4349 2 роки тому

    Production server ka bata do sir please......bohot kaam hai!!

  • @shibasiskarmakar7027
    @shibasiskarmakar7027 Рік тому

    Bhai I am facing error while excuting the renederd_templete('index.html')
    jinja2.exceptions.TemplateNotFound
    jinja2.exceptions.TemplateNotFound: index.html
    Can you please help

  • @sumitpathak3990
    @sumitpathak3990 2 роки тому

    Which one is flask videos plz provide link

  • @bitrish34
    @bitrish34 2 роки тому +3

    Sir please make a collaborative filtering based recomendation system

  • @A-vb7tx
    @A-vb7tx 7 місяців тому

    i have deployed, Running on 5000, appended 5000 the ec2 web address but still the link doesnt load

  • @gossichan6364
    @gossichan6364 Рік тому +1

    Can you please help us to know what will be the substitute of Heroku? Because as you know that after 28th November we won't be able to deploy our applications over Heroku for free. Please suggest us some alternatives and if possible please make a video on this topic

  • @jorgesisco981
    @jorgesisco981 2 роки тому

    Hey! great video, but the trained model always gives me array[1] which is placed all the time even if I input low IQ, cgpa, or profile score, does anyone get the same issue?

  • @avijitprasaddas4191
    @avijitprasaddas4191 Рік тому

    Hello sir, nice video. May I get the link of the next video please (production deployment using Nginx ) ?

  • @AbdurRahman-lv9ec
    @AbdurRahman-lv9ec 7 місяців тому

    You wanted to link a video on description

  • @balajibhutham351
    @balajibhutham351 Рік тому +1

    Sir Pickle file Is not opening in pycharm

  • @Crazyanya_
    @Crazyanya_ Рік тому

    Sir what if I want data store after click on form

  • @VarunSharma-ym2ns
    @VarunSharma-ym2ns 2 роки тому

    how to copy paste model.pkl into pycharm.......first step???

  • @piyush.sinha2266
    @piyush.sinha2266 2 роки тому

    While pasting the pickle file to the pycharm ..... There will be a question mark on that file ...... And this is because pycharm is asking for the file type of pickle file whether it is text file or something like that ...... So can you please tell me what to select there because pickle file is in binary format

    • @luvkumar5096
      @luvkumar5096 9 місяців тому

      How did you resolved the issue?

  • @kkwithnature8135
    @kkwithnature8135 2 місяці тому

    flask ki video link share karo na sir

  • @sakshamshah7327
    @sakshamshah7327 2 роки тому +2

    hi, I am getting internal server error after submitting my input data for predicting using ec2 service. my model is working fine in local. i am not able to resolve this issue could please suggest?
    this is exact error i am facing "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

    • @pretty7628
      @pretty7628 2 роки тому +1

      Hi I also got that internal server error. Is there any way you have solved that part?

    • @asamangasgati7883
      @asamangasgati7883 Рік тому

      Reason behind this issue might be that you had train the ml model in one version and trying to deploy in another version. So, install the same packages(versions) which you have used while training the ml model. Do reply, if this works.

  • @user-xy6qg7cj9b
    @user-xy6qg7cj9b 8 місяців тому

    Where is video link of basic flask application

  • @engineering-maths
    @engineering-maths Рік тому

    Sir who to stop the last command?

  • @user-jp4zd3cl6f
    @user-jp4zd3cl6f 7 місяців тому

    I have followed all steps accordingly but i did't get final out.

  • @sneha..9188
    @sneha..9188 Місяць тому

    is it necessary to use pycharm ? or can we use vscode

  • @geraldsnodd
    @geraldsnodd 28 днів тому

    19:35
    - where I left off to continue

  • @priyanshugupta2104
    @priyanshugupta2104 Рік тому

    I am not going to full this video only 1 minate done , tell me we can do by streamlit also

  • @thiswasme5452
    @thiswasme5452 2 роки тому

    Bro kam ho jane pe aws instance ko band karna hoga ya running hi rahane de?

  • @aanchalmahajan3821
    @aanchalmahajan3821 Рік тому

    I am facing an issue Can you help me

  • @deepalikamle845
    @deepalikamle845 Рік тому

    How to copy pkl file created in notebook to pycharm I did not get that. Can you please explain?

    • @maaleem90
      @maaleem90 Рік тому

      Hey, hope you doing good.
      Even I got stuck with the same thing. Can you please guide me through it

  • @611artificialintelligence
    @611artificialintelligence Рік тому

    Is it free to deploy there a model????

  • @lilianasanchez602
    @lilianasanchez602 2 роки тому

    Please for Chile, Venezuela subtitle the video into Spanish

  • @pvf8963
    @pvf8963 2 роки тому

    How to install flask

  • @thiswasme5452
    @thiswasme5452 2 роки тому

    from flask import Flask,render_template,request
    ImportError: cannot import name 'Flask'
    this error is popping up at 35:28

    • @thiswasme5452
      @thiswasme5452 2 роки тому +1

      Had to install flask, numpy, sklearn manually one by one now its working

    • @shwetashaw9978
      @shwetashaw9978 2 роки тому

      i think in requirement.txt you have put 'Flask' instead of 'flask'

  • @islamicinsights6342
    @islamicinsights6342 2 роки тому

    Sir plz share the link of basic flask video

  • @saiKiran-ps8ff
    @saiKiran-ps8ff 6 місяців тому

    Sir, what about Deep Learning model like YOLOV8.

  • @ghulamdastgir9828
    @ghulamdastgir9828 2 роки тому

    Image Segmentation model deployment?

  • @thiswasme5452
    @thiswasme5452 2 роки тому

    bhai flask videos ki link do plz!!

  • @abdullahalmasum5542
    @abdullahalmasum5542 2 роки тому

    sudo apt-get update && sudo apt-get install python3-pip
    pip3 install -r requirements.txt

  • @shriharilande1476
    @shriharilande1476 Рік тому +1

    sir gives an error ModuleNotFoundError: No module named 'sklearn'

  • @imalperera8759
    @imalperera8759 2 роки тому

    why do you welcome people in English and continue in hindi.?

  • @ritamaya9529
    @ritamaya9529 Рік тому

    Please teach in English