Where are appengine projects located normally in t

2019-09-01 15:31发布

问题:

I have a standard java based web application and I have someone who wants to take a look at it and possibly change a file or add a file via ssh. But we cannot locate the project folder of the appengine project in Google's cloud shell. So where exactly are app engine project files normally located?

回答1:

You cannot directly access the app's files from the cloud shell because the cloud shell doesn't run on the same instance as your app code.

In the standard environment you also can't access the actual instance executing the app code (this is possible in the flexible environment), see also Accessing Google App Engine Python App code in production.

You can view the live/deployed version of your app service code using StackDriver, as described in Google Cloud DataStore automatic indexing. From that viewer StackDriver also allows debugging/inspecting the live code:

AFAIK you cannot change the live code, you need to deploy an updated version of the code for that.