
Deploy a Django web app to production using Docker, Cloud Build, and Google Cloud Run. Containerize any Python and Django versions and run the app in Google Cloud Run.
Install and configure Python and Django with Docker to deploy a serverless Django app on Google Cloud Run, using Cloud Build and the Google SDK.
Set up a virtual environment with Pipenv and configure a VSCode workspace for Django. Create a dev folder, open it in VSCode, and install Django with Python 3.8.
Stage your Django project for production by creating separate local and production settings modules, migrate with a production database, and validate behavior using environment-based settings.
Build a production-aware home page view that uses Django settings to render an environment-based message, with separate secret keys, environment variables, debug off, and a production database.
Learn how to run Django with WSGI in production using gunicorn or Waitress, configure production settings, manage allowed hosts, and use local scripts to streamline deployment.
Learn to create a cloud sql postgres instance on the Google cloud platform, configure databases and users, capture the connection name, and set up a proxy for Cloud Run.
Install the cloud sql proxy to connect your local machine to a live cloud sql instance for postgres. Download the correct binary and create a startup script.
Create a service account in Google Cloud Platform and assign the Cloud SQL Client role. Generate a JSON key, download it, and store it locally.
Set up and run the Cloud SQL proxy with your project’s instance and service account key, update the proxy script, and enable the Cloud SQL Admin API to start locally.
Set up a local Postgres and a Django proxy to connect to Google Cloud SQL, install psycopg2-binary, configure settings, and run migrations for local development.
Create a dockerfile to containerize Django project using Python 3.8 slim, set app home, copy code, and install dependencies. Bind gunicorn to 0.0.0.0:PORT for cloud run with entry point script.
Build and run a Django app in Docker, adjust the Dockerfile, make the entry point executable, configure ports and environment variables, and test locally before cloud run.
Learn how to build a local docker image, tag it for Google Cloud Registry, and push it to GCR, then verify the container appears in your registry.
Learn to build and push a dockerized Django app using Google Cloud Build with gcloud commands and Google Container Registry. Manage CI, artifacts, and Cloud Run deployment workflows.
Deploy a serverless Django app to Google Cloud Run by pushing a Docker image from container registry with a deploy script, selecting a managed region, and configuring production settings.
Make changes in production, build, and deploy new revisions on Cloud Run, adding environment variables like secret key and database credentials while testing with the new revision.
Run production migrations on cloud run via a local proxy, create a production database and user, then deploy with environment variables and the instance connection name for cloud database access.
Build and deploy a serverless container app on Google Cloud Run with Git triggers. Prepare production with static file serving, domain mapping, transactional emails, and Django deployment checks.
Deploy a production-ready Serverless Django Application by using a Docker Container, Google Cloud Build, Google Cloud SQL, & Google Cloud Run.
Serverless allows us to focus on our code and deploy more. What's better, our serverless applications only cost us money when they're used.
Traditionally, serverless was reserved for non-containerized applications. Google Cloud Run and the open-source equivalent Knative unlocks serverless for containers. Google Cloud Run is a managed version of Knative. Knative is a package for Kubernetes. In other words, you get the benefits of Kubernetes and Knative when you use Google Cloud Run.
Docker Containers make it easy to create our own isolated environment on the operating system level. This is exactly what we need in so many applications. Docker containers have pioneered a new way of deployment options because we now have complete control over the system-level runtime.
Learn to build and deploy a serverless Django application on Google Cloud Platform's Cloud Run service.
Serverless apps using containers is seriously amazing. Let's see why.
We'll cover:
Minimal Dockerfile for Containerizing Django
Cloud Build
Cloud SQL with Postgres
Cloud SQL Proxy for Local Dev Access
Cloud Run
*This course requires you to download open source software (such as Python, Django, Docker). If you are a Udemy Business user, please check with your employer before downloading software.