Тёмный

Tutorial 4- Deployment Of ML Models In AWS EC2 Instance 

Krish Naik
Подписаться 1 млн
Просмотров 114 тыс.
50% 1

Please join as a member in my channel to get additional benefits like materials in Data Science, live streaming for Members and many more
/ @krishnaik06 Hello All, In this video we will see how we can deploy ML Models in AWS EC2 Instance
Please download the code from the github url
github url :github.com/krishnaik06/Heroku...
#AWSEC2MLDEPLOYMENT
Support me in Patreon: / 2340909
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: www.amazon.in/Hands-Python-Fi...
Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below
amazon url:
www.amazon.in/Hands-Machine-L...
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06
Subscribe my unboxing Channel
/ @krishnaikhindi
Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning!
Deep Learning Playlist: • Tutorial 1- Introducti...
Data Science Projects playlist: • Generative Adversarial...
NLP playlist: • Natural Language Proce...
Statistics Playlist: • Population vs Sample i...
Feature Engineering playlist: • Feature Engineering in...
Computer Vision playlist: • OpenCV Installation | ...
Data Science Interview Question playlist: • Complete Life Cycle of...
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: www.amazon.in/Hands-Python-Fi...
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY RU-vid CHANNEL

Опубликовано:

 

29 окт 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 160   
@mauryasameer
@mauryasameer 4 года назад
This video has helped me so much I just can't explain in words, thanks a lot Krish, keep up the good work
@rachitvdo09
@rachitvdo09 Год назад
Thank you so much for posting this playlist. I am looking to switch my role as data scientist and I stuck in interviews when the interviewer asks about experience in production. I just got rejection from a great company but then I came to know about your video and replicated the deployment steps for different platforms. I am beyond grateful to you for the videos as I was able to learn deployment within a few days
@omkarr8282
@omkarr8282 4 года назад
This ML model deployment playlist is just too good.....there are some courses on udemy where in one course only teach you how to implement pickle objects through flask....really thanks for sharing such valuable content!! You are doing amazing work here!
@nithinkandula5844
@nithinkandula5844 2 года назад
thank you very much krish. The goal oriented explanation is what i liked the most in your videos i mean top to bottom approach. expecting more videos from you.
@nazymsatbekova8863
@nazymsatbekova8863 2 года назад
Love your channel! thank you very much for your work, such a high-energy and compact content for my needs!
@DhrubSatyam
@DhrubSatyam 4 года назад
Most awaited video. Thanks Krish for sharing it! :-)
@DevMaster947
@DevMaster947 4 года назад
Hi Krish, I felt you are doing really genuine work. Thanks 🙏and keep rocking 👍
@junjiwiener5417
@junjiwiener5417 4 года назад
Awesome video thank you very much! I've deployed using Heroku but now know how to do it via an EC2 instance.
@sabyasachidas4977
@sabyasachidas4977 2 года назад
Thank you So much sir . i was trying connect to AWS EC2 since from many Days . you have explained the Security setting and it worked for me. Many Thanks .
@shikhakushwaha630
@shikhakushwaha630 8 дней назад
This is actually helpfull, i was struggling to understand this. Thanks a lot
@BiancaAguglia
@BiancaAguglia 4 года назад
Thank you, Krish. This was very useful. 😊
@kaustavchanda6306
@kaustavchanda6306 4 года назад
Thank you so much for this tutorial. Please consider creating a playlist for AWS tutorials it will be very helpful for us.
@AllinOne-vd9oy
@AllinOne-vd9oy 4 года назад
thank you bro you explained in a simple way
@AmitKumar-BIDSP
@AmitKumar-BIDSP 3 года назад
Very well explained; Saved a lot of time; Kudos
@hichamsabah31
@hichamsabah31 3 года назад
Very informative lecture. Keep up the good work.
@jaikishank
@jaikishank 2 года назад
Thanks Krish for the Great tutorial as always !!!! and could implement successfully in AWS
@miguel-deep-soccer
@miguel-deep-soccer 3 года назад
Brilliant. You made my day. Thanks a lot
@nicholasbarasa4775
@nicholasbarasa4775 Год назад
Simply explained, thank you
@FreedomForKashmir
@FreedomForKashmir 3 года назад
STOP and read this.... it will help you. Whole video is very good and educative but there is a problem with hypercorn command(hypercorn main:app --reload) at the end. When running it on localhost of your laptop ... its fine. But when running it on cloud you would have to explicitly give it host and post number .... otherwise you won't be able to access it using DNS or public IP of your EC2 instance Use this command on cloud terminal >>>>> hypercorn main:app --host 0.0.0.0 --port 8000 OR(if you are using uvicorn) Use this command >>>>> uvicorn main:app --host 0.0.0.0 --port 8000 hope it would help
@finnyfunplace824
@finnyfunplace824 4 года назад
Thanks a millions lots KRISH...
@ballerzhighlights4328
@ballerzhighlights4328 Год назад
Thank you Krish, really helpful.
@anirbanmandal6728
@anirbanmandal6728 4 года назад
Thanks Krish sir..
@SK-xr7up
@SK-xr7up 3 года назад
Great video, I am new to AWS but already an expert now with this video. For user in the Winscp, give appropriate default user name based the machine you select Amazon Linux: ec2-user Ubuntu: ubuntu Debian : admin
@mahmoudsamir9537
@mahmoudsamir9537 2 года назад
thank you so much
@Larry21924
@Larry21924 5 месяцев назад
This is unmatched. I recently enjoyed a similar book, and it was unmatched. "Mastering AWS: A Software Engineers Guide" by Nathan Vale
@Amansingh-tr1cf
@Amansingh-tr1cf 3 года назад
Thanks a lot krish sir. Really thanks a lot
@anujeetswain7368
@anujeetswain7368 4 года назад
thanks it was very helpful
@narenbot
@narenbot 4 года назад
Thanks a lot my AI Guru
@AnkitKumar-xk9fe
@AnkitKumar-xk9fe 4 года назад
Thank you very Much Krish (:
@iambhushan418
@iambhushan418 3 года назад
Also select key>>params>>versoin ppk2 to start connection to remote server. This is updated now
@syedshahab8471
@syedshahab8471 2 года назад
You're the best. Thanks
@desiplaylist3463
@desiplaylist3463 4 года назад
hey krish, One suggestion. it would be really helpful if you would mention the limits of the free service of the cloud servers. like in Heroku, if the size of the deployment file is above 300mb then it will slow down the process, etc. You are doing a great job and your videos helped me gain a lot of knowledge.
@tharinduekanayake3862
@tharinduekanayake3862 4 года назад
This is great. Thank you
@TheBongLearner
@TheBongLearner 4 года назад
this process is free?
@louerleseigneur4532
@louerleseigneur4532 3 года назад
Thanks Krish
@atomicCache_
@atomicCache_ 5 месяцев назад
Great video krish :)
@kkckk4360
@kkckk4360 4 года назад
Hi Krish, plz make a video on, how to train the deploy model with new data...
@abhyudaydaharwal1589
@abhyudaydaharwal1589 4 года назад
Thank you sir
@instasol2453
@instasol2453 2 года назад
Great content
@nageshpindi1348
@nageshpindi1348 4 года назад
Hi Krish, When you gonna start ML course. I'm been waiting for your course.
@shivammishra2524
@shivammishra2524 3 года назад
great video!
@prasannam3273
@prasannam3273 3 года назад
Step 6: We are not exactly generating a private key(already done by AWS). Basically we are converting a .pem private key to .ppk private key so that putty (SSH client can understand). Correct me if I am wrong. Thanks for the excellent video
@sandeepganage9717
@sandeepganage9717 2 года назад
Great stuff Krish. You might wanna re-do aws part as its changed completely.
@nitishgupta5684
@nitishgupta5684 4 года назад
Thanks!!!! Can i plot dynamic plots using plotly and show it on the hosted instance while prediction?
@nasiksami2351
@nasiksami2351 3 года назад
Thank you so much Krish Bhai for this! I have some queries, what are the benefits of using ec2 rather than Heroku? Heroku seemed easier to deploy and what is the free storage for both of them?
@TheNayan20
@TheNayan20 4 года назад
Thank you
@sahilwake8368
@sahilwake8368 2 года назад
Thank You ❤️
@hokapokas
@hokapokas 4 года назад
Hi krish i have a small question, the pip install is a one time thing right?? It needs not to be repeated for every instance. Amazing video as usual 😀
@ndminhnhat
@ndminhnhat 4 года назад
how about tensorflow serving? and docker? Kubernetes?
@PiyushSingh-yk5xr
@PiyushSingh-yk5xr 4 года назад
thanks buddy
@prajwalraj5741
@prajwalraj5741 4 года назад
Can we use the Web url which we got at the last .. In my own website under an anker tag() .!? Plz.. Ans..
@rahuldable3691
@rahuldable3691 2 года назад
Thanks
@remrem6681
@remrem6681 2 года назад
Very quick
@yunli5147
@yunli5147 3 года назад
ty for everything. how did you get windows and ubuntu both run simultaneously?
@penchofficial1
@penchofficial1 4 года назад
When you started new batch regarding data science classes... please provide me clear information
@joshuaokhiria7347
@joshuaokhiria7347 3 года назад
Hi, you have done a great job with this playlist. However can you do a ML deployment video where a categorical variable is treated with ONE HOT ENCODING. Deployment of ML algorithm with ONE HOT ENCODING is harder compared to models where all of the inputs are numerical. There are lot's of people out there who will benefit from this including me.
@GyanFhaD
@GyanFhaD Год назад
Very nice video explained very well. How to Reduce Cost on AWS Cloud?
@suryapakalapati9198
@suryapakalapati9198 3 года назад
Hello Sir, thanks for the video, I learned a lot from this video. And I have a question on deploying multiple models in single server. Can we add 2 ML models in 1 server? Like configuring 2 endpoints in app.py file. Example: For 1st model- 100.0.0.0:4000/predict_model1 For 2nd model- 100.0.0.0:4000/predict_model2 Here, predict_model1 predicts value using ML model 1 and predict_model2 predicts value using ML model 2. Will this create any problem in production environment? Because we are using only 1 single server instead of spinning up new server for each new model.
@amitjaiswal8073
@amitjaiswal8073 4 года назад
Hi krish, can u make a video on how to deployed same model on production based env.
@venkatasivasankar9341
@venkatasivasankar9341 4 года назад
Very nice explanation krish. I have some doubts 1. How we can deploy multiple flask applications into one EC2 ubuntu instance? I want to deploy multiple flask applications into one EC2. 2. Is it possible to add multiple domains into single instance? for each flask application I want to add different domain
@gautamisane3240
@gautamisane3240 2 года назад
Please let me know too
@spicytuna08
@spicytuna08 3 года назад
wow. i will never be able to figure this one out on my own. is it just me who has a hard time figuring out AWS deployment? how do you figure it out so easily?
@chaturvedifamily6052
@chaturvedifamily6052 4 года назад
I tried deploying the CNN model it is working fine on localhost also seems good on ec2 instance but I am not able to see anything on that IP ... I have taken all the steps the same as your videos.
@rounakbachwani2963
@rounakbachwani2963 2 года назад
Hey Krish, great video. Just had a small doubt, can this be considered as DevOps?
@siminfan9300
@siminfan9300 2 года назад
Hi Krish, thanks for the video with great content! One question: what could be the problem if my EC2 instance runs normally while my website have no response (show nothing)?
@aqibmughal6025
@aqibmughal6025 3 года назад
Wonderful. Can I deploy a Django website using the same procedure and softwares?
@anilb1076
@anilb1076 4 года назад
May i know ,whats the difference between this approach and deploying with sagemaker
@naveens6114
@naveens6114 4 года назад
How to link php framework with python to make different kind of machine learning website?
@vivekdadhich515
@vivekdadhich515 3 года назад
We can directly SSH into our instance if we have Windows 10 just using the command prompt. No need to download putty or WinSCP
@ravindugunawardana7571
@ravindugunawardana7571 3 года назад
Hi can you tell me the exact 'scikit-learn' version you have used when you were creating the model.
@subrataassam
@subrataassam 4 года назад
I tried the steps....but in the end when I try to access the aws url for the deployed model it says "This site can’t be reached"...anything I would have missed ? Even the app.py file is running fine when ran in putty.
@rishabhgupta4879
@rishabhgupta4879 3 года назад
Same happening with me. Have you found a solution for this?
@subrataassam
@subrataassam 3 года назад
@@rishabhgupta4879 Yes it worked. I was missing the port number 8080 at the end of the EC2 url
@rohitranjan7055
@rohitranjan7055 4 года назад
When i trt to deploy my own code , and when i press predict button is shows internal server error. Please anyone help me..
@abhishekprakash9803
@abhishekprakash9803 4 года назад
hi, can you help me Krish ,somone ask me :: how do you know the cost function go to the global minimum,
@cli_ninja
@cli_ninja 4 года назад
Why is the zone as us-east? Isnt it better to keep it close? Like ap-south?
@parasvarshney
@parasvarshney 4 года назад
Sir, please make a video where this tutorial is done on ubuntu because we generally work on the Linux environment in the real industry, and windows have this software like putty and WinSCP so how to do deployment complete from the command line in ubuntu? please make a video on that too!
@nayanpatil583
@nayanpatil583 3 года назад
Use mobaxterm
@prajwalparab2435
@prajwalparab2435 4 года назад
How to link two python files of same code??,but separation is done of a huge code. How to combine them sir.??
@fasirahman7405
@fasirahman7405 3 года назад
Please can you make video on Deploy of Ansys Model in AWS EC2 .
@iambhushan418
@iambhushan418 3 года назад
use python3-pip in that pip update command sudp apt one. This is updated one
@BiranchiNarayanNayak
@BiranchiNarayanNayak 4 года назад
Any tutorial on using Python flask on Docker running on Ubuntu ?
@prashantjha488
@prashantjha488 3 года назад
Hi Krish, don't you think having a single instance for a model is a costly operation for an enterprise, can we launch multiple models in a single EC2 instance.
@sumitkeshav4718
@sumitkeshav4718 4 года назад
Hi Sir, Can we also create a flask app, which takes input in the form of json (having only one data instance on which predictions are to be made). And if we deploy this app on EC2, will we have the cloud interact with our local system to upload that instance. Need Help Sir on this Please!
@prelimsiscoming
@prelimsiscoming 4 года назад
SIR plz make a video on IBM cloud.
@mk8800
@mk8800 4 года назад
If you are getting any error while deploying just check your requirements(versions) file and change your port from "8080" to "8008".
@oldrunnerstepx2638
@oldrunnerstepx2638 4 года назад
Krish, this video is fantastic. I have used Jupyter Notebook etc on AWS but have never deployed a bespoke API like this. One thing that isn't clear, how would you be able to host multiple services in the same instance. The URL for the instance contains no content that points to a particular web service.
@oldrunnerstepx2638
@oldrunnerstepx2638 4 года назад
Is it the port number 8080 that routes to the API we have installed? So if we required another we would use a different port number perhaps? Or can the URL be qualified?
@seshasivasankar6765
@seshasivasankar6765 3 года назад
I have a doubt for the web to start and run the python3 aap.py is to be written. but can we not host this permanently so that we can run it without writing this statement???
@gautam135481
@gautam135481 4 года назад
Hi Krish I have 2 questions 1) DO we have to keep putty open all the time and keep running our server? 2) When we are giving user the URL of our app. Do we need to give amazon url followed by port 8080?
@harryfeng4199
@harryfeng4199 2 года назад
Hey, I had the same question. Have u figured out if others can use that url to access the demo as well?
@surajsoren637
@surajsoren637 3 года назад
What is the main difference between AWS EC2 instance and Heroku Cloud Deployment ?
@niharkashyap3897
@niharkashyap3897 4 года назад
Is the file storage system of EC2 ephemeral like Heroku?
@shubhambaghel219
@shubhambaghel219 4 года назад
as we using putty to connect to linux terminal . as our connection lost our application also goes down. any workaround to this to make app running.
@amithadole9252
@amithadole9252 2 года назад
Hello sir, What we have to use instead of putty in mac ?
@sajankumarkar8237
@sajankumarkar8237 7 месяцев назад
How do you keep the server running after you close putty and everything else, so that the DNS linked opens and works?
@mohitverma1513
@mohitverma1513 3 года назад
sir my application does not have pickle file as model but .py file for run time prediction will the same procedure work???
@manassrivastava6452
@manassrivastava6452 3 года назад
Sir I'm deploying another project, In putty it is showing me no module name tensorflow, but it is already installed during requirement.txt installation. What can I do?
@tech-talks-with-shakeel0346
@tech-talks-with-shakeel0346 4 года назад
Hi sir , how to deploy ML model using android app to classify text?
@Vinothvipin
@Vinothvipin 4 года назад
How to serve python code in Apache server ?
@SoftwareDevelopmentEnginner
@SoftwareDevelopmentEnginner 4 года назад
What if I have a Linux environment, what's the alternative to Putty?
@pyroswolf8203
@pyroswolf8203 3 года назад
Does flask have cold start problem ?
@kunjalsujalshah1992
@kunjalsujalshah1992 4 года назад
Can you tell me how to keep this server running 24*7? i.e. on closing the putty console it shuts down. How to make it run persistently so that it can be accessed from anywhere anytime?
@venkataajaykumaryidapalapa7272
@venkataajaykumaryidapalapa7272 4 года назад
Hi bro. I have same doubt as well. Did you figure how to do it ??
@PramodKumar-dr8nn
@PramodKumar-dr8nn 4 года назад
Hey bro, i got the same doubt. Can u help me out?
@mosart03
@mosart03 4 года назад
Did you get the solution?
@kunjalsujalshah1992
@kunjalsujalshah1992 3 года назад
I haven't found a solution yet.
@pruthvipatel7368
@pruthvipatel7368 3 года назад
Solution - search on google using "closing the putty console shuts down the site" and refer to the digitalocean website in the search result for the solution. You need to use the screen command in putty cmd. I hope this helps!
@girish7914
@girish7914 4 года назад
can you create video to deploy model on google cloud !!!!
@VikashKumar-ty6uy
@VikashKumar-ty6uy 3 года назад
Is putty and putty gen require for windows?
@extcresources531
@extcresources531 3 года назад
I am unable to connect using ec2-public ipv4. Even tried to connect using the ipv4 address .. doesnt work.curl localhost is giving correct results. I have used dockerfile to run the fastapi, can someone help me here?
@kudaykumar1261
@kudaykumar1261 3 года назад
While deployment pipe install -r requirements.txt all the packages going to download but at the end (Permission denied: '/usr/local/lib/python3.7') on EC2 instance got this type of error. I tried in the various blogs but i didn't get the answer. So please help me how to solve this error
@kenseifeitan4663
@kenseifeitan4663 4 года назад
Can yiu make a tutorial with mac
Далее
Разоблачение ушные свечи
00:28
Просмотров 132 тыс.
Generative AI With LLM Models Crash Course On AWS Cloud
2:16:49
Deploy ML model in 10 minutes. Explained
12:41
Просмотров 13 тыс.