Can You Create an MLOps Pipeline With GitHub-Heroku and FastAPI in Minutes?

Kaan Boke Ph.D.
Geek Culture
Published in
8 min readSep 7, 2022

--

Photo by Frans van Heerden: https://www.pexels.com/photo/aurora-borealis-624015/

You’ll deploy your Fast API to Heroku with GitHub Actions in minutes.

You’ll implement the MLOps pipeline, Continuous Integration, and Continuous Deployment with easy-to-follow, step-by-step explanations.

Let’s start.

This article is a part of the MLOps Best Practices list. You can find the other articles on the series here.

CONTENTS

Introduction

FastAPI

CI (Continuous Integration) Part

Continuous Integration Part of the YAML File

Continuous Deployment (CD) Part

Procfile

Heroku Website

Environment Variables

Continuous Deployment Part of the YAML File

Finalize the YAML file

Conclusion

Code

INTRODUCTION

In the previous article we discussed end-to-end MLOps pipeline with Flask Api.

In this article, we will discuss how to implement an end-to-end MLOps pipeline using GitHub Actions, Heroku and FastApi.

--

--

Kaan Boke Ph.D.
Geek Culture

Data & ML Engineer | Learn, Share and Grow Together