DevOps for Machine Learning: CI/CD, APIs & Deployment
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
DevOps for Machine Learning: CI/CD, APIs & Deployment
This course is part of Machine Learning Operations (MLOps) Specialization
Instructor: Board Infinity
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Build CI/CD pipelines with GitHub Actions to automate ML testing, training, and deployment workflows
Develop REST APIs for ML models using FastAPI with validation, error handling, and OpenAPI docs
Containerize ML applications using Docker and optimize multi-stage builds for production
Apply Git, DVC, and automated testing to create reproducible, version-controlled ML projects
Skills you'll gain
Details to know
May 2026
16 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
"DevOps Foundations for ML is designed for aspiring MLOps engineers, data scientists, and developers who want to bring DevOps discipline into machine learning workflows. You'll learn to automate, test, containerize, and deploy ML models using Git, GitHub Actions, Docker, and FastAPI β building production-ready pipelines end to end.
The first module builds your foundation in version control and automation. You'll configure Git repos, adopt branching strategies, and use GitHub Actions to automate testing and linting of ML code. The second module focuses on ML pipeline automation. You'll design multi-stage CI/CD workflows that handle data preprocessing, training, evaluation, and automated retraining with secure secret management. The third module teaches you to serve ML models as real-time REST APIs using FastAPI, covering input validation, latency optimization, testing, and OpenAPI documentation. The final module covers packaging and deployment. You'll containerize ML services with Docker, optimize image size, and automate deployments to cloud runners with monitoring. By the end of this course, you will: - Build CI/CD pipelines with GitHub Actions for automated ML testing and retraining - Develop and test ML REST APIs using FastAPI with validation and OpenAPI docs - Containerize ML services with Docker and deploy them to production - Apply version control and automated testing best practices for reproducible ML"
Learners are introduced to the fundamental DevOps mindset for ML. They will understand how version control, automation, and continuous testing form the backbone of reproducible ML engineering.
What's included
9 videos3 readings4 assignments
9 videosβ’Total 61 minutes
- DevOPS - Foundation to MLβ’4 minutes
- Version Control and Automation Foundationsβ’5 minutes
- Career Scope in MLOps and DevOps for MLβ’5 minutes
- Git Workflows for MLβ’7 minutes
- CICD Basics with GitHub Actionsβ’4 minutes
- Testing ML Code and Dataβ’14 minutes
- Multi-Stage Buildsβ’6 minutes
- Managing Environment Variablesβ’9 minutes
- Secrets and Credentials in Containersβ’6 minutes
3 readingsβ’Total 90 minutes
- Git Basics for ML Projectsβ’30 minutes
- Git LFS and DVC Basicsβ’30 minutes
- Workflow YAML Structureβ’30 minutes
4 assignmentsβ’Total 150 minutes
- Git Workflows for MLβ’30 minutes
- CI/CD Basics with GitHub Actionsβ’30 minutes
- Testing ML Code and Dataβ’30 minutes
- Version Control and Automation Foundationsβ’60 minutes
This module explores how to automate the ML lifecycle from raw data to model deployment using CI/CD frameworks and workflow orchestration.
What's included
7 videos3 readings4 assignments
7 videosβ’Total 67 minutes
- Introduction to Docker Composeβ’10 minutes
- Running ML APIs and Databases Togetherβ’9 minutes
- Networking Between Containersβ’10 minutes
- ML Pipeline Automationβ’5 minutes
- Defining Pipeline Strategiesβ’14 minutes
- Implementing GitHub Actions for ML Pipelinesβ’8 minutes
- Testing and Validating Automated Pipelinesβ’11 minutes
3 readingsβ’Total 90 minutes
- Testing Coverageβ’30 minutes
- ML Test Best Practicesβ’30 minutes
- Identifying Dependenciesβ’30 minutes
4 assignmentsβ’Total 150 minutes
- Defining Pipeline Stagesβ’30 minutes
- Implementing GitHub Actions for ML Pipelinesβ’30 minutes
- Testing and Validating Automated Pipelinesβ’30 minutes
- ML Pipeline Automationβ’60 minutes
Learners gain practical experience deploying ML models as real-time APIs, focusing on performance, reliability, and documentation.
What's included
6 videos3 readings4 assignments
6 videosβ’Total 37 minutes
- Building and Serving ML APIsβ’7 minutes
- FastAPI for Model Servingβ’6 minutes
- Connecting Models to APIsβ’9 minutes
- Start the APIβ’4 minutes
- Testing and Documenting APIsβ’8 minutes
- Manual Endpoint Test Commandβ’4 minutes
3 readingsβ’Total 90 minutes
- Setting Up Multi-Step Workflowsβ’30 minutes
- Connecting Models to APIsβ’30 minutes
- Log-Based Debuggingβ’30 minutes
4 assignmentsβ’Total 150 minutes
- FastAPI for Model Servingβ’30 minutes
- Connecting Models to APIsβ’30 minutes
- Testing and Documenting APIsβ’30 minutes
- Building and Serving ML APIsβ’60 minutes
This final module combines DevOps and MLOps principles to create production-ready containerized ML services with automated deployment.
What's included
6 videos3 readings4 assignments
6 videosβ’Total 42 minutes
- Packging and Deploymentβ’6 minutes
- Docker Fundamentals for MLβ’10 minutes
- Building and Running ML containersβ’6 minutes
- Docker Compose Commandsβ’7 minutes
- Deploying Containers with CI-CDβ’6 minutes
- Monitoring and Verificationβ’8 minutes
3 readingsβ’Total 90 minutes
- Designing Automated Retraining Pipelinesβ’30 minutes
- Input Validation and Error Handlingβ’30 minutes
- Optimizing Response Timeβ’30 minutes
4 assignmentsβ’Total 150 minutes
- Docker Fundamentals for MLβ’30 minutes
- Building and Running ML Containersβ’30 minutes
- Deploying Containers with CI/CDβ’30 minutes
- Packaging and Deploymentβ’60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Machine Learning
- B
Board Infinity
Course
- B
Board Infinity
Course
Why people choose Coursera for their career
Frequently asked questions
Yes, basic familiarity with Python and machine learning concepts (training a model, working with datasets) is recommended. You do not need advanced ML theory β the focus is on engineering and deployment workflows.
You'll work hands-on with Git, GitHub Actions, Docker, FastAPI, pytest, and DVC. These are the industry-standard tools used by MLOps and ML engineering teams.
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
More questions
Financial aid available,
