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
0 answers

flask-sock doesn't send/receive messages on Cloud Run

If I clone Miguel Grinberg's flask-sock and run examples/clock.py I get a templates/clock.html which receives time updates every second over a web socket. If I then put a dockerfile into the project and install the dependencies I can get a…
0
votes
0 answers

Selenium remote using Cloud Run Service terrible slow and crashing session

I'm quite new to docker and I'm trying to create a scraper using Selenium Remote and Cloud Run Services based on this site. I mainly have three problems (for now): The scraper is WAY slower, compared to running it locally. Is this normal? Is remote…
0
votes
1 answer

Managing end-user access to Cloud Run instances using Firebase Authentication and a Google service account

I am developing a mobile app where authenticated users can trigger a Cloud Function that creates a Cloud Run instance. Each Cloud Run instance should be accessible only by the user who created it. I initially considered using Google IAM for access…
0
votes
0 answers

Python Selenium Scraping for LinkedIn in Google Cloud

I am trying to make a scraper for LinkedIn with Selenium in Python. My goal is to automate the process in google cloud so every day it connects to my profile and scrape the contacts. The problem I got is that, when I connect from an IP public…
0
votes
2 answers

Cloud Run Requires Authentication (Across GCP projects and in Same GCP project)

I am facing these issues, When I try to make my Cloud Run Instances to allow only authenticated invocations (Requires Authentication) I have multiple GCP Projects and many Cloud Run Instances in each project, Sometimes they have to communicate like…
0
votes
0 answers

Cloud run triggered by file upload in bucket by pub sub push notification runs multiple times

I have a Cloud Run service(Express Endpoint) that is triggered by a Pub/Sub push notification when a file is uploaded to a Cloud Storage bucket. However, the Cloud Run service is getting triggered multiple times for each file upload, which is…
0
votes
1 answer

How do I run a GPU VM from Cloud Run?

I want to run a quick GPU ML process from Cloud Run. I can't use Anthos (too expensive) nor Batch (too slow) but can I somehow have Cloud Run call a GPU enabled Compute Engine VM? And how would the VM scale?
0
votes
2 answers

How to use an image deployed on cloud run for kubernetes deployment

I want to deploy an image from cloud run to kubernetes cluster. I have successfully built the docker image in cloudbuild.yaml file. Now the challenge is how to use the image in deploy.yaml The task fails with errors indicating the the variables were…
7guyo
  • 3,047
  • 1
  • 30
  • 31
0
votes
1 answer

All new revision fail on Cloud Run for a single region. "Unable to create 0 instances for "XXX" because there are already 0 in this region"

I have 2 services running on GCP. Everytime the source repos is updated a new revision is deployed by a gitlab pipeline with the following command: gcloud run deploy api-demo --project --region europe-west1 --image…
0
votes
0 answers

Nmap failed to determine route in Cloud Run Service

The issue I'm attempting to run an nmap scan from a gcp Cloud Run Service, but the scan fails due to a routing error. Specifically, when I attempt to scan scanme.nmap.org, I received the following logs: Warning: Hostname scanme.nmap.org resolves to…
Hope C
  • 1
0
votes
1 answer

Why is cloud run's container count so much higher than they should be?

I have created a new cloud run service set for 50 max requests per second (concurrency), but in production it's been hovering at a max of 2-3 req/s/container. I know cloud run will aim to keep CPU around 60%, but I've been increasing it from 1 vCPU…
Kevin Danikowski
  • 4,620
  • 6
  • 41
  • 75
0
votes
0 answers

GCP cloud run custom domain: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I have set up a cloud run service.It works fine independently. I want to use a load balancer infront of cloud run . So i created a gloabl https load balancer with google manged certificate. Now my config is like https Lb->https backend…
0
votes
0 answers

Is it possible to create an IAM policy in GCP that allows execution of only a specific Cloud Run job?

I have created a job named "my-job" on GCP Cloud Run Jobs. I want to grant principal A the Cloud Run Admin role and use an IAM condition to allow them to execute only "my-job". I initially thought that using the condition(CEL)…
0
votes
0 answers

How To Provide Credentials To Google's LoggingAppender via logback.xml?

I have a logback.xml configuration with an appender like this: myproject
0
votes
1 answer

How To Get a Container To Use Google Cloud Run VM Default Credentials?

I need a docker container being run by a google cloud run job to have access to the default credentials stored on the VM the container is spun up on but so far have been unable to do this. Does anyone have any methods for doing this? For context…
SCQs
  • 43
  • 6
1 2 3
99
100