I am reading this link on hosting a static website on GCS and I didn't know GCS has its own caching however CI/CD is not a direct integration that would be available if th same deployment happens on Cloud Run. Firebase hosting is another option i see
Cloud Storage behaves like a Content Delivery Network (CDN) because publicly readable objects are cached in the Cloud Storage network by default
What is the best solution to host a static website on GCP Platform (from cost, scalability, performance and security perspective)?
Solved! Go to Solution.
@dheerajpanyam most probably not. GCS could be used for static content web, like simple html pages. If you want to run react app, you must as you said host it with server which is not possible via GCS. You could utilize Cloud Run for that and pay only for traffic ( Cloud Run will scale down to zero if no traffic occur). Also you can use Firebase for such purposes : https://www.freecodecamp.org/news/how-to-deploy-a-react-app-with-firebase/
--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost