app-engine-flexible

Google App Engine Firewall: Restrict access to all services but the default one

青春壹個敷衍的年華 提交于 2019-11-30 03:24:54
问题 I have a GAE project (flexible) consisting of 1 default and 2 subservices: foo.appspot.com service1.foo.appspot.com service2.foo.appspot.com Now I want to use foo.appspot.com as API proxy & auth gateway to the internal services service1 and service2 . The proxy itself I wrote and it is working fine. I am struggling with adjusting the GAE Firewall to forbid incoming world traffic to service1 and service2 because I would like force an API user to send requests to foo.appspot.com . Traffic to

Up-to-date pip with AppEngine Python flex env?

牧云@^-^@ 提交于 2019-11-29 16:58:32
I want to move an app from the Python 3.7 standard environment to the Python 3.6 flex environment. Python 3.7 comes with pip 18, Python 3.6 comes with pip 9. Pip 10 introduced a very useful feature, build dependencies. Many analytics packages need this to work, otherwise you have to install build dependencies like Cython manually in a separate step. That is obviously a non-starter in GAE. Outside of GAE the solution is pip install --upgrade pip . Is it possible to have the Python 3.6 environment update its pip before it runs pip install -r requirements.txt ? Adding pip to requirements.txt has

Up-to-date pip with AppEngine Python flex env?

故事扮演 提交于 2019-11-28 10:13:38
问题 I want to move an app from the Python 3.7 standard environment to the Python 3.6 flex environment. Python 3.7 comes with pip 18, Python 3.6 comes with pip 9. Pip 10 introduced a very useful feature, build dependencies. Many analytics packages need this to work, otherwise you have to install build dependencies like Cython manually in a separate step. That is obviously a non-starter in GAE. Outside of GAE the solution is pip install --upgrade pip . Is it possible to have the Python 3.6

Is there a way to customize nginx proxy in google flexible appengine

非 Y 不嫁゛ 提交于 2019-11-28 08:35:37
问题 We are trying to running an application (a java servlet that connects to guacamole server) on flexible appengine, in our troubleshooting it looks like there is a nginx proxy on the google cloud instance (the instance from which docker image is running). Is there a way we customize the nginx configuration the google cloud instance to help resolve our issues? 回答1: Nope. The proxy is part of our infrastructure that you can't really customize. Can you be a little more specific? What are you

Force SSL on App Engine Flexible Environment Custom Runtime

不羁岁月 提交于 2019-11-27 09:06:43
We're running an instance of Metabase on a App Engine Flexible Custom Runtime with a Dockerfile based on openjdk:8. Currently it allows access on http://[metabase-project].appspot.com/ and https://[metabase-project].appspot.com/ . I'd like to force SSL by having all http traffic redirected to https. The Dockerfile looks something like this: FROM openjdk:8 ADD https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 ./cloud_sql_proxy ADD http://downloads.metabase.com/v0.21.1/metabase.jar ./metabase.jar CMD ./cloud_sql_proxy -instances=$INSTANCE=tcp:$MB_DB_PORT -dir=/cloudsql & java -jar .

Force SSL on App Engine Flexible Environment Custom Runtime

牧云@^-^@ 提交于 2019-11-26 14:29:47
问题 We're running an instance of Metabase on a App Engine Flexible Custom Runtime with a Dockerfile based on openjdk:8. Currently it allows access on http://[metabase-project].appspot.com/ and https://[metabase-project].appspot.com/. I'd like to force SSL by having all http traffic redirected to https. The Dockerfile looks something like this: FROM openjdk:8 ADD https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 ./cloud_sql_proxy ADD http://downloads.metabase.com/v0.21.1/metabase.jar .

How to tell if a Google App Engine documentation page applies to the 1st/2nd generation standard or the flexible environment

旧城冷巷雨未停 提交于 2019-11-26 03:14:46
问题 I see a lot of google-app-engine questions from users mixing up the standard environment with the flexible environment, especially when it comes to documentation, often attempting to follow the wrong instructions, obviously with undesired results. How can one easily tell which GAE environment a certain page is applicable to? 回答1: Most (if not all) of the GAE documentation is structured by the environment. When looking at a certain documentation page the environment is clearly indicated in