Serverless Docker-based Python Application on Google Cloud

Learn to Build & Deploy a Python Web Application using Docker, Cloud Build & Cloud Run on the Google Cloud Platform

Ratings: 4.31 / 5.00




Description

Deploy a Serverless Python Application with Docker Containers and Google Cloud Run.

Running our apps on managed serverless architectures allows us to focus on our code and deploy more without worrying about the underlying infrastructure. What's better, our serverless applications only cost us money when they're used this is because serverless apps can scale to 0 running instances or scale up as needed.

Serverless is great for testing all kinds of app ideas as well as testing various stages of a stable app. Cloud Run is a managed service that unlocks serverless apps for your projects on Google Cloud. It's how we run this website exactly.

Cloud Run is a managed Knative offering that runs on Kubernetes so if you're interested in deploying a self-managed Knative service, consider watching my course Try Knative.

Here's what we're going to learn in this course:

  • Creating a basic FastAPI web app (in Python)

  • Implement python-decouple to manage environment variables in FastAPI

  • Writing a basic automated test to ensure our app is working as needed

  • Prepare and learn about a Dockerfile before building a container

  • Building a Docker container locally

  • Running a custom Docker image (container) locally

  • Push our code to GitHub

  • Leverage GitHub Actions to perform CI/CD workflows

  • Using Github Actions to build and push our Docker container to Google Cloud

  • Use Google Cloud Secrets manager within our Python app

  • Update Secrets in Github Actions as needed

  • Deploy our app continuously on Google Cloud Run

Course was completely revamped and released on Feb 15th, 2023

What You Will Learn!

  • Deploying a Serverless Docker-based Python Web Application
  • Setup the Google Cloud Command Line tool on your system
  • Build and run Docker containers Locally
  • Web Application Deployment to Google Cloud
  • Learn what Serverless Apps app
  • Deploy to Cloud Run on Google Cloud Platform
  • Build a Docker Container for Python apps
  • Learn and understand Docker Containers and Why they're useful
  • Learn CI/CD Practices with GitHub
  • Leverage GitHub Actions to automate testing, building, and pushing containers
  • Use GitHub Actions workflows to manage Google Cloud projects
  • Implement Google Secret manager and use GitHub as our single source of truth
  • Learn various Docker and Dockerfile Debugging Techniques.

Who Should Attend!

  • Students with some Python Experience
  • Beginner web app developers with an interest in Serverless applications
  • AWS Lambda users looking to unlock the power of Container-based Serverless Apps
  • Anyone looking to learn more about Docker Containers and/or Serverless applications
  • Web developers looking to adopt Google Cloud to run various aspects of their apps
  • Anyone interested in Knative or Kubernetes but want to start somewhere a little less challenging
  • DevOps engineers looking to better understand CI/CD with Google Cloud through GitHub Actions