install node.js using gcloud on Google Compute Engine

I need to install node.js using https://developers.google.com/deployment-manager/nodejs.

when I create template using gcloud I get

"message": "The user does not have write permission for project XYZprojectname."

I tried Google Cloud Deployment Manager API under APIs and AUTH but getting the same message again and again.

Billing is enabled for the project. Please let me know what I am missing here..

Regards, Shashank

  1. Make sure you have enable Google cloud Deployment Manager, note that this is currently in limited preview, so you need to request access to the service before you can use it.
  2. You also need to enable the command-line-tool.
  3. Run the script google-cloud-sdk/install.sh, authenticate using 'gcloud auth login' and configure your project with 'gcloud config set project PROJECT-ID' and enable the preview features with 'gcloud config set project PROJECT-ID'

The authentication process will help you with the issue related to permissions.

You find very detailed tutorials on how to set up nodejs using gcloud on Google Compute Engine Services here:

https://developers.google.com/deployment-manager/commandline-tool https://developers.google.com/deployment-manager/nodejs