简体   繁体   English

无法将我的反应应用程序部署到谷歌云平台虚拟机

[英]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?我可以将我的学习 Web 应用程序部署到我创建的 VM 并从我的本地浏览它吗? I tried running gcloud app deploy from my vm but getting error...我尝试从我的虚拟机运行gcloud app deploy但出现错误...

== 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 . VM(Compute Engine)和 App Engine 是两个不同的东西,您可以在这个答案中阅读更多内容。 gcloud app deploy is app engine utility and used to deploy your application to app engine. gcloud app deploy是应用引擎实用程序,用于将您的应用程序部署到应用引擎。

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.除此之外,您还可以从云外壳开始部署您的 Web 应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 React 应用程序部署到 Google Cloud Vm 实例? - How to deploy React app to Google Cloud Vm Instance? 无法 SSH 进入我在 Google Cloud 上的 Compute Engine 虚拟机实例 - Unable to SSH into my Compute Engine VM instance on Google Cloud 使用 Visual Studio 部署到 Google Cloud Compute VM - Deploy To Google Cloud Compute VM With Visual Studio 无法部署谷歌云功能 - Unable to deploy google cloud functions 尝试 ssh 进入 Google Cloud Platform VM 时出现错误公钥 - Error Public Key when trying to ssh into Google Cloud Platform VM 谷歌云平台对Django app的响应 - Response from Google Cloud Platform to Django app 由于链接到 Dialogflow 代理,无法删除 Google Cloud Platform 项目 - Unable to delete Google Cloud Platform Project due to linked to a Dialogflow agent 具有 4GB RAM 的 Google Cloud Platform App Engine 标准环境 - Google Cloud Platform App Engine Standard environment with 4GB RAM 谷歌云平台 HTTPS - Google Cloud Platform HTTPS 如何将 Helidon 应用程序部署到 Google Cloud App Engine? - How to deploy a Helidon application to Google Cloud App Engine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM