Reputation: 235
I am trying to use Datalab in my customers GCP Account. What IAM Roles / Rights do I need to access it / create it / work with it?
Thanks
Upvotes: 1
Views: 958
Reputation: 9810
According to the documentation here, there are two ways to create VM instances for team members:
If you can't get one of those two roles, you'll need to ask a project owner to create a Datalab instance on your behalf. To do this, the project owner will use the datalab create
command and pass in an additional --for-user
flag specifying your email address.
In order to connect to your instance, you must have at least the following IAM roles:
roles/compute.instanceAdmin.v1
roles/iam.serviceAccountActor
for the service account attached to your Cloud Datalab instanceUpvotes: 4
Reputation: 2982
The role of Editor
for a project should have the sufficient rights and permissions to launch and work with a Cloud Datalab instance.
On the customers GCP Account, also be sure to enable:
Then you can launch a Datalab Instance from the gcloud shell or from the command-line on the local terminal assuming the Google Cloud SDK is installed by running the command:
datalab create [instance-name]
Upvotes: 0