Serge Aurubin

SERGE AURUBIN

DATA SCIENTIST

Welcome to my blog for everything having to do with data science and analysis. I am always looking for new opportunities to drive business insight using data analysis.

Data & Analytics
  • Data Analysis
  • Power BI
  • Excel
  • Data Pipelines
  • Matillion
Engineering
  • Software Developer
  • Python
  • PHP
  • ReactJS
  • Flutter
  • Front End Dev
  • Back End Dev
Databases
  • MySQL Dev/DBA
  • Oracle DBA
Cloud & AI
  • Amazon Web Services
  • Docker
  • Kubernetes
  • Git
  • Artificial Intelligence
  • Claude
  • OpenAI
Back to Videos

Python FastAPI Tutorial (Part 19): Deploy with Docker - Serverless Containers and Custom Domain

Corey Schafer

April 21, 2026   2

In this video, we'll be learning how to deploy our FastAPI application using Docker and Google Cloud Run. We'll containerize our app by writing a multi-stage Dockerfile, set up a serverless PostgreSQL database with Neon, deploy our container to Cloud Run, and configure a custom domain with HTTPS. We'll also add security headers to our application through middleware. This is a different approach from the VPS deployment in the previous video, where instead of managing our own server, Google handles the infrastructure for us and our app can scale to zero when nobody's using it. Let's get started...

The code from this video can be found here:
https://github.com/CoreyMSchafer/FastAPI-19-Deployment-Docker-GCR

Full FastAPI Course:
https://www.youtube.com/playlist?list=PL-osiE80TeTsak-c-QsVeg0YYG_0TeyXI

Docker Desktop:
https://www.docker.com/products/docker-desktop/

Create a New Google Cloud Project:
console.cloud.google.com/projectcreate

Google Cloud SDK:
https://cloud.google.com/sdk/docs/install

NameCheap (with Referral):
https://namecheap.pxf.io/nyBgR

Google Search Console:
search.google.com/search-console/

✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms...

0 Comments

No comments yet. Be the first to weigh in.

Back to Videos

Login