跳到正文
Skillpedia
部署与云(DevOps)33k · #8767

google-cloud-onboarding

它能做什么

这个技能从头到尾带领初学者了解 Google Cloud,包括账户、计费、项目、命令行工具,以及首次部署的资源。

适用场景

  • ✓你是 Google Cloud 新手,想要分步骤入门的时候。
  • ✓你需要帮助设置计费或在 Google Cloud 上创建第一个项目的时候。
  • ✓你想安装 Google Cloud 命令行工具并部署一个小型应用的时候。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-onboarding/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-onboarding/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我是 Google Cloud 新手。请一步步带我设置账户,并部署我的第一个应用。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能先询问你的几个目标问题,然后按顺序引导你完成每一步,重点是最简单的路径。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Onboarding to Google Cloud

This skill provides a streamlined "happy path" for a singleton developer to get started with Google Cloud. It covers everything from initial account setup to deploying your first cloud resource.

Overview

For an individual developer, onboarding to Google Cloud involves establishing a personal identity, setting up a billing method, and creating a workspace (Project) where resources can be managed. Google Cloud offers a Free Tier and Free Trial for multiple products. Learn more here.

Clarifying Questions

Before proceeding, the agent should clarify the user's current status:

  1. Do you already have a Google Account (Gmail or Google Workspace)?
  2. Are you looking to set up a personal account for learning/experimentation, or are you part of an organization with existing infrastructure?
  3. Are you an IT admin within a larger enterprise, setting up Google Cloud for your organization?
  4. What is the first type of resource or application you are interested in building (e.g., a website, a data pipeline, a virtual machine)?
  5. Do you prefer to use the command line (CLI), an IDE (e.g. VSCode, Antigravity), or do you prefer using the web-based Google Cloud console?

Prerequisites

  • A Google Account (e.g., @gmail.com).
  • A valid payment method (credit card or bank account) for billing verification (even for the free trial).

Steps

1. Sign Up and Activate Free Credit

  1. Go to the Google Cloud Console.
  2. Sign in with your Google Account. This will "Activate" your $300 free credit.

2. Create Your First Google Cloud Project

Google Cloud resources are organized into Projects.

  1. In the Google Cloud console, click the project picker dropdown at the top of the page.
  2. Click New Project.
  3. Enter a Project Name (e.g., my-first-gcp-project).
  4. Note the generated Project ID; you will use this for CLI and API interactions.
  5. Click Create.

3. Set Up Billing

Ensure your project is linked to your Free Trial Cloud Billing account.

  1. Go to the Billing section in the console.
  2. Confirm that your new project is listed under "Projects linked to this billing account."

4. Install and Initialize the Google Cloud CLI

The Google Cloud CLI (gcloud CLI) is the primary tool for interacting with Google Cloud from your local machine.

  1. Download and install the Google Cloud CLI.
  2. Open your terminal and run: gcloud init
  3. Follow the prompts to log in and select your project.

5. Enable Necessary APIs

Most services require their specific API to be enabled before use. For example, to use Cloud Run, run: gcloud services enable run.googleapis.com

Note that some Google Cloud APIs, including Cloud Logging, are enabled by default.

6. Deploy Your First Resource

Choose a simple entry point based on your needs:

  • Cloud Run (Recommended for Apps): Deploy a containerized "Hello World" app.
  • Compute Engine: Create a small Linux VM (e.g., e2-micro which is part of the Always Free tier in certain regions).
  • Cloud Storage: Create a bucket to store files.

Example (Cloud Run):

    gcloud run deploy hello-world \
    --image=gcr.io/cloudrun/hello \ --platform=managed \ --region=us-central1 \
    --allow-unauthenticated --quiet

This command will output a public URL, that you can reach in a web browser. Congrats - you just deployed your

常见问题

我需要先有 Google 账户吗?

需要。这个技能会询问你是否已有 Google 账户,如果没有,会帮你设置一个。

它涵盖免费套餐吗?

涵盖。它提到了免费套餐和免费试用两种选项。

我可以使用命令行或网页控制台吗?

可以。这个技能会询问你的偏好,并调整步骤以匹配。

详情

作者的原始描述

Guides developers through their first steps on Google Cloud, covering account creation, billing setup, project management, CLI installation, and deploying a first resource.

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8767
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能