Reputation: 2222
Is there a native option to setup a static IP address for a google cloud API Gateway? As far as I researched, looks like I have to setup a cloud load balancer in front of the API Gateway and then use the static IP of the load balancer. I am not sure how to do this. My goal is to only give access to my API gateway via IP address? I am looking for any documentation/articles on this regard. Thanks in advance.
Upvotes: 2
Views: 1696
Reputation: 75765
I don't know and don't understand your requirement, but you can achieve this with a trick with HTTPS load balancer.
host
and with the API gateway base URL as value (without the https://
prefix)I don't like this design because you add a useless layer (and thus an additional (and useless) potential point of failure) and you will be charge for the load balancer (about $15 per month)
Upvotes: 4