What is the best way to deploy a React.js app on GCP?

We want to deploy a React.js app on Google Cloud. It will be using push-notifications. What is the best way to do this? I can think of at least 3 options:

- cloud run

- app engine

- firebase

with so many choices, it is difficult for a newcomer to know which one is the right choice. cost is one of the things we want to consider for determining the best choice. other than that is just speed which i am assuming all 3 will provide. the app is not going to serve millions of users. it will be a low traffic internal application - lets say max 10 rps.

Solved Solved
0 1 5,058
1 ACCEPTED SOLUTION

Cloud Run + firebase hosting & CDN is a great option! Cloud Run let's you deploy from source just like you would from App Engine and has more modern capabilities. Here is a great tutorial - https://firebase.google.com/docs/hosting/cloud-run 

View solution in original post

1 REPLY 1

Cloud Run + firebase hosting & CDN is a great option! Cloud Run let's you deploy from source just like you would from App Engine and has more modern capabilities. Here is a great tutorial - https://firebase.google.com/docs/hosting/cloud-run