简体   繁体   中英

Unable to deploy my react app to google cloud platform vm

I started learning Google Cloud Platform recently. So, created a trial account. Can I deploy my learning web application to the VM I created and browse it from my local? I tried running gcloud app deploy from my vm but getting error...

== ERROR: (gcloud.app.deploy) PERMISSION_DENIED: The caller does not have permission==

VM (Compute Engine) and App engine are two different things, you can read more in this answer . gcloud app deploy is app engine utility and used to deploy your application to app engine.

If you have your code in compute engine and want to deploy to app engine, make sure service account associated with your vm has necessary scopes and permissions. Please check this answer .

On addition to that you can start withcloud shell for deploying your web application.

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