Cloud SDK

Tools and libraries for interacting with Google Cloud products and services
Tools and libraries for interacting with Google Cloud products and services

The Cloud SDK is a set of command-line tools for developing with Google Cloud. You can use these tools to access Compute Engine, Cloud Storage, BigQuery, and other Google Cloud services directly from the command line.

  • Orchestrate virtual machine instances directly from your command line
  • Manage Compute Engine networks, firewalls, and disk storage with the gcloud command-line tool
  • Adapt Cloud SDK to your language preferences with Client Libraries for Java, Python, NodeJS, Ruby, Go, .NET, and PHP
  • Run local service emulators for Pub/Sub, Cloud Bigtable, and Datastore and simulate these services for local development

Key features

Gcloud command-line tool

The gcloud CLI manages authentication, local configuration, developer workflow, and interactions with Google Cloud APIs. With the gcloud command-line tool, it’s easy to perform many common cloud tasks, like creating a Compute Engine VM instance, managing a Google Kubernetes Engine cluster, and deploying an App Engine application, either from the command line or in scripts and other automations.

Client Libraries

Cloud SDK comes with installable language-specific Cloud Client Libraries and Google API Client Libraries. These libraries use each supported language’s natural conventions and styles, handling authentication, reducing the amount of necessary boilerplate code, and optimizing the developer workflow.

Product-specific command-line tools

A collection of command-line tools comes packaged with the Cloud SDK, including gsutil, bq, and kubectl. Gsutil allows you to manage Cloud Storage buckets and objects using the command line. Bq enables you to run queries and manipulate datasets, tables, and entities in BigQuery through the command line. Kubectl lets you deploy and manage Kubernetes container clusters using the command line.

What’s new

Documentation

Tutorial
Install Cloud SDK

Download and initialize the latest version of Cloud SDK.

Tutorial
Install additional components

Download additional components like command-line tools (bq, gsutil, kubectl), alpha or beta gcloud commands, or necessary dependencies.

Google cloud basics
Getting started with Client Libraries

Access Cloud APIs using language-specific Client Libraries.

Google cloud basics
Overview of the gcloud command-line tool

A comprehensive, high-level look at the gcloud command-line tool, including its release levels, command structure, important concepts like properties, configurations, and global flags, scripting support, and output refinement capabilities.

Tutorial
Scripting gcloud commands

Run gcloud commands from a script by utilizing features like prompt disabling and output filtering and formatting.

Common use cases

Automate Google Cloud tasks

Cloud SDK lets you create scripts using the packaged gcloud, bq, and gsutil command-line tools to automate any number of Google Cloud tasks, like deploying code to App Engine, analyzing log data, and updating a Compute Engine network.

Script gcloud CLI commands

When you script with Cloud SDK, you can run gcloud command-line tool commands using scripts or other automations—for example, when using Jenkins to drive automation of Google Cloud tasks. Additionally, the gcloud command-line tool comes with the ability to filter and format command output to easily structure and extract information as well as combine multiple commands to manage your Google Cloud resources non-interactively.

All features

Gcloud command-line tool The gcloud command-line tool manages authentication, local configuration, developer workflow, and interactions with Google Cloud APIs through the command line.
Client Libraries Cloud SDK comes with installable language-specific Cloud Client Libraries. These libraries use each supported language's natural conventions and styles, handle authentication, reduce the amount of necessary boilerplate code, and optimize the developer workflow.
Gsutil Gsutil provides access to Cloud Storage, including a wide range of bucket and object management tasks, directly from the command line.
Bq Bq enables running queries and manipulating datasets, tables, and entities in BigQuery through the command line.
Kubectl Kubectl provides commands for greater control over Kubernetes clusters. Kubectl allows deploying applications, inspecting and managing cluster resources, and viewing logs, among a wide set of operations.
Emulators Cloud SDK comes with emulators for products like Bigtable, Datastore, Filestore, and Pub/Sub, for local development, testing, and validation.

Pricing

Cloud SDK is free for users with a Google Cloud account.

Αποστολή σχολίων σχετικά με…

Αυτή η σελίδα
Cloud SDK: Command Line Interface