Command-line tools for managing, automating, and developing with Google Cloud.
What is the Cloud SDK?
The Google Cloud SDK is the official package of command-line tools for working with Google Cloud. It contains gcloud for managing cloud resources, gsutil for Cloud Storage operations, and bq for BigQuery queries, complemented by client libraries and IDE extensions. With these tools, developers and administrators can manage Google Cloud services directly from the terminal.
gcloud supports virtually all Google Cloud products and enables creating, configuring, and managing resources through structured commands. From creating a Compute Engine VM to configuring IAM policies, much of this is possible through gcloud. For Cloud Storage operations, Google now recommends the “gcloud storage” subcommands instead of the older, only minimally maintained gsutil tool; gsutil remains available for compatibility.
The SDK is available for Linux, macOS, and Windows and is also provided as a Docker image. Cloud Shell provides a preconfigured environment with the latest SDK directly in the browser. For CI/CD pipelines, Google provides official container images with the SDK.
Core Features
- gcloud CLI: Management of Google Cloud resources through structured commands
- gcloud storage: Current, recommended commands for Cloud Storage operations (upload, download, sync)
- gsutil: Older Cloud Storage tool, still usable but no longer actively developed
- bq: BigQuery queries and table management directly from the terminal
- Authentication: Support for user accounts, service accounts, and Workload Identity
Typical Use Cases
Infrastructure-as-Code and Automation
DevOps teams use gcloud in shell scripts and CI/CD pipelines to provision infrastructure, perform deployments, and manage cloud resources. Combining with Terraform and Cloud Build enables automated deployment workflows.
Local Development with Cloud Services
Developers use the SDK for authentication against cloud services, testing API calls, and local interaction with Cloud Storage, BigQuery, and other services during development.
Benefits
- Free and mostly open source
- Consistent command structure across Google Cloud services
- Native integration with CI/CD systems and Docker
- Available for all major operating systems
Integration with innFactory
As a certified Google Cloud partner, innFactory supports you with the Cloud SDK: CI/CD pipeline setup, automation scripting, migration from gsutil to gcloud storage commands, developer onboarding, and best practices for cloud operations.
Typical Use Cases
Frequently Asked Questions
What is the Cloud SDK?
The Cloud SDK is a package of command-line tools for Google Cloud. It includes gcloud (resource management), gsutil (Cloud Storage), and bq (BigQuery), along with client libraries. These tools enable managing, automating, and developing with Google Cloud directly from the terminal.
Is gsutil still current?
No. gsutil is only minimally maintained and no longer fully supports newer Cloud Storage features. Google now recommends the "gcloud storage" commands for all Cloud Storage operations; gsutil remains available for compatibility reasons.
How does gcloud differ from the Cloud Console?
The Cloud Console is a graphical web interface, while gcloud is a command-line tool. gcloud is better suited for automation, scripting, and CI/CD pipelines. The Console is more intuitive for exploration and manual configuration.
Can I use gcloud in CI/CD pipelines?
Yes, gcloud is the standard tool for Google Cloud automation in CI/CD pipelines. It supports service account authentication, non-interactive commands, and can run in Docker containers.
Note: All product information on this page has been compiled with care, but is provided without guarantee and may be outdated or incomplete. Cloud services evolve rapidly — features, pricing, SLAs, and availability change frequently. Authoritative and up-to-date information can only be found on the official product page of Google Cloud (official documentation). This page does not represent an offer by Google Cloud.
