How to Deploy ML Solutions with FastAPI, Docker, & AWS

  Рет қаралды 18,747

Shaw Talebi

Shaw Talebi

Күн бұрын

Пікірлер: 37
@ShawhinTalebi
@ShawhinTalebi 6 ай бұрын
More on Full Stack Data Science👇 👉Series Playlist: kzbin.info/aero/PLz-ep5RbHosWmAt-AMK0MBgh3GeSvbCmL 💻Example Code: github.com/ShawhinT/KZbin-Blog/tree/main/full-stack-data-science/ml-engineering
@waleedashraf9t
@waleedashraf9t 2 күн бұрын
One of the best video available. on the internet for deployment.
@ShawhinTalebi
@ShawhinTalebi Күн бұрын
Glad it was helpful :)
@FREAK-st6kk
@FREAK-st6kk 3 ай бұрын
One of the best aspects of AWS Elastic Cloud is how seamlessly everything comes together, whether you're using FastAPI or Docker. It's all integrated beautifully.
@divyanshtripathi4867
@divyanshtripathi4867 5 ай бұрын
This is such a great video, no nonsense straight to the point!
@pawe5560
@pawe5560 6 ай бұрын
Hey Shawn, videos on FastAPI and Docker from you would be great.
@ShawhinTalebi
@ShawhinTalebi 6 ай бұрын
Thanks for the suggestion! I'll add it to my queue :)
@miraclechijioke1213
@miraclechijioke1213 2 ай бұрын
This was so simplified. thank you Shawhin
@jonathankerr2479
@jonathankerr2479 2 күн бұрын
Fantastic video. Thank you for this!
@Coret-with-c
@Coret-with-c 2 ай бұрын
Super detailed explanation, thank you!
@tusharrohilla7154
@tusharrohilla7154 14 күн бұрын
It was amazing ...love this type of content❤
@nocomments_s
@nocomments_s 2 ай бұрын
I like your video, it deserves much more views
@brianmorin5547
@brianmorin5547 6 ай бұрын
This is fantastic stuff as I’m pulling out my hair on this same step. You have the right idea for the next video, but I think the next one after that is making the chat interface publicly accessible
@ShawhinTalebi
@ShawhinTalebi 6 ай бұрын
Great suggestion Brian! There are several ways one can do this. The simplest and cheapest would be hosting it via HuggingFace Spaces: huggingface.co/spaces/launch However, for this specific use case the most practical option would be to embed it into my Squarespace website. I'll need to do some more digging to see the best way to do that.
@brianmorin5547
@brianmorin5547 5 ай бұрын
@@ShawhinTalebi The streamlit cloud has been my go-to so far. I am toying with creating a react front end template but would like to see what others are doing
@pedro.henrique-k5z
@pedro.henrique-k5z 4 күн бұрын
Hi! Great video! Thanks for sharing with us! Do you have any recommendation on what to study next to learn more about these topics or to go deeper in it?
@ShawhinTalebi
@ShawhinTalebi Күн бұрын
Happy to give recs. What's your end goal?
@dhirajkumarsahu999
@dhirajkumarsahu999 6 ай бұрын
Thank you so much, such videos are really very helpful
@ShawhinTalebi
@ShawhinTalebi 5 ай бұрын
Glad to hear :)
@RatherBeCancelledThanHandled
@RatherBeCancelledThanHandled 2 ай бұрын
well done , Thanks !
@fatimayousaf1644
@fatimayousaf1644 Ай бұрын
Hey Shaw! what a beautiful content. I followed all the steps from ML APP from scratch till deployment but at last moment, I don;t have AWS free tier account as they still ask to enter the debit card details for having free access, so can you please tell me another way round to cope up with this ?
@ShawhinTalebi
@ShawhinTalebi Ай бұрын
Glad you liked it! You could try deploying to railway (railway.app/). I just used them for a project and don't think I needed to input credit card info.
@angieyoon9900
@angieyoon9900 5 ай бұрын
Thank you!
@paulohss2
@paulohss2 Ай бұрын
Great tutorial... Im still not able to connect to the API unfortunately (This site can’t be reached,refused to connect.) even though I followed the network config steps you explained...
@ShawhinTalebi
@ShawhinTalebi Ай бұрын
To confirm, you added inbound rules in the VPC dashboard to allow all incoming traffic from your IP? Does the IP listed in the inbound rules match yours?
@thonnatigopi
@thonnatigopi 5 ай бұрын
Bro create a video for handling post and get request and multiple endpoints using fast api dockerize and ECR and aws lambda functions
@ShawhinTalebi
@ShawhinTalebi 4 ай бұрын
Great suggestion. I'll add that to my list!
@abbasrabbani7665
@abbasrabbani7665 6 ай бұрын
that was an awesome video, I have a task for one click ml model deployment on aws, azure and GCP, like one click on aws and other click on azure. CAn u please guide me shortly the roadmap...!
@ShawhinTalebi
@ShawhinTalebi 6 ай бұрын
Thanks for your comment. Sorry I'm not sure what you mean by "one click ml model deployment". Could you share more details?
@Smrigankiitk
@Smrigankiitk Ай бұрын
how can we integrate streamlit to make the UI to get input and send to model and display the output here ?
@ShawhinTalebi
@ShawhinTalebi Ай бұрын
Good question. This should be similar to the Gradio example shown 25:54. This blog post might be helpful: blog.streamlit.io/create-a-search-engine-with-streamlit-and-google-sheets/
@ax5344
@ax5344 Ай бұрын
where does K8S fit in in this pipeline?
@ShawhinTalebi
@ShawhinTalebi Ай бұрын
Good question. In my experience, Kubernetes is rarely used in DS/ML, so I wouldn't worry learning it if your just getting started.
@rameshbabu2085
@rameshbabu2085 5 ай бұрын
I have a DL model which takes about 5 mins and 3gb GPU to process the query and to return result. I need to handle 5 queries per minute and I have a GPU with 8gb in GCP. How can I deploy such a model without memory leakage and I should be able to use the GPU at its full potential?
@ShawhinTalebi
@ShawhinTalebi 5 ай бұрын
How big is that model? Do you have GPU parallelization enabled? If it takes 5 min and 3GB to do one query with parallelization, the model may be too big to meet those technical constraints.
@vivekasthana12345
@vivekasthana12345 2 ай бұрын
Thank you Shaw for making so many amazing videos. quick question from this video.. where exactly are you making a connection between your dockerhub and AWS ECS? Is it where you mention the url of the image? what if someone has a similar image name (shawhint/yt-search-demo) or that's not possible? Sorry if its a dumb question 😐
@ShawhinTalebi
@ShawhinTalebi 2 ай бұрын
Good question! Yes, exactly. No one will have a similar image name because the first part will be your unique DockerHub username.
Deploy with Docker - Step-by-step Tutorial
20:20
Dave Gray
Рет қаралды 24 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Натурал Альбертович
Рет қаралды 4,5 МЛН
QLoRA-How to Fine-tune an LLM on a Single GPU (w/ Python Code)
36:58
How To Deploy Your RAG/AI App On AWS (Step by Step)
55:07
pixegami
Рет қаралды 15 М.
Deploy ML model in 10 minutes. Explained
12:41
Danil Zherebtsov
Рет қаралды 33 М.
How to deploy a dockerized FastAPI to Cloud Run
22:22
COMMAND
Рет қаралды 4,2 М.
Deploy ML models with FastAPI, Docker, and Heroku | Tutorial
18:45
Deploying machine learning models on Kubernetes
26:32
mildlyoverfitted
Рет қаралды 19 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 1 МЛН
4 Skills You Need to Be a Full-Stack Data Scientist
19:58
Shaw Talebi
Рет қаралды 7 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 259 М.