Загрузка...

Google AI Studio to Cloud Run: deploy, custom domain & security pitfalls

In this video, I walk through the process of taking an application built with a single prompt in Google AI Studio and publishing it directly to Google Cloud Run. As an example - I am building a gamified English grammar trainer called "Conditionally Speaking" and deploy it as a live web application accessible to anyone.

I cover how to move beyond the basic "Share" link in AI Studio to a production-ready Cloud Run service. Ialso dive into advanced configuration, including how to map a custom domain (pleasework.pl in this example) using a Global External Application Load Balancer and Network Endpoint Groups, and second method to attach a custom domain via 'Cloud Run domain mappings'. Generally you can read about here here: https://docs.cloud.google.com/run/docs/mapping-custom-domains

Crucially, I discuss the security implications of this deployment method. We inspect the network traffic to see how Google securely proxies Gemini API requests so your API keys aren't exposed to the client. However, I also demonstrate a vulnerability: while the keys are hidden, the proxy endpoint itself is allow potential misuse if not properly secured with authentication or code restrictions.

Mentioned article on how Google AI Studio securely proxies requests:
https://glaforge.dev/posts/2026/02/09/decoded-how-google-ai-studio-securely-proxies-gemini-api-requests/ (highly recommended!)

Also, I strongly recommend to read and make sure you understand https://aistudio.google.com/apps?source=faq before you decide to build and publish the app via Google AI Studio.

Timestamps:

00:00 - Intro
00:48 - Building the App
02:08 - AI Studio Preview
03:30 - Deploying to Cloud Run
04:20 - Live App Demo
05:30 - Custom Domain (Load Balancer)
07:43 - Security Analysis
08:32 - Proxy Architecture
08:53 - Exploit Demo
11:43 - Custom Domain (Direct Mapping)
13:10 - Testing LB Domain
14:25 - Testing Direct Mapping
15:05 - Updating the App
16:02 - Redeploying
16:25 - Rollbacks
16:50 - Cleanup

Видео Google AI Studio to Cloud Run: deploy, custom domain & security pitfalls канала storagefreak
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять