FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 947172b9 authored by Dr Rich Wareham's avatar Dr Rich Wareham
Browse files

Merge branch 'add-gcloudadmin-docs' into 'master'

feat: add documentation on creating gcloudadmin accounts

See merge request !284
parents 4288f1e1 c618e116
No related branches found
No related tags found
1 merge request!284feat: add documentation on creating gcloudadmin accounts
Pipeline #473520 passed
---
title: Create Google Cloud Admin accounts
---
# How to create Google Cloud Admin accounts
We prefer that team members keep the permissions of their ordinary `{crsid}@cam.ac.uk` Google
account relatively light. The permissions should be no more than "read only" or, ideally,
non-existent.
Instead we prefer team members to have a dedicated "gcloudadmin" account used for manipulating
resources in the Google Cloud console and for deploying services.
This page describes the process to create a "gcloudadmin" account.
## Create an issue
Create an issue in the project you are working on outlining the need for you to have an admin
account and which team you need to be in.
## Update `team_data.json`
The
[team_data.json](https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform/team-data/-/blob/master/team_data.json)
file contains a description of team members and their roles.
If you already have a `{crsid}@cam.ac.uk` account in that file, replace it with an account named
`{crsid}@gcloudadmin.g.apps.cam.ac.uk`.
If you do not already have a `{crsid}@cam.ac.uk` account in that file, add one to the appropriate
role in your team. Generally teams have three roles: "view" which allows read-only access in the
Google Cloud console, "deploy" which allows impersonation of the terraform deploy service account
but no elevated console access and "admin" which grants full rights in the Google Cloud Console.
## Open a Merge Request
Open a Merge Request on the [team-data
project](https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform/team-data/) with your
changes. Add "Closes #{issue number}" to the description to link it to the issue you created above.
Add a {{ gitlab_label("team::Cloud") }} label **to the issue**, add the
{{ gitlab_label("workflow::Review Required") }} label **to the issue** and assign the issue to the
iteration corresponding to the Cloud Team's current sprint.
## Sign in and update 2FA settings
A member of the Cloud Team will contact you, securely share initial login information and request
that you enable two-factory authentication for the gcloudadmin account. Once you have done this,
your account will be added to the appropriate Google Groups which are, in turn, granted appropriate
permissions on the Google Cloud projects.
## Summary
In this how-to you saw how to create a Google Cloud admin account which is reserved for privileged
access to Google Cloud resources.
## Next steps
* Read more about how we [configure Google Cloud](../reference/cloud-platform/index.md).
......@@ -39,6 +39,7 @@ nav:
- howtos/sanctuary.md
- "Cloud Platform":
- howtos/respond-to-billing-alerts.md
- howtos/create-gcloudadmin-account.md
- "Learn":
- "Tutorials":
- tutorials/index.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment