Tools at a Glance
| Tool | Use |
|---|---|
| Google Cloud CLI | gcloud, bq, gcloud storage for commands and scripts |
| Client libraries | Python, Java, Node.js, Go, C#, PHP, Ruby: call services from code |
| Cloud Shell and Cloud Shell Editor | Browser terminal and VS Code style editor with tools ready |
| Cloud Code | IDE plugins for VS Code and JetBrains: run and debug on Cloud Run and Kubernetes |
| Emulators | Local Firestore, Pub/Sub, Spanner, Bigtable, Datastore for tests |
| Terraform | Infrastructure as code |
| Gemini Code Assist | AI coding help in the IDE |
Application Default Credentials (ADC)
Client libraries find credentials automatically in this order: an environment variable pointing to a credential file, then **user credentials from gcloud auth application-default login (for local development), then the attached service account** when running on Google Cloud.
Local Emulators
- Test without cost and without touching real data
- Use separate projects for dev, test and prod
Connecting Events and Tasks
| Service | Use |
|---|---|
| Eventarc | Route events (Cloud Storage changes, audit log events, Pub/Sub, custom) to Cloud Run, functions or GKE |
| Cloud Scheduler | Cron jobs that call HTTP endpoints, Pub/Sub or Workflows |
| Cloud Tasks | Queue of tasks with rate control and retries for your own services |
| Workflows | Orchestrate calls between services and APIs with branching and retries (serverless) |
| Pub/Sub | Event bus and fan-out |
Testing Practices
- Unit tests with mocks and integration tests with emulators
- Contract tests for APIs
- Load tests (for example with Locust or k6) before launches
- Smoke tests after each deploy
- Keep test data separate and clean up after tests
Practice
- Run
gcloud auth application-default loginand list buckets from Python - Start the Pub/Sub emulator and publish a message
- Write a Workflow that calls two Cloud Run services
- Schedule it with Cloud Scheduler
Conclusion
Use the gcloud CLI, client libraries with Application Default Credentials, Cloud Code and emulators for fast development, and Eventarc, Scheduler, Tasks and Workflows to connect events and jobs. Avoid key files and test in separate projects.

