How to restrict access to API Gateway from external GCP?

1.6k Views Asked by At

How to restrict access to API Gateway from external GCP? Cloud Armor can only use for Load Balancer.

I created GCP API Gateway(backend is Flask application on App Engine). And I want to restrict access from external GCP Project.

1

There are 1 best solutions below

8
On

You can't add ingress filters on API Gateway for now (I got the news this morning!). You will be able to put API Gateway as a backend of your Load Balancer, but you will still continue to be able to have a direct access to API Gateway.

In the future, I imagine a similar feature as Cloud Functions or Cloud Run where you can set the ingress settings to internal or internal and cloud load balancing.

Stay tuned!