Running instances of a disabled application with stopped services

158 views
Skip to first unread message

Liron Slonimsky

unread,
Sep 26, 2020, 9:34:11 PM9/26/20
to Google App Engine
Hi,

I want to stop all running instances of my app-engine project.
I tried to disable the application, delete all service versions, and kill the instances.
For some reason, I cannot delete the services (get a generic failure message) and each service (autoscaled) holds 1 instance up even when I try to stop the instances.
This is despite all versions are marked as stopped and the application is disabled.

How can I stop the services/instances?

I do not want to delete the entire project since I want to keep the data in it.

Manpreet Sidhu (Google Cloud Support)

unread,
Sep 27, 2020, 7:15:06 PM9/27/20
to Google App Engine
In order to delete your App Engine service, you can either:
> navigate to the App Engine Dashboard, select the service, and click delete in the top bar
> run the following gcloud command: “gcloud app services delete [SERVICE_NAME]". This will delete the service and associated versions.

suhail shakya

unread,
Sep 27, 2020, 7:17:32 PM9/27/20
to Google App Engine
You can try deleting the instances from the App Engine Console, under settings by disabling the app

Liron Slonimsky

unread,
Sep 28, 2020, 4:10:29 PM9/28/20
to Google App Engine
Thanks for the suggestions!

I tried to delete the services from either the App Engine web console, or gcloud command line. None of these worked for me.
When I delete from command line I get the following error: "Error Response: [13] Service (module) deletion failed."

I've already disabled the app and the services are marked as stopped, but cannot be deleted and the instances cannot be terminated (they are killed, but new instances are up instead of the killed ones).

Any suggestions?

Liron Slonimsky

unread,
Sep 28, 2020, 4:10:41 PM9/28/20
to Google App Engine
Thanks for your suggestions!

I've already tried to delete the services from the web console and the cgloud command line and none of these worked.
I've got the following error message: 
ERROR: (gcloud.app.services.delete) Issue deleting service: [<my project name>]
[<my project name>]: Error Response: [13] Service (module) deletion failed.

BTW, I've already disabled the application from the settings, and tried to delete the services when the app is enabled and disabled.

Any suggestions?

On Monday, September 28, 2020 at 2:17:32 AM UTC+3 suhail...@gmail.com wrote:

Mary (Google Cloud Support)

unread,
Oct 5, 2020, 2:08:18 PM10/5/20
to Google App Engine

Hello, 

I am following up with you to see if you were successful in disabling your App Engine application? 

"[<my project name>]: Error Response: [13] Service (module) deletion failed." can happen when the App Engine service account is not listed on the IAM Page nor under the Service Accounts tab. If it is missing, creating a new version might re-create the service account. If successfully recreated, you can then disable and delete the app engine service. 
Reply all
Reply to author
Forward
0 new messages