Skip to content

Latest commit

 

History

History
529 lines (261 loc) · 26.5 KB

google-cloud-onboarding.md

File metadata and controls

529 lines (261 loc) · 26.5 KB

Moved to pbmm-on-gcp-onboarding

Table Of Contents

Onboarding new Google Cloud Accounts using either gmail, workspaces or cloud identity

There are 2 primary steps when getting onboarded to cloud.

https://cloud.google.com/billing/docs/onboarding-checklist

https://cloud.google.com/docs/enterprise/setup-checklist

#Google Cloud Onboarding Categories

There are two types of google cloud accounts (workspace and cloud identity).  Cloud Identity has 2 types of accounts (gmail and 3rd party based (such as AWS Workmail).  There are 3 types of DNS Zone configurations (none, Google Domains, 3rd Party (such as AWS Route53).  Therefore there are 9 types of onboarding categories (3 x 3).

see https://console.cloud.google.com/cloud-setup/organization?organizationId=0&orgonly=true&supportedpurview=organizationId,folder,project

Workspaces accounts can also have cloud identity accounts

Onboarding Category 1: Workspace Email -  GCP Domain

This category is the common workspace and GCP organization domain hosted on Google Domains use case.

Onboarding Category 2: 3rd party Email -  GCP Domain

This category is where the client uses their own email system but has the organization domain with GCP

Onboarding Category 3: Gmail Email -  GCP Domain

This cloud identity category is where the client uses a new gmail email with optional redirect records on a GCP hosted domain for their organization. Here the gmail address is a formality - you could use your own 3rd party email

We will be using a domain from another google account that owns the domain we will use in our new account for the org (at this point we are using Google Domains as the DNS zone)

Screen Shot 2022-05-12 at 4 48 00 PM

Start with an incognito chrome window and goto https://accounts.google.com/SignUpWithoutGmail

Screen Shot 2022-05-12 at 4 48 26 PM

create your new cloud identity account

Screen Shot 2022-05-12 at 4 50 01 PM

select new gmail

Screen Shot 2022-05-12 at 4 50 15 PM

fill in the account details

Screen Shot 2022-05-12 at 4 51 01 PM

verify MFA

Screen Shot 2022-05-12 at 4 52 26 PM

gmail account created

Screen Shot 2022-05-12 at 4 58 53 PM

Check account

Screen Shot 2022-05-12 at 4 59 19 PM

Start a new chrome profile for the initial gmail account

Screen Shot 2022-05-12 at 5 23 43 PM

Sign in

Screen Shot 2022-05-12 at 5 24 05 PM

Select account

Screen Shot 2022-05-12 at 5 24 30 PM

Choose gmail account

Screen Shot 2022-05-12 at 5 25 01 PM

Goto console.cloud.google.com

Screen Shot 2022-05-12 at 5 25 35 PM

we won't be using this account but lets verify we don't have an organization yet

Screen Shot 2022-05-12 at 5 25 58 PM

Goto IAM

Screen Shot 2022-05-12 at 5 26 27 PM

Check Identity & Organization

Screen Shot 2022-05-12 at 5 26 36 PM

Verify no organization rights yet

Screen Shot 2022-05-12 at 5 26 55 PM

Scroll down to add a new cloud identity account

Screen Shot 2022-05-12 at 5 27 32 PM

Select I am a new customer

Screen Shot 2022-05-12 at 5 33 24 PM

Start the cloud identity wizard

Screen Shot 2022-05-12 at 5 35 25 PM

fill in your org

Screen Shot 2022-05-12 at 5 36 15 PM

use the gmail account as base - or your own email

Screen Shot 2022-05-12 at 5 36 47 PM

Here - the domain name is important - usually you will not verify/use the base domain - create a subdomain like gcp.* - here business name = domain

Screen Shot 2022-05-12 at 5 37 30 PM

See the same subdomain (from the business name) - notice the warning on email redirection - we will setup this in the domain owner account

Screen Shot 2022-05-12 at 5 37 47 PM

Switch windows to the account owning the domain - select email on the left - see no email forwarding record yet

Screen Shot 2022-05-12 at 5 38 11 PM

Fill in the email forwarding to your gmail email - use the super admin account you will create later in cloud identity

Screen Shot 2022-05-12 at 5 39 03 PM

View the change - we will test propagation - usually less than 1 min - click send test email

Screen Shot 2022-05-12 at 5 39 28 PM

This will open gmail - click the verify - don't worry as even though this gmail account is not the account owning the domain - the test email will get sent

Screen Shot 2022-05-12 at 5 39 57 PM

You can ignore the domains check - not the right chrome account

Screen Shot 2022-05-12 at 5 40 18 PM

send your own test email to verify the redirect -from the new super admin account to your email

Screen Shot 2022-05-12 at 5 41 26 PM

Check the email was forwarded to gmail

Screen Shot 2022-05-12 at 5 41 54 PM

Go back to the cloud identity wizard and click next to get to the new super admin account setup

Screen Shot 2022-05-12 at 5 42 23 PM

Screen Shot 2022-05-12 at 5 42 41 PM

accept the new account

Screen Shot 2022-05-12 at 5 42 49 PM

verify account

Screen Shot 2022-05-12 at 5 43 21 PM

Click the setup button

Screen Shot 2022-05-12 at 5 43 37 PM

Sign in to your cloud identity super admin account

Screen Shot 2022-05-12 at 5 43 50 PM

Accept MFA

Screen Shot 2022-05-12 at 5 44 13 PM

Screen Shot 2022-05-12 at 5 45 11 PM

Cloud identity account created

Screen Shot 2022-05-12 at 5 45 18 PM

Screen Shot 2022-05-12 at 5 45 31 PM

Here we setup the organization and domain verify - click verify

Screen Shot 2022-05-12 at 5 45 48 PM

Check "switch verification method" - there are 2 - we will use a TXT record - you can email/copy this code manually

Screen Shot 2022-05-12 at 5 46 12 PM

select TXT

Screen Shot 2022-05-12 at 5 46 37 PM

Screen Shot 2022-05-12 at 5 47 00 PM

Copy the TXT verification text

Screen Shot 2022-05-12 at 5 47 35 PM

in the account owning the domain (after switching windows or sending to IT) - go back to your DNS zone records (Google Domains or AWS Route53)

Screen Shot 2022-05-12 at 5 48 33 PM

Add custom record - here we add the "gcp" subdomain in the host name and the TXT record in the data - selet type TXT

Screen Shot 2022-05-12 at 5 49 20 PM

Add record page - scrol down

Screen Shot 2022-05-12 at 5 49 42 PM

select "verify domain" - wait for DNS propagation < 1 min

Screen Shot 2022-05-12 at 5 50 10 PM

Notice domain record being checked - we will check ourselves with dig

Screen Shot 2022-05-12 at 5 50 17 PM

run a dig on the subdomain

Screen Shot 2022-05-12 at 5 50 54 PM

Cloud identity screen will change to "verified"

Screen Shot 2022-05-12 at 5 51 24 PM

log into your new cloud identity super admin account using console.cloud.google.com

Screen Shot 2022-05-12 at 5 52 02 PM

Organization will auto create - first time entering IAM

Screen Shot 2022-05-12 at 5 52 11 PM

Try selecting a project - better to create a new chrome profile to see the org

Screen Shot 2022-05-12 at 5 52 28 PM

Create new chrome profile for the user (to get away from the gmail bootstrap account)

Screen Shot 2022-05-12 at 5 54 41 PM

Sign in

Screen Shot 2022-05-12 at 5 55 00 PM

Screen Shot 2022-05-12 at 5 55 20 PM

Select profile

Screen Shot 2022-05-12 at 5 55 31 PM

Goto admin.google.com to verify SA user and subdomain

Screen Shot 2022-05-12 at 5 55 56 PM

Login to console.cloud.google.com - goto IAM - select a project - notice the organization dropdown

Screen Shot 2022-05-12 at 5 56 28 PM

Select the new organization

Screen Shot 2022-05-12 at 5 56 35 PM

View IAM super admin has the organization administrator role

Screen Shot 2022-05-12 at 5 56 51 PM

Onboarding Category 5: 3rd party Email - 3rd party Domain

This category is common for organizations new to GCP or multicloud where both the email system and DNS hosting zone are 3rd party

Category 5a: First 3rd party Email - 3rd party Domain requires TXT verification

Category 5b: First 3rd party Email - 3rd party Domain requires indirect verification

Usually copy/paste or email

Category 5c: second 3rd party Email - 3rd party Domain already verified

  • using the original super admin/owner create another cloud identity account with an email on the organization domain - with optional email forward to their work email. Give rights such as "Owner" or "Folder Admin" to this 2nd+ user, when they login to console.cloud.google.com they will already have proper access to the organization (no domain validation required)

goto the admin page at admin.google.com

Screen Shot 2022-05-12 at 4 25 08 PM

Add the new user - using an existing super admin user

Screen Shot 2022-05-12 at 4 25 30 PM

send login instructions - with temp password

Screen Shot 2022-05-12 at 4 26 49 PM

Start witn an incognito chrome window

Screen Shot 2022-05-12 at 4 20 49 PM

launch accounts.google.com

Screen Shot 2022-05-12 at 4 28 21 PM

Login to new user

Screen Shot 2022-05-12 at 4 28 49 PM

new account splash

Screen Shot 2022-05-12 at 4 29 11 PM

auto change password

Screen Shot 2022-05-12 at 4 29 30 PM

view new account

Screen Shot 2022-05-12 at 4 29 46 PM

select profile picture on top right - add (to get a new chrome profile for the user)

Screen Shot 2022-05-12 at 4 30 07 PM

login again

Screen Shot 2022-05-12 at 4 30 25 PM

accept profile

Screen Shot 2022-05-12 at 4 31 03 PM

Navigate to the cloud at console.cloud.google.com

Screen Shot 2022-05-12 at 4 31 46 PM

Accept the license

Screen Shot 2022-05-12 at 4 32 01 PM

View that you are already on the existing organization (no DNS verify required)

Screen Shot 2022-05-12 at 4 32 25 PM

Attempt to create a project - switch to the org

Screen Shot 2022-05-12 at 4 33 01 PM

select the organization - normal without a higher role we will set with the super admin user

Screen Shot 2022-05-12 at 4 33 08 PM

verify you don't have rights yet to the organization

Screen Shot 2022-05-12 at 4 33 21 PM

check the onboarding checklist to verify

Screen Shot 2022-05-12 at 4 33 37 PM

Yes, you don't have the rights yet

Screen Shot 2022-05-12 at 4 33 49 PM

Switch tabs to the other super admin user - goto IAM to verify roles

Screen Shot 2022-05-12 at 4 35 05 PM

Add the new user to the role of "Owner" for now - normally use "Folder creator" and "Organization Administrator" for example

Screen Shot 2022-05-12 at 4 36 23 PM

Verify the user 2 role change

Screen Shot 2022-05-12 at 4 36 45 PM

back at user 2 navigate to IAM | cloud identity | verify your new rights

Screen Shot 2022-05-12 at 4 36 57 PM

Notice you now have rights to the organization - good to go

Screen Shot 2022-05-12 at 4 37 14 PM

Onboarding Category 6: Gmail Email - 3rd party Domain

This category is a variant of category 3 where there is a gmail account with option redirect where the organization zone records are on a 3rd party DNS system

Onboarding Category 8: 3rd party Email - no Domain

This category is common for individual consumers where they do not have a gmail account or any domain.  This option will not have an organization top node in IAM

Onboarding Category 9: Gmail  Email - no Domain

This category is common for individual consumers where they gmail account but no domain.  This option will not have an organization top node in IAM

Onboarding to Google Cloud using a cloud identity account

Google Cloud Identity

Google Cloud Identity accounts are ideal for cloud account organizations where the user identities are maintained outside of Google cloud in for example AWS Workmail or Azure Active Directory.

Planning

Create or gain access to the domain you wish to associate or federate users from.  For example packet.global.

You will need access to the domain zone to add TXT records for domain validation under a subdomain like gcp.packet.global

Open Chrome Window with no Google Account

Onboarding to Google Cloud using a cloud identity account and a 3rd party managed domain - AWS Route53

Onboarding to Google Cloud using a cloud identity account and a Google managed domain

.. continuing from "open chrome window" above

Launch SignUpWithoutGmail - select gmail

https://accounts.google.com/SignUpWithoutGmail

Select gmail, register and launch a new browser - add new account - login

Create your Google Account (gmail)

Screen Shot 2022-05-08 at 22 10 59

launch google cloud

https://console.cloud.google.com/

do not select an org yet - as the domain under GCP registration does not have an email yet and is not registered with workspace.

You will not be able to run the organization checklist account as a gmail user - https://console.cloud.google.com/cloud-setup/organization

Add Cloud Identity free in

https://cloud.google.com/identity/docs/set-up-cloud-identity-admin

follow

https://workspace.google.com/signup/gcpidentity/welcome#0

add your gmail address and GCP domain

Add email capability https://support.google.com/cloudidentity/answer/7667994

Select the email left tab on https://domains.google.com/registrar/eventstream.dev/email?hl=en-US

Select email forwarding to to your gmail account

Launch gmail to verify email - don't worry it will launch domains in your current gmail account - verify that the verify worked in your other account that holds the domain registration

image

Check email forwarding on the DNS tab

image

wait for DNS record propagation 30 sec and recheck the cloud identity wizard warning on no email MX records

image

continue wizard regardless of warning - use your new email forward address

https://workspace.google.com/signup/gcpidentity/tos

goto setup after creation

image

Launch admin

Since I have used this phone a couple times - get past the unusual activity dialog

Identity account OK

select getting started

https://admin.google.com/u/1/ac/signup/setup/v2/gettingstarted

Verify domain - sign in option will not work on this browser - as I have it registered on another account - in this case select "Switch Verification Method" and select the 2nd TXT option.

add the TXT record

Click Verify back on the admin page

The org in this case will automatically create when you click the link below (no subdomain as the TXT record is the first on the domain.  If there is already a root domain TXT record - you will need to use a subdomain like gcp.domain.com

org is setup as the TXT record is against the root domain on the separate GCP account

Onboarding to Google Cloud using a workspace account

Onboarding to Google Cloud using a workspace account and a Google managed domain

Onboarding to Google Cloud using a gmail account

https://accounts.google.com/SignUpWithoutGmail

Fill in the form with an existing email address outside of Google

Launch from step 2 of the IAM | Cloud Identity & Organization | checklist https://console.cloud.google.com/cloud-setup/organization

to https://workspace.google.com/signup/gcpidentity/welcome

Onboarding to Google Cloud using a 3rd party email account