Returning static error response for few URL from Google Application Load Balancer

I am having External cloud load balancer which is being used by multiple customers.

I have given each customer seprate url.

In certain cases, I want to restrict some customers like their dedicated quota is over etc.

Can I set this up on cloud load balancer? For example say customer1.mycompany.com needs to start returning 403, “You have exceed quota” etc.

I tried searching on net and gemini, but whatever found is not working for me.

1 Like

So, you’re referring to rate-limiting–type configurations. The GCP Global Load Balancer does not natively support this feature yet. However, you can achieve it by using Google Cloud Armor. You may refer to the following two documents for more details.