Deploy Django on GCP

How to deploy Django to Google Cloud Platform in VM instance

@Todo - General information Google Cloud Platform

Topics covered

  • GCP Account Creation

  • GCP Account Settings

  • The project to be deployed

  • GCP Database set up

  • GCP Environment set up

  • GCP Domain settings

  • GCP SSL certificates

  • GCP CI/CD from Github

  • GCP LIVE Service monitoring

GCP Account Creation

@Todo: Step by step presentation

GCP Account Settings

@Todo: The most important things to know by a beginner

The project to be deployed

Source project: https://github.com/app-generator/django-soft-ui-dashboard

GCP Database set up

@Todo:

  • How to set up a PostgreSQL database + user credentials

  • How to set up a MySQL database + user credentials

GCP Environment set up

@Todo:

  • How to specify the Python version to be used

  • How to set the environment variables used by the app

GCP Domain settings

@Todo: How to park a domain or a subdomain to the service

GCP SSL certificates

@Todo: How to enhance the service with valid certificates (not self signed)

GCP CI/CD from Github

@Todo: This section explains how to link an automatic deploy from Github on new commits

GCP LIVE Service monitoring

@Todo: How to check out the service health and uptime

@Todo: mention at least two valuable resources (articles or docs)

Last updated