First TPU Setup on Google Cloud

This guide walks you through setting up and accessing your first TPU instance on Google Cloud Platform (GCP).

Prerequisites

Before you begin, ensure you have:

Step 1: Enable TPU Access

  1. Navigate to the TPU dashboard at: https://console.cloud.google.com/compute/tpus

  2. If prompted, enable the TPU API for your project

TPU Dashboard

Step 2: Create your TPU Instance

Click the “Create” button to setup your TPU instance.

TPU Setup

Region Selection

  1. Review available regions and zones for TPUs: https://cloud.google.com/tpu/docs/regions-zones
  2. For this example, we will use us-west-4a zone

TPU Configuration

  1. Select TPU type:
  2. Choose a runtime:

Step 3: Access Your TPU

After creation, your TPU instance should be accessible by ssh

  1. Access your TPU:

    TPU SSH

  2. For permanent SSH access:

Next Steps

Now that you have a working TPU environment, you can start using it for AI workloads. We offer two main paths depending on your use case:

AI Inference and Training Tutorials

  1. Model Serving on TPU

  2. Model Training on TPU

Choose the tutorial that best matches your immediate needs: