I have uploaded google app java project to production google app engine (from this tutorial), but I can't found any information how to stop or disable the production app engine.
From google developer console, I can shutdown the instance via menu Compute -> Instances, but if I open or access the app's url in the browser, the app instance will start running again.
So how to completely stop or disable Google App Engine production server?
Change you code to not serve pages and update the server online, or use the admin console and change the security settings so no one can see it.
i.e. go here..
https://appengine.google.com/ if you have a google app account then you should see that there's a "Disable or Delete Application" section.
Late to the game here, the tutorial currently suggests deleting the project, but I wanted to keep the project ID so the suggested option isn't the ideal solution for me.
After spending a good 15 min around the site I've found 2 ways to stop the application. Hope this will be of some help to others until the UI changes again.
Method 1: Disable Application
Go into App Engine, Settings, click on Disable application.
Method 2: Stop Instance
Go into App Engine, Versions, and then click on STOP.
For me none of the other solutions were applicable as I was testing AppEngine on a project that already used Firestore, and disabling the app would disable it as well which was not an option.
I contacted Google and this is the solution they gave me:
You can overwrite the default version of your app by redeploying the app with an empty application and create an 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
a dummy index.html like:
<title>CLOSED</title>
and deploy it using:
gcloud app deploy app.yaml
Then you can stop your app using gcloud app versions stop VERSION_ID
Go into App Engine > Instances
Select all the instances you want to delete
Click on delete