简体   繁体   中英

How to deploy React app to Google Cloud Vm Instance?

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM