When Google Cloud misbehaves, the cause is usually one of a handful of familiar issues. Here is how to spot and fix them fast.
The usual suspects
- Service-account key files instead of Workload Identity Federation
- Primitive roles (Owner/Editor) instead of predefined/custom roles
- Public buckets from legacy ACLs
Commands for diagnosis
gcloud projects list
gcloud container clusters get-credentials prod --region europe-west1
gcloud run deploy web --image gcr.io/acme/web --region europe-west1Prevent the repeat
- Use Workload Identity Federation - no exported SA keys
- Grant least-privilege predefined roles per service account
- Enforce uniform bucket-level access and org policies
Want senior help putting Google Cloud to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.