How to set up Django on Cloud Run with Terraform

9 841
15.5
Опубликовано 12 ноября 2021, 0:00
Code for this episode → goo.gle/30jsxcX

Django is a free and open source web application framework, written in Python that can help you build apps. After building your web-based app with Django, how long does it take to deploy to Google Cloud Platform? In this episode of Serverless Expeditions Extended, Craig and Martin will teach you how to quickly deploy your Django-based web app to Google Cloud Run. Watch to learn how Craig uses a Terraform script to automate the deployment process and save Martin’s Saturday!

Chapters:
0:00 - Intro
1:45 - Setting up Django with Terraform
2:38 - Step 1, Activate Google Cloud
2:55 - Step 2, Set up variables
3:10 - Step 3, Activate your service APIs
3:24 - Step 4, Create a custom service account
3:40 - Step 5, Create your database
4:09 - Step 6, Create your secrets
4:25 - Step 7, Prepare your secrets for Django
5:00 - Step 8, Expand Service Account permissions
5:21 - Step 9, Populate your secrets
6:08 - Step 10, Create your Cloud Run service
6:23 - Step 11, Specify Cloud Run permissions
6:38 - Step 12, Grant access to your database
7:02 - Step 13, Run migrations and prepare static files
7:46 - Step 14, View final output
8:27 - Editing the settings.py file
10:16 - Applying the Terraform manifest
13:07 - Wrap-up

Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech

#ServerlessExpeditions #ServerlessExpeditionsExtended #CloudRun

product: Cloud - Serverless Computing - Cloud Run; fullname: Martin Omander;
автотехномузыкадетское