We currently have a self-hosted solution that allows our customers to add CNAMES to access their content through their own domains.
We're moving the entire stack to Google Cloud, with the main product residing on a Firebase Hosting deployment, with serverless functions, storage and Firestore databases.
I am aware that we can manually and programatically add CNAMES to our Firebase hosting account, but there is a hard limit of 20 on Firebase.
My question: does GCP offer a solution where we can programatically add CNAMES, generate a self signed certificate, and point them via a proxy to our Firebase hosting URL, while retaining the originating CNAME, but serving our Firebase content? Or recommended approaches for this stack?
Things we don't want to do:
- have multiple Firebase deployments with 20 domains each
- Add any hosted solutions (compute engine etc) as an intermediary
- Move away from Firebase
We have reached out to the Firebase team but was recommended point 1 above, split them between multiple deployments as they had no visibility to other GCP products.