Relative Content

Tag Archive for google-cloud-run

Run Cloud Run function without HTTP request timeout limits

I have a simple Python Cloud Run script that takes a while to run. I am reading online that Cloud Run jobs can last up to 60 minutes, but mine are timing after 30 seconds even though I have it set to 3600, which I assume is because I’m calling it via HTTP.

Load Balancer + Cloud Run + Cloud SQL | Connection reset by peer

I am currently hosting a FastAPI (Python) app on Cloud Run. I also have a Cloud SQL DB to store some data. Both Cloud Run and Cloud SQL are on the same VPC network. I am using this code (connect_tcp_socket) to connect my Cloud Run instance to my Cloud SQL DB.