Here my idea, even if I never tested it.
On your current project, create 2 Internet network endpoint group (INEG).
- INEG-prod that use the fully qualified url of your firebase prod environment
- INEG-dev that use the fully qualified url of your firebase dev environment
Then create a Load balancer in the project where your IP address is reserved; Create 2 backend:
- Backend-prod that use the INEG-prod
- Backend-dev that use the INEG-dev
Then the URL map
- use your /* (for example) to route the request to the backend-prod
- use dev-/* (for example) to route the request to the backend-dev
On the frontend, use your static IP, and the HTTPS protocol.
It should work (wait about 5 minutes to let the HTTPS load balancer to take into account the configuration)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…