[google-appengine] Re: Using App Engine Flexible behind a CDN (Fastly)

2018-05-18 Thread Alex G
@George, is Google Cloud CDN compatible with App Engine (Flexible)? I thought it was just possible to use it with GCE. On Tuesday, May 15, 2018 at 1:57:16 PM UTC+2, Alex G wrote: > > We are currently using Fastly as our CDN that reads from the origin App > Engine Flexible (GAE)

[google-appengine] Re: Using App Engine Flexible behind a CDN (Fastly)

2018-05-16 Thread Alex G
, if there is a valid certificate for mydomainA.com on App Engine (which should be automatic <https://cloudplatform.googleblog.com/2017/09/introducing-managed-SSL-for-Google-App-Engine.html>), then you can do a request to https://mydomainB.com/. On Tuesday, May 15, 2018 at 1:57:16 PM UTC+2, Alex G

[google-appengine] Re: Using App Engine Flexible behind a CDN (Fastly)

2018-05-16 Thread Alex G
ared towards Compute Engine, where you need to configure the load balancer. AFAIK, GAE abstracts this from us, so we have no way of dealing with the load balancer. On Tuesday, May 15, 2018 at 1:57:16 PM UTC+2, Alex G wrote: > > We are currently using Fastly as our CDN that reads from the ori

[google-appengine] Re: Using App Engine Flexible behind a CDN (Fastly)

2018-05-15 Thread Alex G
Thanks for your reply, George. Isn't the GAE load balancer hidden to the user? On Tuesday, May 15, 2018 at 1:57:16 PM UTC+2, Alex G wrote: > > We are currently using Fastly as our CDN that reads from the origin App > Engine Flexible (GAE) app. When trying to enable a TLS connectio

[google-appengine] Using App Engine Flexible behind a CDN (Fastly)

2018-05-15 Thread Alex G
We are currently using Fastly as our CDN that reads from the origin App Engine Flexible (GAE) app. When trying to enable a TLS connection between Fastly and GAE, we have noticed that ghs.googlehosted.com does not support TLS. We have also tried using myapp.appspot.com as the origin, but a 404

[google-appengine] Re: What is the best way to manage env vars in App Engine (flexible environment)?

2018-05-15 Thread Alex G
We ended up doing something similar to what Ani suggests. However, we are now considering this new feature (beta): https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables On Saturday, September 9, 2017 at 4:20:44 PM UTC+2, Alex G wrote

[google-appengine] Re: Is there a way to get geolocation when the user is behind a proxy?

2017-09-29 Thread Alex G
the value of X-Forwarded-For, > there is an open request <https://issuetracker.google.com/35892919> for > that feature on the Issue Tracker. > > On Thursday, September 28, 2017 at 10:10:32 AM UTC-4, Alex G wrote: >> >> I'm using Varnish (Fastly) between the user and App Engine (fle

[google-appengine] Is there a way to get geolocation when the user is behind a proxy?

2017-09-28 Thread Alex G
I'm using Varnish (Fastly) between the user and App Engine (flexible). When I read the X-AppEngine-Country header it seems it is getting the IP from the proxy. This happens even when I set app.enable('trust proxy') in Express. Is there a way

[google-appengine] What is the best way to manage env vars in App Engine (flexible environment)?

2017-09-09 Thread Alex G
Moving our apps from Heroku to App Engine has been great, but there are a few things that we miss. In particular, having a way to define config variables in Cloud Console would be great. We have tried a couple of approaches but none are

[google-appengine] Re: App Engine (flexible) instances starting every 30 seconds

2017-09-01 Thread Alex G
Sorry for posting it in the wrong place. I've now submitted an issue . On Thursday, August 31, 2017 at 11:01:18 PM UTC+2, Jordan (Cloud Platform Support) wrote: > > Google Groups is meant for general product discussions and not for > technical

[google-appengine] App Engine (flexible) instances starting every 30 seconds

2017-08-31 Thread Alex G
Hi, I'm running a Node app on App Engine flexible environment. The app is very flaky and many requests are now failing. I've looked into the logs and it seems the 2 instances that the app has are being started every ~30 seconds. I've enabled the Updated Health Checks