1.1 Setting up Cloud Projects and Accounts Flashcards
1
Q
Command: create project
A
`gcloud projects create –organization=[ORGANIZATION_ID] [PROJECT_ID]
2
Q
Command: assign pre-defined IAM roles within a project
A
`gcloud [GROUP] add-iam-policy-binding [RESSOURCE_NAME] –member user:[USER_EMAIL] –role [ROLE_ID]
3
Q
Command: enable APIs
A
gcloud services enables [APINAME.googleapis.com]
4
Q
Command: find existing and APIs
A
gcloud services list --available --sort-by="NAME"
5
Q
Command: find enabled APIs
A
gcloud services list --enabled --sort-by="NAME"
6
Q
Google best practices for Stackdriver monitoring more than one project
A
Create empty project for Stackdriver only