I created a flask app that has been working until I deleted the default project to clean up. I had no versionining so the buckets were non-recoverable.
So, I created a new project and pointed my local app to that with authorization. The staging and default app buckets were created. When deploying, the process takes so long and eventually no service/instances are created.
My app.yaml looks like
runtime: python311
handlers:
- url: /static
static_dir: static
- url: /.*
script: auto
entrypoint: gunicorn --bind 0.0.0.0:8080 --timeout 600 app:app
# instance_class: F4_1G -> better scaling and access to assets on cloud
manual_scaling:
instances: 1
I have tried everything and given all necessary permissions but nothing works. The app works just fine locally.