• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

GCP Instance Scopes

March 15, 2019

Give Instances access to other cloud services using scopes.

gcloud alpha compute instances set-scopes instance-name \
--project project-name --zone us-central1-a \
--scopes=cloud-platform,cloud-source-repos,compute-rw,storage-rw

gcloud alpha compute instances set-scopes instance-name \ --project project-name --zone us-central1-a \ --scopes=cloud-platform,cloud-source-repos,compute-rw,storage-rw

Filed Under: Cloud, Linux Tagged With: access, gcloud, scopes, sdk, services

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023