How to deploy React app to Google Cloud Vm Instance?

1.5k Views Asked by At

I have a basic hello world react app and Google cloud server in compute machine(Vm Instance).How can I deploy my react app to this server?

1

There are 1 best solutions below

1
On BEST ANSWER

You can deploy react apps to google cloud platform with App Engine only. Follow the below steps:

  1. Creating the react app
  2. Creating the app.yaml file
  3. Creating a new Project in Google console
  4. Creating App Engine
  5. Deploying Google App Engine
  6. Deploying using Google Cloud SDK
  7. Deploying using Google Cloud Shell
  8. Configuring a Custom Domain in Google App Engine.

Refer to this document for more detailed steps.