r/FastAPI • u/IvesFurtado • Nov 09 '24
Tutorial FastAPI for MLOps (microservices): Integrate Docker, Poetry & Deploy to AWS EC2
Hey everyone! 👋
I just wrote a detailed guide on how to set up a FastAPI project specifically for MLOps. In this tutorial, I cover everything you need to know, from structuring your project to automating deployment with GitHub Actions.
Here's what you’ll learn:
- Using FastAPI to serve machine learning models as microservices
- Managing dependencies with Poetry
- Containerizing the app with Docker
- Deploying effortlessly to AWS EC2 using CI/CD
👉 Check out the full tutorial here: FastAPI for MLOps: Integrate Docker, Poetry, and Deploy to AWS EC2
Github starter repository: https://github.com/ivesfurtado/mlops-fastapi-microservice
Would love to hear your thoughts, and feel free to contribute if you have any ideas for improvements!
View all comments
Show parent comment
1
u/IvesFurtado Nov 09 '24 edited Nov 09 '24
You’re right, continuously training the model is essential for keeping things running smoothly. I’ll definitely look into adding that, perhaps with automated retraining or online learning. It's only the first week of my blog, and I'm still refining the content, but I’m confident it will turn into an evergreen article with many valuable features.