For me, none of the other solutions is applicable, since I tested AppEngine in a project that already used Firestore, and disabling the application will also disable it, which is not an option.
I contacted Google and this is the solution they gave me:
You can overwrite the default version of your application by redistributing the application using an empty application and creating app.yaml that uses only static files:
module: default runtime: python27 api_version: '1.0' threadsafe: true handlers: - url: / static_files: index.html upload: index.html manual_scaling: instances: 1
dummy index.html like:
<title>CLOSED</title>
and deploy it using: gcloud app deploy app.yaml
Then you can stop your application using gcloud app versions stop VERSION_ID
source share