Questions tagged [google-cloud-run]

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests, providing comprehensive servicefull systems where responsibilities can be outsourced to a specialist service provider.

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests.

Official sites:

2585 questions
0
votes
1 answer

How to allow TCP traffic in GCP Cloud Run?

I've built a Go binary for handling SSH traffic. And deployed it to Cloud Run. Looks like cloud run allows only HTTP traffic, and my attempts to connect via ssh -p 80 ***.run.app fails. How to allow SSH traffic to be passed through? I assume I need…
0
votes
1 answer

Assigning static IP to GCP Cloud Run without load balancer for inbound traffic

Is it possible to assign a static IP to a cloud run service for inbound requests without a load balancer? I am trying to save on costs as cloud run autoscales itself so there really is no need to pay for a load balancer. I'm trying to resolve an IP…
0
votes
1 answer

Global external Application Load Balancer IP Block List

We use the new Google Cloud Global external Application Load Balancer in combination with Cloud Armor and Cloud Run. Our public price APIs are target of automated crawler requests, so we collected a lot of bad IP adresses (10.000 and counting) and…
0
votes
0 answers

GCP Cloud Auth Proxy connection reset by peer

When I ran locally python3 manage.py runserver from one terminal, and from another terminal is the auth proxy. django.db.utils.OperationalError: connection to server at "127.0.0.1", port 5432 failed: server closed the connection unexpectedly …
bhordupur
  • 872
  • 13
  • 14
0
votes
0 answers

How to automatically create a DNS zone and DNS records in google cloud for a CLoud Run hosted API using terraform

I want to host my website on Cloud Run. The website is developed in React, and packaged using golang's "embed" package, which enables the React build assets to be served by the Go "wrapper" REST API. I want to automatically create a DNS Zone and add…
0
votes
0 answers

Can't get passed `Socket for clamd not found yet, retrying `

I'm a beginner in docker and clamav. Sorry in advance if anything doesn't make sense the way I describe it. I've got a docker image built using Maven and the Docker container toolchain and pushed the image to the Google Artifact Registry. It is then…
0
votes
1 answer

Google Cloud Run job succeeding in 2 seconds without included script running

I have Google Cloud Run job that contains a script I need ran. The script is loading data into Google Bigquery. I have a Dockerfile that defines all pre-requisites I need (loading a custom python library from a github Repo, installing python…
0
votes
1 answer

Failed to deploy the app. Error: Violation in UpdateServiceRequest.service.template.containers[0].volume_mounts[0].mount_path: must be a valid path

I'm using Visual Studio Code with Google Cloud Code extension. When I try to use Deploy to Cloud Run with Cloud SQL connections field, I get this error: Failed to deploy the app. Error: Violation in…
0
votes
1 answer

`gcloud builds submit` silently failing during github actions step

During a PR-triggered deploy to Google Cloud Run, I am encountering issues, as my container build and push are failing. There is no error messaging or logging available. From the provided image, the command is assumed to have run without any error,…
0
votes
1 answer

SSH to another machine from a Docker container that is hosted on Google Cloud Run

I have an issue with connecting from my Docker container (hosted on Google Cloud Run) to my local machine via ssh. I’m getting a “Connection Timeout error”. I'm not a networking expert and I'm a newbie to Google Cloud Run, so, I'm going to try my…
TheNomad
  • 293
  • 1
  • 3
  • 10
0
votes
1 answer

How to set a cloud run app to idle state?

In an related but different question I was given a reference to Lifetime of a cloud run The idle state sounds great for my needs, how would an app typically enter the idle state, just calling sleep and wait for an incoming http request, or does it…
Simson
  • 3,373
  • 2
  • 24
  • 38
0
votes
1 answer

Cloud Run service cannot pick up the associate service account and always use the default compute engine service account

I want to ensure that my Cloud Run service is using the correct service account to authorize requests, in accordance with the guidance provided here: https://cloud.google.com/run/docs/securing/service-identity#permissions-required-to-operate.…
0
votes
2 answers

Handling duplicate requests due to cold starts in a Cloud Run API backend

I am currently working with a Cloud Run API backend that processes incoming HTTP POST requests. When the system has been idle for some time, it goes into a "cold start". Upon receiving a new request during a cold start, the request is processed…
Ege
  • 515
  • 5
  • 14
0
votes
0 answers

Trying to fetch a list of files from GDrive - Cloud Run App

I am trying to list the contents for google drive using python. I have an application running on GCP Cloud Run. This is the class that wraps the GDrive api. class GDriveHelper: def __init__(self, credentials=None) -> None: if…
p.magalhaes
  • 7,595
  • 10
  • 53
  • 108
0
votes
1 answer

Extend graceful shutdown time from 10 seconds to more than a minute

I'm planning to move my application to google-cloud-run, and trying to understand what is doable and what parts of the applications needs to be redesigned. The application should be started when data is available, process all new data which becomes…
Simson
  • 3,373
  • 2
  • 24
  • 38