Skip to content

GCP Setup Guide

Zhaosong Zhu edited this page Jan 26, 2021 · 2 revisions

Registering for GCP and creating your GCP project

  1. Go to the GCP Console and log in using your gmail account (NOT YOUR UTEXAS ACCOUNT). If you do not have a gmail account, please create one before proceeding further.
  2. Once logged in, you will see the following: Click on Try for Free. (GCP gives you $300 initially as a free trial, which is for your personal use. For the purposes of this class, Google coupon codes will be provided to cover the resources you use on GCP during the semester.)

  1. Please enter all the information in the form. (Note: Though credit/debit/bank account information is being asked for, you will not be charged when the free trial ends. This information is just being used for verification purposes.)
  2. Once you have redeemed the free credit, a GCP project will be created named My First Project. The name of this project needs to be changed to your chosen team name (team name = repo name = GCP project).
  3. To rename the GCP project, change the context of your console to My First Project. This can be done by clicking on the dropdown menu on the top navigation bar right next to the Google Cloud Platform heading.

  1. Once the context has been changed, click on the three dots on the top right on the navigation bar and click on Project Settings in the dropdown.

  1. Under Settings, you will be able to change the Project name. Change the Project Name to your team name. Once you have changed the Project Name, click Save.
  2. Next, retrieve your GCP coupon from here.
  3. After requesting your coupon, you will receive an email asking you to verify your information and after verification, you will receive your coupon code by email.
  4. Once you receive your coupon code, log out of your utexas account and log in to your gmail account before activating your coupon. Click here to activate your coupon.

BEFORE MOVING AHEAD, CHECK THAT YOU ARE LOGGED IN TO YOUR GMAIL ACCOUNT AND NOT THE UTEXAS.EDU ACCOUNT WHEN ACTIVATING THE COUPON CODE.

THE UTEXAS.EDU ACCOUNT IS TO BE USED ONLY FOR RETRIEVING THE COUPON CODE, BUT THE ACTIVATION OF THE COUPON MUST BE DONE ON THE GMAIL ACCOUNT. IF THERE ARE ANY QUESTIONS REGARDING THIS, PLEASE POST A QUESTION ON PIAZZA OR HAVE A CONVERSATION WITH THE INSTRUCTORS.

Copy and paste your coupon code into the form and click Accept and Continue. This will activate the coupon and a billing account named Billing Account for Education will be created.

  1. Link your GCP Project to the Billing Account for Education billing account: Click on Billing in the main menu. Click on My projects. Click on the three dots next to your newly created project. Click on Change billing account from the menu. In the dialog box, select Billing Account for Education from the dropdown and click on SET ACCOUNT.

  2. Next, click on the navigation menu on the top-left corner, select IAM & admin, and navigate to the IAM menu.

  3. Click on Add to add the instructor account as a co-owner of your GCP Project. This will give the instructors access to your GCP Project for grading and debugging purposes.

  4. Enter [email protected] in the New Members input box. Under Role, select Project and assign the Owner role to this email account.

  5. Repeat steps 13 and 14 with your partner's gmail account to grant your partner access to your GCP project.

Clone this wiki locally