GCP Operations #
Running staging and production on GCP. Start with the environment reference — it holds every project ID, cluster name, context and endpoint, and links to the rest.
| I want to… | Go to |
|---|---|
| Set up my laptop | gcloud CLI setup |
| Find a pod, read a rollout | GKE diagnostics |
| Read logs | Grafana, debug backend logs |
| Change an env var | update env vars |
| Change a secret | update secrets |
| Change infrastructure | Terraform |
| Query the database | psql to Cloud SQL |
| Profile the backend | pprof dumps |
| Recover lost data | backup and restore |