Connect Google Cloud SQL to a Python Cloud Function

Опубликовано: 06 Ноябрь 2022
на канале: Vladsave Coding
11,653
160

In this video we will connect to the Google Cloud SQL database from a Cloud Function written in

Python. We will start by creating the Cloud SQL instance, then connect to it and enter some data,
then work on the function that can read this data.


Source code, commands and links used in the video:
https://github.com/titus58/youtube-tu...


Chapters
00:00 Introduction
00:28 Create the Cloud SQL instance
02:22 A warning on Cloud SQL pricing
05:33 Connect to Cloud SQL from localhost using cloud_sql_proxy
09:50 Create database table and enter data
12:39 Start on the Python code, install PyMySQL library
14:28 Write main.py
18:28 Passing query parameters without causing SQL injection attack
19:59 Reorganize code, prepare for Cloud Function
21:39 Create the cloud function
22:29 Give IAM permission to the App Engine service account
25:08 Investigate function failure, enable Cloud SQL Admin API
26:46 Final testing and repeated warning about cost
27:41 Outro


На этой странице сайта вы можете посмотреть видео онлайн Connect Google Cloud SQL to a Python Cloud Function длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Vladsave Coding 06 Ноябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 11,653 раз и оно понравилось 160 зрителям. Приятного просмотра!