Google Cloud Setup
Before you start the tutorial, you need to set up your Google Cloud environment.
Google Cloud Setup
- Acquire a Google Cloud Project: A Google Cloud project with billing enabled is a
prerequisite. If you're at an in-person event, your instructor provides you with unique, time-limited link to
trygcp.dev to get a Google Cloud account without requiring a credit card.
When using trygcp.dev, after going through the flow to claim your credits, you'll need to go to the Google Cloud Console, create a new project, select it, and then link the billing account that trygcp.dev created for you. - Choose your Environment:
- Option A (no setup): If you prefer, you can work from the Google Cloud Shell which comes pre-authenticated and with most tools you'll need pre-installed. Find the terminal icon in the top right of the menu bar of the Cloud Console.
-
Option B (local setup): Use your local machine. If you choose this option, you'll need to
install and configure some tools.
- Install the Google Cloud CLI: Follow the installation instructions for your operating system.
-
Log in to gcloud: This command opens a browser window for you to authorize access.
gcloud auth login
-
Set up Application Default Credentials (ADC): This allows your local application to
authenticate with Google Cloud services.
gcloud auth application-default login
-
Set your default project: Replace
PROJECT_ID
with your Google Cloud project ID.gcloud config set project PROJECT_ID
Once your environment is set up, you can proceed to the next step: Manual Game Exploration.