Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud (API GATEWAY) Custom Domain

Tags:

I am currently building a rest api, for this I am using Google Cloud API Gateway and Google Cloud Run. I've been looking at all the google cloud documentation and researching elsewhere and I can't find how to add a custom domain to an API gateway instance. The funny thing is that there is more documentation for Google Cloud endpoints, I could find how to do it with endpoints but it does not apply to my use case.

I have 10 instances of google cloud run each one running a microservice respectively and I want to join everything in a single domain and add support with openapi, but I have failed in the attempt.

In any case, if someone has managed to customize the domain of an api gateway instance, I would appreciate if you could guide me, greetings.

like image 485
andrefedev Avatar asked Oct 07 '20 21:10

andrefedev


1 Answers

For the beta release, custom domain names are not supported on GCP for API Gateway. Since it is still beta as of today, if you want to use a custom domain, you could use Cloud Endpoints in Cloud Run or you could even look into using Microservices in App Engine.

like image 173
David Avatar answered Sep 30 '22 03:09

David