Serverless Django
Learn to build and deploy a serverless Django application on Google Cloud Platform's Cloud Run service.
We'll cover:
- Minimal Dockerfile for Containerizing Django
- Cloud Build
- Cloud SQL with Postgres
- Cloud SQL Proxy for Local Dev Access
- Cloud Run
Are you new to...
- Python?
- Django? Complete any version of Try Django.
- Docker?
- Django on Docker?
- Serverless on Google Cloud? (GCP)
Project Reference Guide
Code Reference
Lessons
1
Welcome
2:35
2
Requirements
4:51
3
Virtual Environment with Pipenv & VSCode Workspace
3:23
4
Staging Django for Production
15:37
5
Home Page View including Settings Variable
7:04
6
WSGI with Gunicorn or Waitress
10:20
7
Google Cloud Platform and Cloud SQL
6:38
8
Install the Cloud SQL Proxy
3:24
9
IAM Service Account & Role
3:58
10
Run Cloud SQL Proxy with Service Account
7:35
11
Connect Django & Proxy Database
14:39
12
Dockerfile & Docker
17:49
13
Docker Build & Push To GCloud Container Registry
7:07
14
Google Cloud Build
7:38
15
Deploy to Google Cloud Run
8:10
16
Make Changes, Build, & Deploy
8:14
17
Production Database on Cloud Run
15:35
18
Thank you and next steps
7:24