Cloud Shell 是 Google Cloud的一个互动式 shell 环境,可让您通过网络浏览器学习和试用 Google Cloud ,以及管理项目和资源。
使用 Cloud Shell,Google Cloud CLI 和您需要的其他实用程序均已预先安装,经过全面身份验证,是最新的,并可随时使用。Cloud Shell 带有内置的代码编辑器,具有集成式 Cloud Code 体验,可让您完全在云端开发、构建、调试和部署基于云的应用。您还可以在 Cloud Shell 虚拟机实例上启动交互式教程、打开克隆的代码库以及预览 Web 应用。了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
Google Cloud 基础知识:核心基础架构
这些讲座、演示和实操实验概述了 Google Cloud 产品和服务,以便您了解 Google Cloud 的价值,以及如何将云端解决方案整合到您的业务策略中。
培训
培训和教程
Codelab:使用 Cloud Shell 构建并启动 ASP.NET Core 应用
引导您逐步完成使用 Cloud Shell 构建并启动 ASP.NET Core 应用的过程,而无需离开浏览器。
培训
培训和教程
在 Cloud 控制台中创建互动式教程
通过逐步完成实际的互动式教程来了解互动式教程。
培训
培训和教程
Codelab:Cloud Shell 和 gcloud CLI 使用入门
引导您逐步使用 Cloud Shell 命令行连接到 Google Cloud 上托管的计算资源的过程。您将了解如何使用 Cloud SDK gcloud 命令。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-18。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[],[],null,["# Cloud Shell documentation\n=========================\n\n[Read product documentation](/shell/docs/how-cloud-shell-works)\nCloud Shell is an interactive shell environment for Google Cloud\nthat lets you learn and experiment with Google Cloud and manage your projects and\nresources from your web browser.\n\n\nWith Cloud Shell, the [Google Cloud CLI](/sdk/gcloud) and other\nutilities you need are pre-installed, fully authenticated, up-to-date, and always available when\nyou need them. Cloud Shell comes with a built-in code editor with an integrated\nCloud Code experience, allowing you to develop, build, debug, and deploy your\ncloud-based apps entirely in the cloud. You can also launch interactive tutorials, open cloned\nrepositories, and preview web apps on a Cloud Shell virtual machine instance.\n[Learn more](/shell/docs/how-cloud-shell-works)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Quickstart: Run gcloud commands with Cloud Shell](/shell/docs/run-gcloud-commands)\n\n-\n\n [Quickstart: Deploy a GKE app by using Cloud Shell](/shell/docs/deploy-gke-app)\n\n-\n\n [Use Cloud Shell](/shell/docs/using-cloud-shell)\n\n-\n\n [Use Web Preview](/shell/docs/using-web-preview)\n\n-\n\n [Launch the Cloud Shell Editor](/shell/docs/launching-cloud-shell-editor)\n\n-\n\n [Cloud Shell Editor interface overview](/shell/docs/editor-overview)\n\n-\n\n [Get started with Cloud Code](/shell/docs/getting-started-with-cloud-code)\n\n-\n\n [Configure Cloud Shell](/shell/docs/configuring-cloud-shell)\n\n-\n\n [Disable or reset Cloud Shell](/shell/docs/resetting-cloud-shell)\n\nfind_in_page\n\n### Reference\n\n-\n\n [Tutorial Markdown Reference](/shell/docs/tutorial-markdown-reference)\n\n-\n\n [REST API](/shell/docs/reference/rest)\n\n-\n\n [RPC API](/shell/docs/reference/rpc)\n\ninfo\n\n### Resources\n\n-\n\n [Pricing](/shell/pricing)\n\n-\n\n [Get support](/shell/docs/getting-support)\n\n-\n\n [Limitations and restrictions](/shell/docs/limitations)\n\n-\n\n [How Cloud Shell works](/shell/docs/how-cloud-shell-works)\n\nRelated resources\n-----------------\n\nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Google Cloud Fundamentals: Core Infrastructure\n\n\nThese lectures, demos, and hands-on labs give you an overview of Google Cloud products and services so that you can learn the value of Google Cloud and how to incorporate cloud-based solutions into your business strategies.\n\n\n[Learn more](/training/course/core-infrastructure) \nTraining \nTraining and tutorials\n\n### Codelab: Build and launch an ASP.NET Core app from Cloud Shell\n\n\nSteps you through how to build and launch an ASP.NET Core app from Cloud Shell without ever leaving the browser.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-aspnetcore-cloudshell/index.html) \nTraining \nTraining and tutorials\n\n### Create interactive tutorials in the Cloud console\n\n\nLearn about interactive tutorials by working through an actual interactive tutorial.\n\n\n[Learn more](https://ssh.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2FGoogleCloudPlatform%2Fcloud-shell-tutorials&page=editor&cloudshell_tutorial=tutorial.md) \nTraining \nTraining and tutorials\n\n### Codelab: Get started with Cloud Shell and the gcloud CLI\n\n\nSteps you through connecting to computing resources hosted on Google Cloud using Cloud Shell command-line access. You'll learn how to use the Cloud SDK gcloud command.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-shell)\n\nRelated videos\n--------------\n\n### Try Google Cloud for yourself\n\nCreate an account to evaluate how our products perform in real-world scenarios. \nNew customers also get $300 in free credits to run, test, and deploy workloads. \n[Get started for free](https://console.cloud.google.com/freetrial)"]]