Have there been suggestions from Google about providing support for triggering Cloud Functions directly from Cloud Endpoint calls? This seems to be the logical next step for the platform. As far as I can tell., there isn't currently a GCP configuration that supports/mimics this paradigm. I consider the main value add to be Auth piped into the Function context.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/388a6f35-5fb3-49ac-a8f0-4766e1bfd200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Friday, April 7, 2017 at 7:30:51 AM UTC+5, Aidan Hoolachan wrote:Have there been suggestions from Google about providing support for triggering Cloud Functions directly from Cloud Endpoint calls? This seems to be the logical next step for the platform. As far as I can tell., there isn't currently a GCP configuration that supports/mimics this paradigm. I consider the main value add to be Auth piped into the Function context.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/f008e8db-0b1d-49c4-bd95-b069b1517e92%40googlegroups.com.
This is a pretty major flaw IMO, Cloud Functions should be treated as first-class citizens in newly-released services.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/096243a0-e190-4973-b984-2f6c22c9f6c9%40googlegroups.com.
I want my Firestore Rules to govern Endpoints Authz and not manage multiple rule sets.
Please and thank you. ;)
Hi Aidan,You're correct: this is something that we're working on but is not currently supported. Are you already using Cloud Functions extensively?Would you please tell us more (on this thread or privately) about your use cases?Thanks,Sepehr
On Thu, Apr 6, 2017 at 7:30 PM, Aidan Hoolachan <aidan.h...@gmail.com> wrote:
Have there been suggestions from Google about providing support for triggering Cloud Functions directly from Cloud Endpoint calls? This seems to be the logical next step for the platform. As far as I can tell., there isn't currently a GCP configuration that supports/mimics this paradigm. I consider the main value add to be Auth piped into the Function context.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/388a6f35-5fb3-49ac-a8f0-4766e1bfd200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CAASa8TZTd10dMt0ze1cBG4EMgn645syxHp3viu5gM2zPnAUeYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
The idea is to set up a cloud function as an endpoint node, rather than accessing it from code running at an endpoint node running on Compute. Dispatch would route directly to the function.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/7fac11f4-8c10-437e-955d-e61a4cc266a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It may be possible using ESP (Extensible Service Proxy). It is basically a custom Nginx server that could use LUA and subrequests to trigger a cloud function.
# google cloud optimization function
upstream o10n-function {
server us-central1-xxx-1234.cloudfunctions.net:443;
}# optimization function
location /o10n-function/ {
allow 127.0.0.1;
deny all;
proxy_pass https://o10n-function/o10n-html;
}--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/a58c3ad9-9bae-40de-8448-5f4baea6abfe%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-endpoints/gwmuJNEgfAI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/5d02163f-c882-4814-a799-f59f19b0b706%40googlegroups.com.
Can't one require the X-Endpoint-API-UserInfo header? While I think that could be a work-around, what we need is for ESP to stand in front of cloud functions in the same way that it does for app engine and use dispatch rules to direct traffic.
On Tue, Jul 10, 2018 at 10:28 AM, <de...@broadinstitute.org> wrote:
It seems like in this scenario (ESP as Nginx proxy for CFs) we lose crucial benefits of ESP, e.g. checking authentication and request validation, because there's no way to enforce that traffic to CFs only comes from ESP.
On Monday, July 9, 2018 at 5:22:41 PM UTC-4, in...@optimalisatie.nl wrote:The ESP / Nginx proxy can add a header to identify requests. It will then be simple to block requests without the header.
Nginx also provides rate limiting and anti-DDoS functionality, this may help to prevent/reduce costs by potential abuse.
https://www.nginx.com/blog/mitigating-ddos-attacks-with-nginx-and-nginx-plus/
In regards to more advanced authentication, for example blocking requests without valid authentication, you could extend Nginx using Lua and subrequests which makes it possible to use Google's authentication service API or to perform authentication within the ESP server. The ability to limit traffic to the cloud function will help to reduce costs.
In regards to performance, CloudFlare is built using Nginx + Lua. It supports C++ code so it can be made efficient and reliable.
https://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua/
--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-endpoints/gwmuJNEgfAI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-endp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6bd82ff8-e84f-449b-aaac-c64e19643077%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.