Anjan
Anjan

Reputation: 13

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==

Upvotes: 0

Views: 246

Answers (1)

Mahesh Khond
Mahesh Khond

Reputation: 1297

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 with cloud shell for deploying your web application.

Upvotes: 1

Related Questions