Google Cloud Public URL

How to configure shared route to HTTP GCF? So, currently the default path looks something like this.

https://us-central1-poised-breaker-162819.cloudfunctions.net/function-1

But I want to use it that way

https://myfunction.com

or

https://myfunction.com/thisroute

Thus, in fact, we are talking about a namespace or even proxying requests to the corresponding function. How can this be achieved?

Update 1

It seems we can use the Endpoints service for this. But it is still unclear whether it will work with GCF or not.

+4
source share

Source: https://habr.com/ru/post/1673631/


All Articles