Firebase hosting with Cloud armor policies using Internet network endpoint group

Hello All,

I have hosted a static website in Firebase. I was looking into utilizing Cloud Armor for restricting IPs to the site. I tried to create Internet Network Endpoint group with the FQDN of firebase hosted domain. Created an external app load balancer with the backend pointing to the the NEG created before. I also created a DNS record for the LB IP and used Google managed SSL certificate. If I try to access the URL mapped to the LB, I am getting Firebase site not found as given below.

Screenshot 2023-09-26 at 2.27.17 PM.png

2 1 781
1 REPLY 1

Hi, @AnbuKLB. I found the solution.

For everyone who is searching for how to resolve this. You must add Custom Header 'Host' with value to your Firebase hosting domain into your load balancer backend Advanced configurations.

ะ—ะฝั–ะผะพะบ ะตะบั€ะฐะฝะฐ ะท 2024-02-02 15-38-41.png