github actions

Deploying Machine Learning models using AWS Lambda and Github Actions - A Detailed Tutorial

Quite a while back, I had written a post in which I described how to package your Machine Learning models using Docker and deploy them using Flask. This post, through a PoC, describes - How to package your model using Docker (similar as last post) How to push the Docker container to Amazon ECR Add a Lambda Function for your model Make a REST API using Amazon API Gateway to access your model Automate the whole process using Github Actions, so that any updates to the model can take effect immediately Make a Streamlit app to make a UI to access the REST API (for the model deployed on AWS) All the code can be found in my Github repository.