GitHunt
LL

llabori-venehsoftw/cloudsql-jump-start-solution-for-genai

A jump start solution using GKE or Cloud Run with Cloud SQL and VertexAI

Deploy a production ready GenAI app in less than 30 minutes

Here is a jump start solution of how to build a basic chatbot API that:

  • Leverages GKE or Cloud Run with Cloud SQL, VertexAI, and pgvector
  • Demonstrates connectivity to Cloud SQL using Private Service Connect in a VPC
  • Codifies all infrastructure including using Terraform
  • Uses Python with asyncpg and FastAPI
  • (optional) Supports cross-project setups with Cloud SQL and GKE or Cloud Run
    in separate projects

This solution is an operationalized version of a previously published colab,
Building AI-powered data-driven applications using pgvector, LangChain and
LLMs
.

Choose your Architecture

This app can be deployed with two different flavors:

  • Cloud Run
  • Google Kubernetes Engine (GKE)

Cloud Run (README)

image

To deploy the app using Cloud Run head to the run folder.

GKE (README)

image

To deploy the app using GKE head to the gke folder.

Languages

HCL52.9%Python41.0%Dockerfile6.1%

Contributors

Apache License 2.0
Created July 15, 2025
Updated July 15, 2025
llabori-venehsoftw/cloudsql-jump-start-solution-for-genai | GitHunt