Skip to main content
Filter by
Sorted by
Tagged with
83 votes
1 answer
73k views

What is the difference between Uvicorn and Gunicorn+Uvicorn?

What is the difference between deploying FastAPI apps dockerized using Uvicorn and Tiangolo's Gunicorn+Uvicorn? And why do my results show that I get a better result when deploying only using Uvicorn ...
MADFROST's user avatar
  • 1,583
82 votes
7 answers
28k views

When to use Google App Engine Flex vs Google Cloud Run

I want to deploy containerized code using one of Google's serverless options. From what I understand Google has two options for this: Google App Engine Flexible Environment Google Cloud Run (in beta)...
hlp's user avatar
  • 1,047
66 votes
9 answers
21k views

Google Cloud Run - Domain Mapping stuck at Certificate Provisioning

Is anyone getting this issue with Google Cloud Run Domain Mapping? When I add a custom domain to my domain mappings, I get this: Waiting for certificate provisioning. You must configure your DNS ...
bryan's user avatar
  • 9,319
63 votes
13 answers
112k views

Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable

I built my container image, but when I try to deploy it from the gcloud command line or the Cloud Console, I get the following error: "Container failed to start. Failed to start and then listen on the ...
Steren's user avatar
  • 7,819
46 votes
2 answers
22k views

How to pull Docker Hub image to Google Cloud Run?

I'm trying to pull Docker images into Google Cloud Run. I see that I would probably need to pull it first to Google Container registry, but can I somehow avoid it? Also, I'd rather have it straight ...
jean d'arme's user avatar
  • 4,315
45 votes
5 answers
32k views

Deploying to Cloud Run with a custom service account failed with iam.serviceaccounts.actAs error

I have created a custom service account travisci-deployer@PROJECT_ID.iam.gserviceaccount.com on my project and gave it the Cloud Run Admin role: gcloud projects add-iam-policy-binding "${PROJECT_ID}" ...
ahmet alp balkan's user avatar
43 votes
4 answers
37k views

Cloud Run: "Failed to start and then listen on the port defined by the PORT environment variable." When I use 8080

I got this error message when I try to run my container in Google Cloud Run. type: Ready status: 'False' reason: HealthCheckContainerError message: |- Cloud Run error: Container failed to start. ...
Balázs Fodor-Pap's user avatar
40 votes
4 answers
31k views

"exec format error" when running containers build with Apple M1 Chip (ARM based systems)

Expected behavior: I can run a container I've built using an Apple M1 chip. Observed behavior: Assuming you have a Google Cloud Run account and can push Docker images to Google Container Registry. I'm ...
seenickcode's user avatar
  • 1,132
36 votes
7 answers
24k views

How to fix CloudRun error 'The request was aborted because there was no available instance'

I'm using managed CloudRun to deploy a container with concurrency=1. Once deployed, I'm firing four long-running requests in parallel. Most of the time, all works fine -- But occasionally, I'm facing ...
Jan Hacker's user avatar
33 votes
2 answers
25k views

What's the default storage for Google Cloud Run?

There is not documentation that I can find about the storage that Google Cloud Run has. For example, does it contains few Gigabyte storage as we create a VM? If not, is there a '/tmp' folder that I ...
lixinso's user avatar
  • 793
30 votes
5 answers
35k views

"[CRITICAL] WORKER TIMEOUT" in logs when running "Hello Cloud Run with Python" from GCP Setup Docs

Following the tutorial here I have the following 2 files: app.py from flask import Flask, request app = Flask(__name__) @app.route('/', methods=['GET']) def hello(): """Return a ...
jminardi's user avatar
  • 1,056
30 votes
3 answers
43k views

How to deploy container using docker-compose to google cloud?

i'm quite new to GCP and been using mostly AWS. I am currently trying to play around with GCP and want to deploy a container using docker-compose. I set up a very basic docker-compose.yml file as ...
user2707590's user avatar
  • 1,116
28 votes
4 answers
11k views

What is the difference between Google App Engine and Google Cloud Run?

Does anyone know, difference between Google App Engine Flex and Google Cloud Run? Thanks
Nipu's user avatar
  • 673
26 votes
3 answers
14k views

How to get or generate deploy URL for Google Cloud Run services?

How to get the URL of deployed service programmatically in CI environments? The URL does get's logged after successful deploy but what if I want to extract and use the URL programmatically, as part of ...
fusionstrings's user avatar
26 votes
6 answers
11k views

How to generate a Blob signed url in Google Cloud Run?

Under Google Cloud Run, you can select which service account your container is running. Using the default compute service account fails to generate a signed url. The work around listed here works on ...
sww314's user avatar
  • 1,322

15 30 50 per page
1
2 3 4 5
202