How to whitelist access to a google load-balancers?

4,274 views
Skip to first unread message

Pierig LeSaux

unread,
Aug 7, 2016, 5:46:19 PM8/7/16
to gce-discussion
Hello,

I am trying to do something pretty basic: allow connections to google load-balancer from specific ip addresses.

It seems there is no way to apply firewall rules to load-balancers. My instances have a firewall rule to allow access from 130.211.0.0/22, so the LB can connect to them.

Anyone know I could achieve this?

Thanks

George (Google Cloud Support)

unread,
Aug 8, 2016, 4:49:45 PM8/8/16
to gce-discussion
Hello Pierig,

Unfortunately, you can't limit the access to your Load Balancer's external IP address in the GCE firewall. However, you can use Google's internal Load Balancer which allows you to accomplish different scenarios, one of which is the traditional 3-tier web services where your tier uses external HTTP(s) or external TCP/IP load balancing and your instances running the application tier or backend databases is deployed behind the internal load balancing.

More information can be found in this Help Center article.

I hope this helps.

Sincerely,
George
Reply all
Reply to author
Forward
0 new messages