ctpu upcommand used in the original Cloud TPU quickstart doesn't allow you to create a TPU in a subnet shared from a host project. This tutorial discusses some common production network considerations and uses the
gcloud beta compute tpus createcommand to prepare the TPU. For more information, see Connecting TPUs with Shared VPC Networks.
gs://tfds-data/storage bucket from within a service perimeter.
gs://tfds-data/public Cloud Storage bucket. If the test network is within a service perimeter, your organization's administrator should implement rules that allow access to this public bucket.
gcloudcommand-line tool to use the project where you want to create Cloud TPUs:
[YOUR_BUCKET_NAME]with the name you want to assign to your bucket.
gcloudwith your project ID:
prefix-lengthmust be 24 or less.
use-service-networkingflag enables the creation of TPUs that can connect to Shared VPC networks.
Storage Object Userrole on the
gs://[BUCKET_NAME]training bucket you previously created.
[BUCKET_NAME]with your Cloud Storage bucket.