Problem
Environment
- AI Platform training job with access other Google Cloud Platform resources (Example: training data source)
Solution
Follow the documentation on the Google Cloud Platform resource that is being accessed and give the adequate permission to the training project's.
- Compute Engine default Service Account and the
- Cloud ML Service Agent Service Account (if present).
Their default form is, respectively:
-
<project_number>-compute@developer.gserviceaccount.com
-
service-<project_number>@cloud-ml.google.com.iam.gserviceaccount.com
The second SA may not be present in all projects and both could have a different ID format (Example: if the customer has replaced them). If they are different, they can be found in the IAM Service Accounts panel by looking, respectively, for accounts that have this role:
- Compute Engine default service account
- Cloud ML Service Agent