Deploy a Serverless Django app on Google App Engine

Create a Django app with Docker and deploy it to Google Cloud using Google App Engine, Datastore & Secret Manager

3.95 (51 reviews)
Udemy
platform
English
language
Development Tools
category
570
students
3.5 hours
content
Jul 2021
last update
$64.99
regular price

What you will learn

How to use Serverless technology

How to use Google App Engine

How to use Google Cloud Datastore

How to use Google Cloud Secret Manager

How to setup a Django project using Docker

How to build a Django app

Description

Welcome to our course: Create and Deploy a Django app to Serverless Google App Engine!

This is a concise, project-based course that will teach you how to deploy Django to Google App Engine.

Serverless technology is a new concept which is quickly gaining ground.

The benefits of Serverless is that there are no servers for you to manage, which saves a huge amount of time when setting up and maintaining projects.

This means developers can spend more time building bespoke functionality for their application and less time managing infrastructure.

In this course you’ll learn how to deploy Django to one of the most popular Serverless technologies available: Google App Engine. You’ll also learn how to use a suite of Google Cloud technologies such as Datastore and Secret Manager.

During the course you’ll be creating a URL Shortener with Django, using Docker as a development environment and Datastore as a database.

We’ll be following all the best practices such as:

  • Creating a development environment using Docker

  • Writing unit tests with Test Driven Development (TDD)

  • Setting up a local Datastore emulator

  • Using Secret Manager to protect sensitive config values

  • Managing static files

This is an advanced level course that assumes previous experience with Django and Docker.

Ready to deploy Django to Google App Engine, and learn all the essential components to get your project up and running in no time? Let’s go!

Content

Create Django Project

Docker for Django Development
Add Dockerfile [Follow Along]
Create Docker Compose config [Follow Along]
Create Django project [Follow Along]
Create Django app [Follow Along]
Configure Django project [Follow Along]
Create hello world view [Follow Along]
Create Django project overview

Deploy to Google App Engine

How Google App Engine works
Using Docker for deployment to GAE
Create deployment Docker Compose config [Follow Along]
Create GAE config [Follow Along]
Create GAE project [Follow Along]
Deploy to GAE [Follow Along]
Deploying to GAE overview

Setup Datastore

Using Datastore with Django
Setup Datastore emulator [Follow Along]
Custom NDB Middleware
Create NDB Middleware [Follow Along]
Unit tests with Datastore
Customise TestRunner [Follow Along]
Create redirect model [Follow Along]
Create a test redirect [Follow Along]
Datastore setup overview

Setup Secret Manager

Using Secret Manager
Add tests for getting secrets [Follow Along]
Implement feature for getting secrets [Follow Along]
Update Django settings [Follow Along]
Set secret in Secret Manager [Follow Along]
Deploy secret manager changes to GAE [Follow Along]
Overview of setting up Secret Manager

Build Bouncer

Plan bouncer app
Write tests for listing links [Follow Along]
Implement feature for listing links [Follow Along]
Create tests for redirect [Follow Along]
Implement redirect [Follow Along]
Deploy and test bouncer on GAE [Follow Along]

Screenshots

Deploy a Serverless Django app on Google App Engine - Screenshot_01Deploy a Serverless Django app on Google App Engine - Screenshot_02Deploy a Serverless Django app on Google App Engine - Screenshot_03Deploy a Serverless Django app on Google App Engine - Screenshot_04

Reviews

Meisam
July 23, 2023
great course , it could be more helpful , if the instructor went with a Relational dbms like MySQL , anyway , Thank you
Edward
January 19, 2023
Mark is one of the best instructors on Udemy. If you have an opportunity to take his class; take it. His courses are informative and well thought through. I am not only learning python, django, but also better ways to develop. Using Mark's docker compose techniques, I am taking a ML class and installed anaconda in a docker container for the class.
Jorge
April 11, 2022
The course is great, but it has too many modifications in the Django settings, no more able admin panel, no more AuthenticationMiddleware which are fundamentals parts for Django, the configuration for App Engine is overwhelming and lots of custom code must be added to Django so it fits into the requirements of Google Cloud. I think an instance like AWS EC2 with a docker image is a better choice for basic and intermediate projects.
Stephen
December 18, 2021
Mark is clearly very knowledgable. Trying to keep up with his typing is tough so you don't miss the explanation, lucky there is pause.
Ruihou
September 10, 2021
I found this course from the youtube, the courses are all very practical. For me, I want to deploy a django app, but I don't how to do it. I searched online, and know I should use the Docker, but I haven't get in touch with Docker before, so I continue searched online , also bought a book. After 3 or 4 days, I got familar with Docker, but I still don't know how to use it. Finally I found youtube one course teaching how to deploy django to the cloud. I followed the instruciotn and deployed my first app. I opened the londonappdeveloper website, and noticed there is a course about google app engine, I think it will be simpler than set up the cloud vm. So I bought this course. Thing started with so many confusion, after I follow this instrucion, I get some clue, now it become simple. Thanks
Grant
July 16, 2021
As always, a fantastic and detailed course from Mark. He explains the base concepts very well and clearly, and we even have a useful application as a template to check back on at the end of the course. I now feel secure that I can deploy my own apps on GAE, and have more confidence in using Docker for development and testing.

Coupons

DateDiscountStatus
2/11/202253% OFF
expired

Charts

Price

Deploy a Serverless Django app on Google App Engine - Price chart

Rating

Deploy a Serverless Django app on Google App Engine - Ratings chart

Enrollment distribution

Deploy a Serverless Django app on Google App Engine - Distribution chart
4162608
udemy ID
7/3/2021
course created date
7/8/2021
course indexed date
Bot
course submited by