March 2019
Beginner to intermediate
778 pages
34h 20m
English
We'll first create a service account with default access rights. Next, we'll launch a VM with the newly created service account. Ideally, the VM would not have direct access to Cloud SQL. Then, in IAM we'll assign the Cloud SQL admin rights to our service account and redo our verification:
$ gcloud iam service-accounts create my-sa-with-sql --display-name "Service a/c with sql access"
$ gcloud iam service-accounts listNAME EMAILService a/c with sql access my-sa-with-sql@upbeat-aura-163616.iam.gserviceaccount.com
The following screenshot shows the ...
Read now
Unlock full access