Це відео не доступне.
Перепрошуємо.
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
Only One Single Channel covers Machine Learning, Deep Learning, Data Science with Fundamentals concepts, Practical Projects, and much more.
This is my first ever comment on any youtube videos. You explained it very well. Huge Respect. Keep shining.
You have almost everything I search on UA-cam thank you sir ❤️
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
You are a champ! Love you bro! Tc.
Good job!
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
Awesome explanation!
Thanks a lot!
Subscribed :)
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🙏.
VERY GOOD EXPLANATION, WITH NO UNNECESSARY JARGON. THANK YOU SO MUCH!
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.
love your content!! Can't thank you enough.
very well explained! Thanks!
Thanks for this man!
Helped alot
Best video on aws till date
Awesome video, now i can see where i am going.
Beautiful explanation. Thanks!
Explained almost everything in detail. Thankyou for the video.
Can you please make video with Jenkins to deploy models too
Really excellent explaination in video...Machine learning is wonderful
Thank you so much brother it helped me a lot🎉
Very useful Video. Thank you Sir😀
very much useful video.. all in one which i am searching.
You are the best❤
Thank u sir for ur effort❤
Maja aa gaya bhai ho gaya thx
thanks for such videos this are all very helpfull🥰
Lovely, awaiting for the next steps and create CICD CT for the same
You are great sir.
Amazing explanation.
Too good sir very useful video
Awesome explanation Sir
Thank you so much 😊
Thank you sir.
Thank you sir 🎉
Your voice is like Ranveer Allahabadia... It is like a podcast... Thank you sir...
Great-Great video
Thanks a lot sir
Hi, thanks for the project. Please share a video on how to use NGINX
Sir, why did you used two platforms jupyter notebook and pycharm. Why not only continue with jupyter only or only use pycharm.
So sir what do we need to do if we want to deploy flask on production mode..?
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
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
is it okay to continue with .h5 file rather than pickle file since my model is based on DL
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...
"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 :)
awesome
If in dataset we have string format data then how will our webpage takes data inputs as string rather than a numerical format
😍😍😍
did you upload the next version where you were supposed to show how to put this model on prod server
thanks, very short and clear video like my comment
Video link for basic flask application 😢😢😢 not in description
Nice, where is next video?
every thing worked well ....only when i copy enstance's name and add the 8080 port the page is not showing plz help
For gcp alternative we can use the app engine to deploy our Ml model
Sir can you please make a video on " deployment of deep learning model on sagemaker"
plz create a video on AWS Lambda. like how can we deploy a same flask api using aws lambda
Hi , could help me how to deploy custom build model. When we don't have training job . Thanks In advance .
nice sir, but can teach by using vs code.
I need to know why the server running only on HTTP but why not on HTTPs. please help.
is anyone getting a " Not secure" error which clicking on EC2 ? I am unable to launch EC2 Dashboard.
Sir please ek playlist on Flask🙏
This method Still Works?
Sir Plz Koi New Recommendation Project bnyee plz..
Can We use Tmux to host website on aws server ?
my model.pkl file has '?' symbol .What's the reason behind it
Production server ka bata do sir please......bohot kaam hai!!
Bhai I am facing error while excuting the renederd_templete('index.html')
jinja2.exceptions.TemplateNotFound
jinja2.exceptions.TemplateNotFound: index.html
Can you please help
Which one is flask videos plz provide link
Sir please make a collaborative filtering based recomendation system
Yes sir plz...it will help a lot
i have deployed, Running on 5000, appended 5000 the ec2 web address but still the link doesnt load
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
netlify and vercel
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?
yes
Hello sir, nice video. May I get the link of the next video please (production deployment using Nginx ) ?
You wanted to link a video on description
Sir Pickle file Is not opening in pycharm
Sir what if I want data store after click on form
how to copy paste model.pkl into pycharm.......first step???
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
How did you resolved the issue?
flask ki video link share karo na sir
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."
Hi I also got that internal server error. Is there any way you have solved that part?
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.
Where is video link of basic flask application
Sir who to stop the last command?
I have followed all steps accordingly but i did't get final out.
is it necessary to use pycharm ? or can we use vscode
Yes you can use vs code or jupyter too
19:35
- where I left off to continue
I am not going to full this video only 1 minate done , tell me we can do by streamlit also
Bro kam ho jane pe aws instance ko band karna hoga ya running hi rahane de?
Terminate kar do
I am facing an issue Can you help me
How to copy pkl file created in notebook to pycharm I did not get that. Can you please explain?
Hey, hope you doing good.
Even I got stuck with the same thing. Can you please guide me through it
Is it free to deploy there a model????
Please for Chile, Venezuela subtitle the video into Spanish
How to install flask
from flask import Flask,render_template,request
ImportError: cannot import name 'Flask'
this error is popping up at 35:28
Had to install flask, numpy, sklearn manually one by one now its working
i think in requirement.txt you have put 'Flask' instead of 'flask'
Sir plz share the link of basic flask video
ua-cam.com/video/swHI1H7DVsQ/v-deo.html
@@campusx-official thanks sir
Sir, what about Deep Learning model like YOLOV8.
Image Segmentation model deployment?
?
bhai flask videos ki link do plz!!
ua-cam.com/video/swHI1H7DVsQ/v-deo.html
sudo apt-get update && sudo apt-get install python3-pip
pip3 install -r requirements.txt
sir gives an error ModuleNotFoundError: No module named 'sklearn'
same what did you do about sir please let me know
why do you welcome people in English and continue in hindi.?
Please teach in English